Browse Source

Working on scripting a packaging process that produces a deployable

master v0.1.0-DEV
Drew Short 11 years ago
parent
commit
1b3c9bf752
  1. 2
      package.sh
  2. 25
      pom.xml
  3. 1
      src/includes/version.txt

2
package.sh

@ -0,0 +1,2 @@
#Build and package the application for distribution

25
pom.xml

@ -4,7 +4,7 @@
<groupId>com.sothr.imagetools</groupId>
<artifactId>Image-Tools</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.1.0-DEV</version>
<packaging>jar</packaging>
<name>Image-Tools</name>
@ -14,6 +14,17 @@
<name>Sothr Software</name>
</organization>
<pluginRepositories>
<pluginRepository>
<id>sonatype-releases</id>
<url>http://oss.sonatype.org/content/repositories/releases</url>
</pluginRepository>
<pluginRepository>
<id>clojars.org</id>
<url>http://clojars.org/repo</url>
</pluginRepository>
</pluginRepositories>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdk.version>1.7</jdk.version>
@ -79,6 +90,18 @@
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>com.code54.mojo</groupId>
<artifactId>buildversion-plugin</artifactId>
<version>1.0.3</version>
<executions>
<execution>
<goals>
<goal>set-properties</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>

1
src/includes/version.txt

@ -0,0 +1 @@
${build-version}
Loading…
Cancel
Save