mirror of
https://github.com/sethm/symon.git
synced 2024-12-28 11:30:51 +00:00
070e9db813
Conflicts: src/main/java/com/loomcom/symon/Simulator.java src/main/java/com/loomcom/symon/devices/Device.java src/main/java/com/loomcom/symon/devices/Memory.java
198 lines
7.4 KiB
XML
198 lines
7.4 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>0.9.0</version>
|
|
<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>
|
|
<!-- Loomcom's Maven2 repository for JTerminal -->
|
|
<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.11</version>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.grahamedgecombe.jterminal</groupId>
|
|
<artifactId>jterminal</artifactId>
|
|
<version>1.0.2.2-loomcom</version>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
<version>2.6</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.4</version>
|
|
<configuration>
|
|
<descriptorRefs>
|
|
<descriptorRef>jar-with-dependencies</descriptorRef>
|
|
</descriptorRefs>
|
|
<appendAssemblyId>false</appendAssemblyId>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>com.loomcom.symon.Simulator</mainClass>
|
|
</manifest>
|
|
</archive>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>single</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.1</version>
|
|
<configuration>
|
|
<compilerArgument>-Xlint:unchecked</compilerArgument>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Set up Main-Class in the JAR manifest -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration>
|
|
<archive>
|
|
<manifest>
|
|
<mainClass>com.loomcom.symon.Simulator</mainClass>
|
|
<packageName>com.loomcom.symon</packageName>
|
|
</manifest>
|
|
<manifestEntries>
|
|
<mode>development</mode>
|
|
<url>${project.url}</url>
|
|
</manifestEntries>
|
|
</archive>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Cobertura is essential -->
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
<version>2.6</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>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<version>1.2.1</version>
|
|
<configuration>
|
|
<mainClass>com.loomcom.symon.Simulator</mainClass>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<goals>
|
|
<goal>java</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<reporting>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
<version>2.6</version>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
</project>
|