-
Notifications
You must be signed in to change notification settings - Fork 362
/
Copy pathpom.xml
169 lines (150 loc) · 4.6 KB
/
pom.xml
1
<?xml version="1.0" encoding="UTF-8"?><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"> <modelVersion>4.0.0</modelVersion> <groupId>com.github</groupId> <artifactId>neuralnetworks</artifactId> <version>0.1-SNAPSHOT</version> <packaging>pom</packaging> <name>NN Parent Project</name> <description>This is the neural network parent project.</description> <organization> <name>Ivan Vasilev</name> <url>https://github.com/ivan-vasilev</url> </organization> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <sonar.jacoco.reportPath>${project.build.directory}/jacoco.exec</sonar.jacoco.reportPath> <java-version>1.8</java-version> <maven.compiler.source>1.8</maven.compiler.source> <maven.compiler.target>1.8</maven.compiler.target> <research-core-version>4.3.19</research-core-version> <research-resources-version>[4.1.92, 4.2)</research-resources-version> <maven-compiler-plugin-version>2.5.1</maven-compiler-plugin-version> <maven-jar-plugin-version>2.4</maven-jar-plugin-version> <maven-dependency-plugin-version>2.4</maven-dependency-plugin-version> <doclet-version>5.1</doclet-version> <maven-source-plugin-version>2.2</maven-source-plugin-version> <maven-assembly-plugin-version>2.3</maven-assembly-plugin-version> <metrics.version>3.1.0</metrics.version> </properties> <modules> <module>nn-core</module> <module>nn-samples</module> <module>nn-performance-tests</module> <module>nn-userinterface</module> </modules> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.7.2.201409121644</version> <executions> <execution> <id>jacoco-initialize</id> <phase>initialize</phase> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>jacoco-report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-surefire-plugin</artifactId> <!--<version>2.17</version> --> <configuration> <argLine>${argLine}</argLine> <testFailureIgnore>true</testFailureIgnore> <forkCount>1</forkCount> <reuseForks>false</reuseForks> </configuration> </plugin> </plugins> </build> <dependencyManagement> <dependencies> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.4</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.2</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> <version>1.7.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>log4j-over-slf4j</artifactId> <version>1.7.2</version> <scope>runtime</scope> </dependency> <dependency> <groupId>com.google.protobuf</groupId> <artifactId>protobuf-java</artifactId> <version>2.6.1</version> </dependency> </dependencies> </dependencyManagement> <profiles> <profile> <id>runnable-fatjar</id> <properties> <runnableName>foo</runnableName> <runnableMainClass>bar</runnableMainClass> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>1.7.1</version> <executions> <execution> <id>runnable-fatjar</id> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <shadedArtifactAttached>true</shadedArtifactAttached> <shadedClassifierName>${runnableName}</shadedClassifierName> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>${runnableMainClass}</mainClass> </transformer> </transformers> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> </configuration> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles></project>