mirror of
https://github.com/sethm/symon.git
synced 2024-11-17 02:06:48 +00:00
f174f0312f
* Unit tests for Indirect Indexed and Indexed Indirect. * Updated copyright dates. * Started moving to JUnit 4.
104 lines
2.5 KiB
XML
104 lines
2.5 KiB
XML
<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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.loomcom.symon</groupId>
|
|
<artifactId>symon</artifactId>
|
|
<packaging>jar</packaging>
|
|
<version>snapshot</version>
|
|
<name>symon</name>
|
|
<url>http://www.loomcom.com/symon</url>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>junit</groupId>
|
|
<artifactId>junit</artifactId>
|
|
<version>4.7</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<!-- Set Java version to Java 1.5 -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<!-- best lock down version of the plugin too -->
|
|
<configuration>
|
|
<source>1.5</source>
|
|
<target>1.5</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Set up Main-Class in the JAR manifest -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>com.loomcom.symon.Simulator</mainClass>
|
|
<packageName>com.loomcom.symon</packageName>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<mode>development</mode>
|
|
<url>${pom.url}</url>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Cobertura is essential -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
<configuration>
|
|
<check>
|
|
<haltOnFailure>false</haltOnFailure>
|
|
<regexes>
|
|
<regex>
|
|
<pattern>com.loomcom.symon.*</pattern>
|
|
<branchRate>90</branchRate>
|
|
<lineRate>90</lineRate>
|
|
</regex>
|
|
</regexes>
|
|
</check>
|
|
<instrumentation>
|
|
<includes>
|
|
<include>com/loomcom/symon/*.class</include>
|
|
</includes>
|
|
</instrumentation>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>clean</id>
|
|
<phase>pre-site</phase>
|
|
<goals>
|
|
<goal>clean</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>instrument</id>
|
|
<phase>site</phase>
|
|
<goals>
|
|
<goal>instrument</goal>
|
|
<goal>cobertura</goal>
|
|
<goal>check</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
</project>
|