206 lines
6 KiB
XML
206 lines
6 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>net.forwardfire.logstats</groupId>
|
|
<artifactId>logstats</artifactId>
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>logstats-base</name>
|
|
<modules>
|
|
<module>logstats-ear</module>
|
|
<module>logstats-ejb</module>
|
|
<module>logstats-war</module>
|
|
<module>logstats-jboss-sar</module>
|
|
</modules>
|
|
<properties>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<testng.version>5.8</testng.version>
|
|
<x4o-core.version>0.8.2-SNAPSHOT</x4o-core.version>
|
|
<vasc.version>0.3.5-SNAPSHOT</vasc.version>
|
|
</properties>
|
|
|
|
<dependencyManagement>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>logstats-jboss-sar</artifactId>
|
|
<version>${project.version}</version>
|
|
<type>sar</type>
|
|
</dependency>
|
|
</dependencies>
|
|
</dependencyManagement>
|
|
<build>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-ear-plugin</artifactId>
|
|
<version>2.3.1</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jboss-packaging-maven-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<source>1.5</source>
|
|
<target>1.5</target>
|
|
<showDeprecation>true</showDeprecation>
|
|
<showWarnings>true</showWarnings>
|
|
<optimize>true</optimize>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jboss-packaging-maven-plugin</artifactId>
|
|
<!-- Enable 'jboss-sar', etc., as a recoginized maven packaging type -->
|
|
<extensions>true</extensions>
|
|
</plugin>
|
|
<!-- Generate site -->
|
|
<plugin>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>2.1</version>
|
|
<configuration>
|
|
<outputEncoding>UTF-8</outputEncoding>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Run tests -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-plugin</artifactId>
|
|
<version>2.4</version>
|
|
<configuration></configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
<!-- Repositories -->
|
|
<repositories>
|
|
<repository>
|
|
<id>local</id>
|
|
<url>http://localhost:8081/nexus/content/groups/public/</url>
|
|
<snapshots><enabled>true</enabled></snapshots>
|
|
<releases><enabled>true</enabled></releases>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<!-- PluginRepositories -->
|
|
<pluginRepositories>
|
|
<pluginRepository>
|
|
<id>local</id>
|
|
<url>http://localhost:8081/nexus/content/groups/public/</url>
|
|
<snapshots><enabled>true</enabled></snapshots>
|
|
<releases><enabled>true</enabled></releases>
|
|
</pluginRepository>
|
|
</pluginRepositories>
|
|
|
|
<!-- DistributionManagement -->
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>releases</id>
|
|
<name>Internal Releases</name>
|
|
<url>http://localhost:8081/nexus/content/repositories/releases</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>snapshots</id>
|
|
<name>Internal Snapshots</name>
|
|
<url>http://localhost:8081/nexus/content/repositories/snapshots</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
|
|
<!-- Reporting -->
|
|
<reporting>
|
|
<excludeDefaults>true</excludeDefaults>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-jxr-plugin</artifactId>
|
|
<configuration>
|
|
<aggregate>true</aggregate>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-pmd-plugin</artifactId>
|
|
<version>2.5</version>
|
|
<configuration>
|
|
<linkXref>true</linkXref>
|
|
<sourceEncoding>utf-8</sourceEncoding>
|
|
<minimumTokens>100</minimumTokens>
|
|
<targetJdk>1.5</targetJdk>
|
|
<aggregate>true</aggregate>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<version>2.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>taglist-maven-plugin</artifactId>
|
|
<configuration>
|
|
<tags>
|
|
<tag>TODO</tag>
|
|
<tag>@todo</tag>
|
|
<tag>@deprecated</tag>
|
|
<tag>FIXME</tag>
|
|
</tags>
|
|
</configuration>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
<configuration>
|
|
<linksource>true</linksource>
|
|
<minmemory>128m</minmemory>
|
|
<maxmemory>1g</maxmemory>
|
|
</configuration>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>aggregate</report>
|
|
<report>test-aggregate</report>
|
|
<report>fix</report>
|
|
<report>test-fix</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>findbugs-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-checkstyle-plugin</artifactId>
|
|
</plugin>
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<dependencies>
|
|
<!-- Unit tests cases -->
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<version>${testng.version}</version>
|
|
<classifier>jdk15</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</project> |