2008-12-06 00:44:33 +00:00
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
2008-12-08 22:45:22 +00:00
|
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
2008-12-06 00:44:33 +00:00
|
|
|
<modelVersion>4.0.0</modelVersion>
|
2008-12-13 22:59:22 +00:00
|
|
|
<groupId>com.loomcom.symon</groupId>
|
|
|
|
<artifactId>symon</artifactId>
|
2008-12-06 00:44:33 +00:00
|
|
|
<packaging>jar</packaging>
|
2008-12-08 22:28:44 +00:00
|
|
|
<version>snapshot</version>
|
2008-12-13 22:59:22 +00:00
|
|
|
<name>symon</name>
|
|
|
|
<url>http://www.loomcom.com/symon</url>
|
2008-12-06 00:44:33 +00:00
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
2010-01-15 08:20:03 +00:00
|
|
|
<version>4.7</version>
|
2008-12-06 00:44:33 +00:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2008-12-08 22:45:22 +00:00
|
|
|
|
2008-12-06 02:03:00 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2010-01-15 08:20:03 +00:00
|
|
|
<!-- Set Java version to Java 1.5 -->
|
2008-12-06 04:00:48 +00:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<!-- best lock down version of the plugin too -->
|
|
|
|
<configuration>
|
2010-01-15 08:20:03 +00:00
|
|
|
<source>1.5</source>
|
|
|
|
<target>1.5</target>
|
2008-12-06 04:00:48 +00:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
|
|
|
|
2008-12-06 02:03:00 +00:00
|
|
|
<!-- Set up Main-Class in the JAR manifest -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
2008-12-13 22:59:22 +00:00
|
|
|
<mainClass>com.loomcom.symon.Simulator</mainClass>
|
|
|
|
<packageName>com.loomcom.symon</packageName>
|
2008-12-06 02:03:00 +00:00
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
|
|
|
<mode>development</mode>
|
|
|
|
<url>${pom.url}</url>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2008-12-08 22:45:22 +00:00
|
|
|
|
|
|
|
<!-- Cobertura is essential -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
|
|
<configuration>
|
|
|
|
<check>
|
|
|
|
<haltOnFailure>false</haltOnFailure>
|
|
|
|
<regexes>
|
|
|
|
<regex>
|
2008-12-13 22:59:22 +00:00
|
|
|
<pattern>com.loomcom.symon.*</pattern>
|
2008-12-08 22:45:22 +00:00
|
|
|
<branchRate>90</branchRate>
|
|
|
|
<lineRate>90</lineRate>
|
|
|
|
</regex>
|
|
|
|
</regexes>
|
|
|
|
</check>
|
|
|
|
<instrumentation>
|
|
|
|
<includes>
|
2008-12-13 22:59:22 +00:00
|
|
|
<include>com/loomcom/symon/*.class</include>
|
2008-12-08 22:45:22 +00:00
|
|
|
</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>
|
|
|
|
|
2008-12-06 02:03:00 +00:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
|
2008-12-08 22:45:22 +00:00
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
|
|
|
|
2008-12-06 00:44:33 +00:00
|
|
|
</project>
|