Try to workaround Jenkins/Maven packaging issue

This commit is contained in:
Mike Primm 2013-01-15 08:17:31 -06:00
parent 9ad5a7e4f7
commit 443d64f7da
3 changed files with 5 additions and 3 deletions

View File

@ -20,6 +20,7 @@
<includes> <includes>
<include>*.yml</include> <include>*.yml</include>
<include>*.txt</include> <include>*.txt</include>
<include>*.js</include>
</includes> </includes>
</resource> </resource>
<resource> <resource>
@ -28,6 +29,7 @@
<excludes> <excludes>
<exclude>*.yml</exclude> <exclude>*.yml</exclude>
<exclude>*.txt</exclude> <exclude>*.txt</exclude>
<exclude>*.js</exclude>
</excludes> </excludes>
</resource> </resource>
</resources> </resources>

View File

@ -11,11 +11,10 @@
<excludes> <excludes>
<exclude>web/version.js</exclude></excludes></fileSet> <exclude>web/version.js</exclude></excludes></fileSet>
<fileSet> <fileSet>
<directory>${project.build.directory}/core/web</directory> <directory>${project.basedir}/src/main/resouces</directory>
<outputDirectory>/dynmap/web</outputDirectory> <outputDirectory>/dynmap/web</outputDirectory>
<includes> <includes>
<include>version.js</include></includes> <include>version.js</include></includes></fileSet>
<filtered>true</filtered></fileSet>
<fileSet> <fileSet>
<directory>${project.basedir}</directory> <directory>${project.basedir}</directory>
<outputDirectory>/dynmap</outputDirectory> <outputDirectory>/dynmap</outputDirectory>

View File

@ -0,0 +1 @@
var dynmapversion = "${project.version}-${BUILD_NUMBER}";