401 lines
13 KiB
XML
401 lines
13 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/xsd/maven-4.0.0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.idcanet.foei</groupId>
|
|
<artifactId>foei-base</artifactId>
|
|
<packaging>pom</packaging>
|
|
<version>0.8.3-SNAPSHOT</version>
|
|
<name>foei</name>
|
|
<description>Creates an easy xml layer for objects and creating your own xml language implementions.</description>
|
|
<url>http://www.x4o.org/foei</url>
|
|
<inceptionYear>2002</inceptionYear>
|
|
<organization>
|
|
<name>IDCA</name>
|
|
<url>http://www.idca.nl</url>
|
|
</organization>
|
|
<issueManagement>
|
|
<system>Trac</system>
|
|
<url>https://decaid.idca.nl/trac/oss/</url>
|
|
</issueManagement>
|
|
<licenses>
|
|
<license>
|
|
<name>BSD</name>
|
|
<url>http://repository.idcanet.com/licenses/bsd.txt</url>
|
|
</license>
|
|
</licenses>
|
|
<scm>
|
|
<connection>https://decaid.idca.nl/hg/com.idcanet.foei/</connection>
|
|
<developerConnection>scm:hg:${hg.repo.url}</developerConnection>
|
|
<url>https://decaid.idca.nl/hg/com.idcanet.foei/file/</url>
|
|
</scm>
|
|
<modules>
|
|
<module>foei-core</module>
|
|
<module>foei-server</module>
|
|
<module>foei-components</module>
|
|
<module>foei-ee-jca</module>
|
|
<module>foei-ee-ejb3</module>
|
|
<module>foei-ee-jca-ra</module>
|
|
</modules>
|
|
<properties>
|
|
<hg.repo.url>https://decaid.idca.nl/hg/com.idcanet.foei/</hg.repo.url>
|
|
<staging.mvn.repo.url>file://${project.build.directory}/target-maven-repo</staging.mvn.repo.url>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<juel.version>2.1.0</juel.version>
|
|
<testng.version>5.8</testng.version>
|
|
<x4o-core.version>0.8.1</x4o-core.version>
|
|
<servlet-api.version>2.4</servlet-api.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<version>${testng.version}</version>
|
|
<scope>test</scope>
|
|
<classifier>jdk15</classifier>
|
|
</dependency>
|
|
|
|
<!--
|
|
<dependency>
|
|
<groupId>javax</groupId>
|
|
<artifactId>javaee-api</artifactId>
|
|
<version>6.0</version>
|
|
<type>jar</type>
|
|
<scope>compile</scope>
|
|
</dependency>
|
|
-->
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<!-- Compile source -->
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<source>1.6</source>
|
|
<target>1.6</target>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<!-- Package source -->
|
|
<plugin>
|
|
<artifactId>maven-source-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>attach-sources</id>
|
|
<goals><goal>jar</goal></goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
|
|
<!-- Generate site -->
|
|
<plugin>
|
|
<artifactId>maven-site-plugin</artifactId>
|
|
<version>2.0-beta-7</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 />
|
|
</plugin>
|
|
|
|
<!-- Perform maven releases -->
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.1</version>
|
|
<configuration>
|
|
<preparationGoals>clean install verify</preparationGoals>
|
|
<!-- rmed assembly:assembly -->
|
|
<goals>clean install javadoc:javadoc deploy</goals>
|
|
<arguments>-Prelease -DaltDeploymentRepository="${altDeploymentRepository}"</arguments>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
<pluginManagement>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-release-plugin</artifactId>
|
|
<version>2.1</version>
|
|
</plugin>
|
|
</plugins>
|
|
</pluginManagement>
|
|
</build>
|
|
|
|
<reporting>
|
|
<outputDirectory>target/site</outputDirectory>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>cobertura-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-javadoc-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-project-info-reports-plugin</artifactId>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports>
|
|
<report>summary</report>
|
|
<report>dependencies</report>
|
|
<report>project-team</report>
|
|
</reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jxr-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-surefire-report-plugin</artifactId>
|
|
<version>2.4.2</version>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>jdepend-maven-plugin</artifactId>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-changes-plugin</artifactId>
|
|
<version>2.0</version>
|
|
<configuration>
|
|
<xmlPath>${basedir}/src/site/changes.xml</xmlPath>
|
|
</configuration>
|
|
<reportSets>
|
|
<reportSet>
|
|
<reports><report>changes-report</report></reports>
|
|
</reportSet>
|
|
</reportSets>
|
|
</plugin>
|
|
|
|
</plugins>
|
|
</reporting>
|
|
|
|
<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>
|
|
<repository>
|
|
<id>jboss</id>
|
|
<name>JBoss Repository Switchboard</name>
|
|
<layout>default</layout>
|
|
<url>http://repository.jboss.com/maven2/</url>
|
|
<snapshots><enabled>true</enabled></snapshots>
|
|
</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>
|
|
|
|
<developers>
|
|
<developer>
|
|
<id>willem.cazander</id>
|
|
<name>Willem Cazander</name>
|
|
<email>w.cazander@gmail.com</email>
|
|
<organization>IDCA</organization>
|
|
<timezone>+2</timezone>
|
|
<roles>
|
|
<role>Project Manager</role>
|
|
<role>Architect</role>
|
|
</roles>
|
|
</developer>
|
|
<developer>
|
|
<id>sqrbass</id>
|
|
<name>Bas van Oostveen</name>
|
|
<email />
|
|
<organization>IDCA</organization>
|
|
<timezone>+2</timezone>
|
|
<roles>
|
|
<role>Architect Reviewer</role>
|
|
</roles>
|
|
</developer>
|
|
</developers>
|
|
|
|
<!-- Profiles -->
|
|
<profiles>
|
|
<profile>
|
|
<id>release</id>
|
|
<properties>
|
|
<hg.repo.url>file://${project.build.directory}/dummy-hg-repo</hg.repo.url>
|
|
<altDeploymentRepository>release-repo-hudson::default::${staging.mvn.repo.url}</altDeploymentRepository>
|
|
</properties>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>clean-release-dirs</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<inherited>false</inherited>
|
|
<configuration>
|
|
<executable>rm</executable>
|
|
<arguments>
|
|
<argument>-rf</argument>
|
|
<argument>${project.build.directory}/dummy-hg-repo</argument>
|
|
<argument>${project.build.directory}/target-maven-repo</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>create-release-dirs</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<inherited>false</inherited>
|
|
<configuration>
|
|
<executable>mkdir</executable>
|
|
<arguments>
|
|
<argument>-p</argument>
|
|
<argument>${project.build.directory}/dummy-hg-repo</argument>
|
|
<argument>${project.build.directory}/target-maven-repo</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
<execution>
|
|
<id>init-dummy-hg-repo</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<inherited>false</inherited>
|
|
<configuration>
|
|
<executable>hg</executable>
|
|
<workingDirectory>${project.build.directory}/dummy-hg-repo</workingDirectory>
|
|
<arguments>
|
|
<argument>init</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>release-commit</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>push-hg</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<inherited>false</inherited>
|
|
<configuration>
|
|
<executable>hg</executable>
|
|
<arguments>
|
|
<argument>push</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>wagon-maven-plugin</artifactId>
|
|
<configuration>
|
|
<source>${staging.mvn.repo.url}</source>
|
|
<target>${project.distributionManagement.repository.url}</target>
|
|
<targetId>${project.distributionManagement.repository.id}</targetId>
|
|
</configuration>
|
|
<executions>
|
|
<execution>
|
|
<id>merge-repo</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>merge-maven-repos</goal>
|
|
</goals>
|
|
<inherited>false</inherited>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
<profile>
|
|
<id>release-cancel</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>exec-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>strip-hg</id>
|
|
<phase>initialize</phase>
|
|
<goals>
|
|
<goal>exec</goal>
|
|
</goals>
|
|
<inherited>false</inherited>
|
|
<configuration>
|
|
<!-- FIXME: would be better to strip local changes -->
|
|
<executable>rm</executable>
|
|
<arguments>
|
|
<argument>-rf</argument>
|
|
<argument>.hg</argument>
|
|
</arguments>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</profile>
|
|
</profiles>
|
|
|
|
<!-- END -->
|
|
</project> |