diff --git a/pom.xml b/pom.xml index 55d9f0ee..6cbc6606 100644 --- a/pom.xml +++ b/pom.xml @@ -20,6 +20,7 @@ *.yml *.txt + *.js @@ -28,6 +29,7 @@ *.yml *.txt + *.js diff --git a/src/main/assembly/package.xml b/src/main/assembly/package.xml index c4d35888..f55356cd 100644 --- a/src/main/assembly/package.xml +++ b/src/main/assembly/package.xml @@ -11,11 +11,10 @@ web/version.js - ${project.build.directory}/core/web + ${project.basedir}/src/main/resouces /dynmap/web - version.js - true + version.js ${project.basedir} /dynmap diff --git a/src/main/resources/version.js b/src/main/resources/version.js new file mode 100644 index 00000000..0b0de1f8 --- /dev/null +++ b/src/main/resources/version.js @@ -0,0 +1 @@ +var dynmapversion = "${project.version}-${BUILD_NUMBER}"; \ No newline at end of file