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"
|
2012-04-23 03:49:18 +00:00
|
|
|
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>
|
2012-12-31 07:01:33 +00:00
|
|
|
<version>0.8.1</version>
|
2012-04-23 03:49:18 +00:00
|
|
|
<name>symon</name>
|
|
|
|
<url>http://www.loomcom.com/symon</url>
|
|
|
|
<properties>
|
|
|
|
<project.build.sourceEncoding>
|
|
|
|
UTF-8
|
|
|
|
</project.build.sourceEncoding>
|
|
|
|
<project.reporting.outputEncoding>
|
|
|
|
UTF-8
|
|
|
|
</project.reporting.outputEncoding>
|
|
|
|
</properties>
|
|
|
|
<repositories>
|
|
|
|
<repository>
|
|
|
|
<id>jline</id>
|
|
|
|
<name>JLine Project Repository</name>
|
|
|
|
<url>http://jline.sourceforge.net/m2repo</url>
|
|
|
|
</repository>
|
2012-04-23 04:43:45 +00:00
|
|
|
<!-- Loomcom's Maven2 repository for JTerminal -->
|
2012-04-23 03:49:18 +00:00
|
|
|
<repository>
|
|
|
|
<releases>
|
|
|
|
<enabled>true</enabled>
|
|
|
|
<updatePolicy>always</updatePolicy>
|
|
|
|
<checksumPolicy>fail</checksumPolicy>
|
|
|
|
</releases>
|
|
|
|
<id>com.loomcom</id>
|
|
|
|
<name>Loom Communications Maven2 Repository</name>
|
|
|
|
<url>http://www.loomcom.com/maven2</url>
|
|
|
|
<layout>default</layout>
|
|
|
|
</repository>
|
|
|
|
</repositories>
|
|
|
|
<dependencies>
|
|
|
|
<dependency>
|
|
|
|
<groupId>junit</groupId>
|
|
|
|
<artifactId>junit</artifactId>
|
|
|
|
<version>4.7</version>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.grahamedgecombe.jterminal</groupId>
|
|
|
|
<artifactId>jterminal</artifactId>
|
2012-12-06 07:19:34 +00:00
|
|
|
<version>1.0.2.2-loomcom</version>
|
2012-04-23 03:49:18 +00:00
|
|
|
</dependency>
|
|
|
|
</dependencies>
|
2008-12-08 22:45:22 +00:00
|
|
|
|
2012-04-23 03:49:18 +00:00
|
|
|
<build>
|
|
|
|
<plugins>
|
2012-04-23 04:43:45 +00:00
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<version>2.5</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-resources</id>
|
|
|
|
<phase>process-resources</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${basedir}/target/classes/com/loomcom/symon/ui/images</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/java/com/loomcom/symon/ui/images</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-assembly-plugin</artifactId>
|
|
|
|
<version>2.3</version>
|
|
|
|
<configuration>
|
|
|
|
<descriptorRefs>
|
|
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
|
|
</descriptorRefs>
|
2012-11-26 06:49:21 +00:00
|
|
|
<appendAssemblyId>false</appendAssemblyId>
|
2012-04-23 04:43:45 +00:00
|
|
|
<archive>
|
|
|
|
<manifest>
|
2012-05-29 05:18:35 +00:00
|
|
|
<mainClass>com.loomcom.symon.Simulator</mainClass>
|
2012-04-23 04:43:45 +00:00
|
|
|
</manifest>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>package</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>single</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2012-04-23 03:49:18 +00:00
|
|
|
<!-- Set Java version to Java 1.5 -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
|
|
<version>2.3.2</version>
|
|
|
|
<!-- best lock down version of the plugin too -->
|
|
|
|
<configuration>
|
|
|
|
<source>1.5</source>
|
|
|
|
<target>1.5</target>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2008-12-06 04:00:48 +00:00
|
|
|
|
2012-04-23 03:49:18 +00:00
|
|
|
<!-- Set up Main-Class in the JAR manifest -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<version>2.3.1</version>
|
|
|
|
<configuration>
|
|
|
|
<archive>
|
|
|
|
<manifest>
|
2012-05-29 05:18:35 +00:00
|
|
|
<mainClass>com.loomcom.symon.Simulator</mainClass>
|
2012-04-23 03:49:18 +00:00
|
|
|
<packageName>com.loomcom.symon</packageName>
|
|
|
|
</manifest>
|
|
|
|
<manifestEntries>
|
|
|
|
<mode>development</mode>
|
|
|
|
<url>${project.url}</url>
|
|
|
|
</manifestEntries>
|
|
|
|
</archive>
|
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2008-12-08 22:45:22 +00:00
|
|
|
|
2012-04-23 03:49:18 +00:00
|
|
|
<!-- Cobertura is essential -->
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
<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>
|
2008-12-06 02:03:00 +00:00
|
|
|
|
2012-04-23 03:49:18 +00:00
|
|
|
<reporting>
|
|
|
|
<plugins>
|
|
|
|
<plugin>
|
|
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
|
|
<version>2.4</version>
|
|
|
|
</plugin>
|
|
|
|
</plugins>
|
|
|
|
</reporting>
|
2008-12-08 22:45:22 +00:00
|
|
|
|
2008-12-06 00:44:33 +00:00
|
|
|
</project>
|