|
@ -5,7 +5,7 @@ |
|
|
<groupId>com.sothr.imagetools</groupId> |
|
|
<groupId>com.sothr.imagetools</groupId> |
|
|
<artifactId>Image-Tools</artifactId> |
|
|
<artifactId>Image-Tools</artifactId> |
|
|
<version>0.1.1-DEV</version> |
|
|
<version>0.1.1-DEV</version> |
|
|
<packaging>jar</packaging> |
|
|
|
|
|
|
|
|
<packaging>pom</packaging> |
|
|
|
|
|
|
|
|
<name>Image-Tools</name> |
|
|
<name>Image-Tools</name> |
|
|
<description>An image collection management utility</description> |
|
|
<description>An image collection management utility</description> |
|
@ -14,449 +14,12 @@ |
|
|
<name>Sothr Software</name> |
|
|
<name>Sothr Software</name> |
|
|
</organization> |
|
|
</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> |
|
|
|
|
|
|
|
|
<modules> |
|
|
|
|
|
<module>parent</module> |
|
|
|
|
|
<module>engine</module> |
|
|
|
|
|
<module>cli</module> |
|
|
|
|
|
<!--<module>daemon</module>--> |
|
|
|
|
|
<module>gui</module> |
|
|
|
|
|
</modules> |
|
|
|
|
|
|
|
|
<properties> |
|
|
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
|
|
|
|
<jdk.version>1.8</jdk.version> |
|
|
|
|
|
<scala.binary.version>2.11</scala.binary.version> |
|
|
|
|
|
<lib.scala-library.version>2.11.2</lib.scala-library.version> |
|
|
|
|
|
<lib.junit.version>4.11</lib.junit.version> |
|
|
|
|
|
<lib.scalatest.version>2.2.1</lib.scalatest.version> |
|
|
|
|
|
<lib.logback.version>1.1.2</lib.logback.version> |
|
|
|
|
|
<lib.slf4j.version>1.7.7</lib.slf4j.version> |
|
|
|
|
|
<lib.grizzled-slf4j.version>1.0.2</lib.grizzled-slf4j.version> |
|
|
|
|
|
<lib.akka.version>2.3.5</lib.akka.version> |
|
|
|
|
|
<lib.jta.version>1.1</lib.jta.version> |
|
|
|
|
|
<lib.ehcache.version>2.8.0</lib.ehcache.version> |
|
|
|
|
|
<lib.commons-cli.version>1.2</lib.commons-cli.version> |
|
|
|
|
|
<lib.commons-codec.version>1.9</lib.commons-codec.version> |
|
|
|
|
|
<lib.jtransforms.version>2.4.0</lib.jtransforms.version> |
|
|
|
|
|
<lib.typesafe-config.version>1.2.0</lib.typesafe-config.version> |
|
|
|
|
|
<lib.thumbnailator.version>[0.4, 0.5)</lib.thumbnailator.version> |
|
|
|
|
|
<lib.h2database.version>1.3.175</lib.h2database.version> |
|
|
|
|
|
<lib.hibernate.version>4.3.0.Final</lib.hibernate.version> |
|
|
|
|
|
<lib.hibernate.ehcache.version>2.6.6</lib.hibernate.ehcache.version> |
|
|
|
|
|
<lib.markdown4j.version>2.2-cj-1.0</lib.markdown4j.version> |
|
|
|
|
|
<lib.scala-arm.version>1.4</lib.scala-arm.version> |
|
|
|
|
|
</properties> |
|
|
|
|
|
|
|
|
|
|
|
<dependencies> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>junit</groupId> |
|
|
|
|
|
<artifactId>junit</artifactId> |
|
|
|
|
|
<version>${lib.junit.version}</version> |
|
|
|
|
|
<scope>test</scope> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.scalatest</groupId> |
|
|
|
|
|
<artifactId>scalatest_${scala.binary.version}</artifactId> |
|
|
|
|
|
<version>${lib.scalatest.version}</version> |
|
|
|
|
|
<scope>test</scope> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>ch.qos.logback</groupId> |
|
|
|
|
|
<artifactId>logback-core</artifactId> |
|
|
|
|
|
<version>${lib.logback.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>ch.qos.logback</groupId> |
|
|
|
|
|
<artifactId>logback-classic</artifactId> |
|
|
|
|
|
<version>${lib.logback.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>ch.qos.logback</groupId> |
|
|
|
|
|
<artifactId>logback-access</artifactId> |
|
|
|
|
|
<version>${lib.logback.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.slf4j</groupId> |
|
|
|
|
|
<artifactId>slf4j-api</artifactId> |
|
|
|
|
|
<version>${lib.slf4j.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.clapper</groupId> |
|
|
|
|
|
<artifactId>grizzled-slf4j_${scala.binary.version}</artifactId> |
|
|
|
|
|
<version>${lib.grizzled-slf4j.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.scala-lang</groupId> |
|
|
|
|
|
<artifactId>scala-library</artifactId> |
|
|
|
|
|
<version>${lib.scala-library.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>net.coobird</groupId> |
|
|
|
|
|
<artifactId>thumbnailator</artifactId> |
|
|
|
|
|
<version>${lib.thumbnailator.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>com.typesafe</groupId> |
|
|
|
|
|
<artifactId>config</artifactId> |
|
|
|
|
|
<version>${lib.typesafe-config.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>net.sourceforge.jtransforms</groupId> |
|
|
|
|
|
<artifactId>jtransforms</artifactId> |
|
|
|
|
|
<version>${lib.jtransforms.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>commons-cli</groupId> |
|
|
|
|
|
<artifactId>commons-cli</artifactId> |
|
|
|
|
|
<version>${lib.commons-cli.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>commons-codec</groupId> |
|
|
|
|
|
<artifactId>commons-codec</artifactId> |
|
|
|
|
|
<version>${lib.commons-codec.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>javax.transaction</groupId> |
|
|
|
|
|
<artifactId>jta</artifactId> |
|
|
|
|
|
<version>${lib.jta.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>net.sf.ehcache</groupId> |
|
|
|
|
|
<artifactId>ehcache</artifactId> |
|
|
|
|
|
<version>${lib.ehcache.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>com.typesafe.akka</groupId> |
|
|
|
|
|
<artifactId>akka-actor_2.11</artifactId> |
|
|
|
|
|
<version>${lib.akka.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>com.typesafe.akka</groupId> |
|
|
|
|
|
<artifactId>akka-slf4j_${scala.binary.version}</artifactId> |
|
|
|
|
|
<version>${lib.akka.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>com.h2database</groupId> |
|
|
|
|
|
<artifactId>h2</artifactId> |
|
|
|
|
|
<version>${lib.h2database.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.hibernate</groupId> |
|
|
|
|
|
<artifactId>hibernate-core</artifactId> |
|
|
|
|
|
<version>${lib.hibernate.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.hibernate</groupId> |
|
|
|
|
|
<artifactId>hibernate-ehcache</artifactId> |
|
|
|
|
|
<version>${lib.hibernate.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>net.sf.ehcache</groupId> |
|
|
|
|
|
<artifactId>ehcache-core</artifactId> |
|
|
|
|
|
<version>${lib.hibernate.ehcache.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.hibernate</groupId> |
|
|
|
|
|
<artifactId>hibernate-c3p0</artifactId> |
|
|
|
|
|
<version>${lib.hibernate.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>org.commonjava.googlecode.markdown4j</groupId> |
|
|
|
|
|
<artifactId>markdown4j</artifactId> |
|
|
|
|
|
<version>${lib.markdown4j.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
<dependency> |
|
|
|
|
|
<groupId>com.jsuereth</groupId> |
|
|
|
|
|
<artifactId>scala-arm_${scala.binary.version}</artifactId> |
|
|
|
|
|
<version>${lib.scala-arm.version}</version> |
|
|
|
|
|
</dependency> |
|
|
|
|
|
</dependencies> |
|
|
|
|
|
|
|
|
|
|
|
<build> |
|
|
|
|
|
<resources> |
|
|
|
|
|
<resource> |
|
|
|
|
|
<directory>src/main/resources</directory> |
|
|
|
|
|
<filtering>true</filtering> |
|
|
|
|
|
<includes> |
|
|
|
|
|
<include>**/*.conf</include> |
|
|
|
|
|
<include>**/*.properties</include> |
|
|
|
|
|
<include>**/*.info</include> |
|
|
|
|
|
<include>**/*.md</include> |
|
|
|
|
|
</includes> |
|
|
|
|
|
</resource> |
|
|
|
|
|
<resource> |
|
|
|
|
|
<directory>src/main/resources</directory> |
|
|
|
|
|
<filtering>false</filtering> |
|
|
|
|
|
<excludes> |
|
|
|
|
|
<exclude>**/*.conf</exclude> |
|
|
|
|
|
<exclude>**/*.properties</exclude> |
|
|
|
|
|
<exclude>**/*.info</exclude> |
|
|
|
|
|
<exclude>**/*.md</exclude> |
|
|
|
|
|
</excludes> |
|
|
|
|
|
</resource> |
|
|
|
|
|
</resources> |
|
|
|
|
|
<testResources> |
|
|
|
|
|
<testResource> |
|
|
|
|
|
<directory>src/test/resources</directory> |
|
|
|
|
|
<filtering>true</filtering> |
|
|
|
|
|
<includes> |
|
|
|
|
|
<include>**/*.conf</include> |
|
|
|
|
|
<include>**/*.properties</include> |
|
|
|
|
|
<include>**/*.info</include> |
|
|
|
|
|
<include>**/*.md</include> |
|
|
|
|
|
</includes> |
|
|
|
|
|
</testResource> |
|
|
|
|
|
<testResource> |
|
|
|
|
|
<directory>src/test/resources</directory> |
|
|
|
|
|
<filtering>false</filtering> |
|
|
|
|
|
<excludes> |
|
|
|
|
|
<exclude>**/*.conf</exclude> |
|
|
|
|
|
<exclude>**/*.properties</exclude> |
|
|
|
|
|
<exclude>**/*.info</exclude> |
|
|
|
|
|
<exclude>**/*.md</exclude> |
|
|
|
|
|
</excludes> |
|
|
|
|
|
</testResource> |
|
|
|
|
|
</testResources> |
|
|
|
|
|
<pluginManagement> |
|
|
|
|
|
<plugins> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>net.alchim31.maven</groupId> |
|
|
|
|
|
<artifactId>scala-maven-plugin</artifactId> |
|
|
|
|
|
<version>3.1.6</version> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId> |
|
|
|
|
|
<version>2.6</version> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
</plugins> |
|
|
|
|
|
</pluginManagement> |
|
|
|
|
|
<plugins> |
|
|
|
|
|
<!-- enable surefire for java tests--> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
|
<artifactId>maven-surefire-plugin</artifactId> |
|
|
|
|
|
<version>2.7</version> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<skipTests>false</skipTests> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
<!-- enable scalatest for scala tests--> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>org.scalatest</groupId> |
|
|
|
|
|
<artifactId>scalatest-maven-plugin</artifactId> |
|
|
|
|
|
<version>1.0-RC2</version> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> |
|
|
|
|
|
<junitxml>.</junitxml> |
|
|
|
|
|
<filereports>WDF TestSuite.txt</filereports> |
|
|
|
|
|
<argLine>-Xmx128m</argLine> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
<executions> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>test</id> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>test</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
</execution> |
|
|
|
|
|
</executions> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
<!-- Version Management --> |
|
|
|
|
|
<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> |
|
|
|
|
|
<!-- Override Compilation Settings --> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId> |
|
|
|
|
|
<version>3.1</version> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<source>${jdk.version}</source> |
|
|
|
|
|
<target>${jdk.version}</target> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
<executions> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<phase>compile</phase> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>compile</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
</execution> |
|
|
|
|
|
</executions> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
<!-- Handle Polygot Scala --> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>net.alchim31.maven</groupId> |
|
|
|
|
|
<artifactId>scala-maven-plugin</artifactId> |
|
|
|
|
|
<executions> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>scala-compile-first</id> |
|
|
|
|
|
<phase>process-resources</phase> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>add-source</goal> |
|
|
|
|
|
<goal>compile</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
</execution> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>scala-test-compile</id> |
|
|
|
|
|
<phase>process-test-resources</phase> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>testCompile</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
</execution> |
|
|
|
|
|
</executions> |
|
|
|
|
|
<!--<configuration> |
|
|
|
|
|
<jvmArgs> |
|
|
|
|
|
<jvmArg>-Xms64m</jvmArg> |
|
|
|
|
|
<jvmArg>-Xmx1024m</jvmArg> |
|
|
|
|
|
</jvmArgs> |
|
|
|
|
|
</configuration>--> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
<!-- Build Management --> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
|
<artifactId>maven-dependency-plugin</artifactId> |
|
|
|
|
|
<version>2.6</version> |
|
|
|
|
|
<executions> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>copy-dependencies</id> |
|
|
|
|
|
<phase>package</phase> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>copy-dependencies</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<includeScope>runtime</includeScope> |
|
|
|
|
|
<outputDirectory> |
|
|
|
|
|
${project.build.directory}/release/lib |
|
|
|
|
|
</outputDirectory> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
</execution> |
|
|
|
|
|
</executions> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
<!-- Resource Management --> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
|
<artifactId>maven-resources-plugin</artifactId> |
|
|
|
|
|
<version>2.6</version> |
|
|
|
|
|
<executions> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>copy-resources</id> |
|
|
|
|
|
<phase>initialize</phase> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>copy-resources</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<outputDirectory>${project.build.directory}</outputDirectory> |
|
|
|
|
|
<resources> |
|
|
|
|
|
<resource> |
|
|
|
|
|
<directory>src/includes</directory> |
|
|
|
|
|
<filtering>true</filtering> |
|
|
|
|
|
</resource> |
|
|
|
|
|
</resources> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
</execution> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>copy-resources-package</id> |
|
|
|
|
|
<phase>package</phase> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>copy-resources</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<outputDirectory>${project.build.directory}/release</outputDirectory> |
|
|
|
|
|
<resources> |
|
|
|
|
|
<resource> |
|
|
|
|
|
<directory>src/includes</directory> |
|
|
|
|
|
<filtering>true</filtering> |
|
|
|
|
|
<excludes> |
|
|
|
|
|
<exclude>version.info</exclude> |
|
|
|
|
|
<exclude>name.info</exclude> |
|
|
|
|
|
</excludes> |
|
|
|
|
|
</resource> |
|
|
|
|
|
</resources> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
</execution> |
|
|
|
|
|
</executions> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
<!-- Packaging Configuration --> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId> |
|
|
|
|
|
<artifactId>maven-jar-plugin</artifactId> |
|
|
|
|
|
<version>2.4</version> |
|
|
|
|
|
<executions> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<phase>package</phase> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>jar</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<archive> |
|
|
|
|
|
<manifest> |
|
|
|
|
|
<addClasspath>true</addClasspath> |
|
|
|
|
|
<classpathPrefix>lib/</classpathPrefix> |
|
|
|
|
|
<mainClass>com.sothr.imagetools.App</mainClass> |
|
|
|
|
|
</manifest> |
|
|
|
|
|
</archive> |
|
|
|
|
|
<outputDirectory> |
|
|
|
|
|
${project.build.directory}/release |
|
|
|
|
|
</outputDirectory> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
</execution> |
|
|
|
|
|
</executions> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
<!-- General Ant Tasks |
|
|
|
|
|
Mostly Moving Files --> |
|
|
|
|
|
<plugin> |
|
|
|
|
|
<artifactId>maven-antrun-plugin</artifactId> |
|
|
|
|
|
<version>1.4</version> |
|
|
|
|
|
<executions> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>prepare</id> |
|
|
|
|
|
<phase>process-resources</phase> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<tasks> |
|
|
|
|
|
<!-- Copy hibernate configuration files --> |
|
|
|
|
|
<copy todir="${basedir}/src/test/resources/hibernate"> |
|
|
|
|
|
<fileset dir="${basedir}/src/main/resources/hibernate" includes="**/*" /> |
|
|
|
|
|
</copy> |
|
|
|
|
|
<copy file="${project.build.directory}/version.info" toFile="${basedir}/version.info" overwrite="true" /> |
|
|
|
|
|
<copy file="${project.build.directory}/name.info" toFile="${basedir}/name.info" overwrite="true" /> |
|
|
|
|
|
<copy file="${project.build.directory}/LICENSE" toFile="${basedir}/LICENSE" overwrite="true" /> |
|
|
|
|
|
<copy file="${project.build.directory}/README.md" toFile="${basedir}/README.md" overwrite="true" /> |
|
|
|
|
|
<chmod file="${project.build.directory}/startCLI.sh" perm="755"/> |
|
|
|
|
|
<chmod file="${project.build.directory}/startGUI.sh" perm="755"/> |
|
|
|
|
|
</tasks> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>run</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
</execution> |
|
|
|
|
|
<execution> |
|
|
|
|
|
<id>package</id> |
|
|
|
|
|
<phase>package</phase> |
|
|
|
|
|
<configuration> |
|
|
|
|
|
<tasks> |
|
|
|
|
|
<!-- set permissions on run files --> |
|
|
|
|
|
<chmod file="${project.build.directory}/release/startCLI.sh" perm="755"/> |
|
|
|
|
|
<chmod file="${project.build.directory}/release/startGUI.sh" perm="755"/> |
|
|
|
|
|
</tasks> |
|
|
|
|
|
</configuration> |
|
|
|
|
|
<goals> |
|
|
|
|
|
<goal>run</goal> |
|
|
|
|
|
</goals> |
|
|
|
|
|
</execution> |
|
|
|
|
|
</executions> |
|
|
|
|
|
</plugin> |
|
|
|
|
|
</plugins> |
|
|
|
|
|
</build> |
|
|
|
|
|
</project> |
|
|
</project> |