testapp: refine pom.xml

This commit is contained in:
Harald Hoyer 2016-08-31 08:10:00 +02:00
parent d625d14ffc
commit 3419b64cf0

View file

@ -1,92 +1,131 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
<modelVersion>4.0.0</modelVersion> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent> <modelVersion>4.0.0</modelVersion>
<groupId>org.tcpid</groupId> <parent>
<artifactId>opret-parent</artifactId> <groupId>org.tcpid</groupId>
<version>0.0.1-SNAPSHOT</version> <artifactId>opret-parent</artifactId>
</parent> <version>0.0.1-SNAPSHOT</version>
<artifactId>opret-testapp</artifactId> </parent>
<artifactId>opret-testapp</artifactId>
<dependencies>
<dependency> <dependencies>
<groupId>org.bitcoinj</groupId>
<artifactId>bitcoinj-core</artifactId>
<version>0.14.3</version>
</dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>org.bitcoinj</groupId>
<artifactId>junit</artifactId> <artifactId>bitcoinj-core</artifactId>
<version>3.8.1</version> <version>0.14.3</version>
<scope>test</scope> </dependency>
</dependency>
<dependency> <dependency>
<groupId>ch.qos.logback</groupId> <groupId>junit</groupId>
<artifactId>logback-classic</artifactId> <artifactId>junit</artifactId>
<version>1.0.13</version> <version>3.8.1</version>
</dependency> <scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>org.abstractj.kalium</groupId> <groupId>ch.qos.logback</groupId>
<artifactId>kalium</artifactId> <artifactId>logback-classic</artifactId>
<version>0.5.0</version> <version>1.0.13</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.tcpid</groupId> <groupId>org.abstractj.kalium</groupId>
<artifactId>opretj</artifactId> <artifactId>kalium</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.5.0</version>
</dependency> </dependency>
<dependency>
<groupId>net.sf.jopt-simple</groupId>
<artifactId>jopt-simple</artifactId>
<version>4.3</version>
</dependency>
</dependencies> <dependency>
<groupId>org.tcpid</groupId>
<artifactId>opretj</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.sf.jopt-simple</groupId>
<artifactId>jopt-simple</artifactId>
<version>4.3</version>
</dependency>
<properties> </dependencies>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
</properties>
<build> <properties>
<plugins> <maven.compiler.source>1.8</maven.compiler.source>
<plugin> <maven.compiler.target>1.8</maven.compiler.target>
<groupId>org.apache.maven.plugins</groupId> </properties>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version> <build>
<configuration> <plugins>
<source>1.8</source> <plugin>
<target>1.8</target> <!-- Build an executable JAR -->
</configuration> <groupId>org.apache.maven.plugins</groupId>
</plugin> <artifactId>maven-jar-plugin</artifactId>
<plugin> <version>3.0.2</version>
<groupId>org.codehaus.mojo</groupId> <configuration>
<artifactId>exec-maven-plugin</artifactId> <archive>
<version>1.2.1</version> <manifest>
<configuration> <addClasspath>true</addClasspath>
<mainClass>org.tcpid.opretj.testapp.App</mainClass> <classpathPrefix>lib/</classpathPrefix>
<systemProperties> <mainClass>org.tcpid.opretj.testapp.App</mainClass>
<systemProperty> </manifest>
<key>logback.configurationFile</key> </archive>
<value>${basedir}/opret-testapp/src/main/resources/logback.xml</value> </configuration>
</systemProperty> </plugin>
</systemProperties>
</configuration> <plugin>
</plugin> <groupId>org.apache.maven.plugins</groupId>
</plugins> <artifactId>maven-dependency-plugin</artifactId>
</build> <version>2.10</version>
<executions>
<scm> <execution>
<url>scm:git:https://github.com/haraldh/opretj.git</url> <id>copy-dependencies</id>
</scm> <phase>package</phase>
<issueManagement> <goals>
<url>https://github.com/haraldh/opretj/issues</url> <goal>copy-dependencies</goal>
</issueManagement> </goals>
<name>opretj testapp</name> <configuration>
<url>https://github.com/bitcoinj/bitcoinj</url> <outputDirectory>${project.build.directory}/lib</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<configuration>
<mainClass>org.tcpid.opretj.testapp.App</mainClass>
<!--
<systemProperties>
<systemProperty>
<key>logback.configurationFile</key>
<value>${basedir}/opret-testapp/src/main/resources/logback.xml</value>
</systemProperty>
</systemProperties>
-->
</configuration>
</plugin>
</plugins>
</build>
<scm>
<url>scm:git:https://github.com/haraldh/opretj.git</url>
</scm>
<issueManagement>
<url>https://github.com/haraldh/opretj/issues</url>
</issueManagement>
<name>opretj testapp</name>
<url>https://github.com/bitcoinj/bitcoinj</url>
</project> </project>