507 lines
17 KiB
XML
507 lines
17 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>net.forwardfire.vasc</groupId>
|
|
<artifactId>vasc</artifactId>
|
|
<version>0.3.5-SNAPSHOT</version>
|
|
<packaging>pom</packaging>
|
|
<name>vasc</name>
|
|
<description>Very Amazing/Advanced/Amplified Simple CRUD'ing for all.</description>
|
|
<url>http://www.forwardfire.net/vasc</url>
|
|
<inceptionYear>2007</inceptionYear>
|
|
<organization>
|
|
<name>ForwardFire.net</name>
|
|
<url>http://www.forwardfire.net</url>
|
|
</organization>
|
|
<licenses>
|
|
<license>
|
|
<name>BSD</name>
|
|
<url>license.txt</url>
|
|
</license>
|
|
</licenses>
|
|
<scm>
|
|
<connection>git@bitbucket.org:im_ik/vasc.git</connection>
|
|
<developerConnection>scm:hg:ssh://git@bitbucket.org:im_ik/vasc.git</developerConnection>
|
|
<url>https://bitbucket.org/im_ik/vasc.git</url>
|
|
</scm>
|
|
<modules>
|
|
<module>vasc-core</module>
|
|
<module>vasc-ejb3</module>
|
|
<module>vasc-xpql</module>
|
|
<module>vasc-xpql-ejb3-server</module>
|
|
<module>vasc-xpql-ejb3-client</module>
|
|
<module>vasc-backend</module>
|
|
<module>vasc-frontend</module>
|
|
<module>vasc-demo</module>
|
|
<module>vasc-test</module>
|
|
</modules>
|
|
<properties>
|
|
<hg.repo.url>https://...vasc/</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.2-SNAPSHOT</x4o-core.version>
|
|
<jldap.version>4.3</jldap.version>
|
|
|
|
<!-- Maven plugin versions -->
|
|
<exec-maven-plugin.version>1.2</exec-maven-plugin.version>
|
|
<findbugs-maven-plugin.version>2.3.1</findbugs-maven-plugin.version>
|
|
<cobertura-maven-plugin.version>2.4</cobertura-maven-plugin.version>
|
|
<sonar-maven-plugin.version>1.0-beta-2</sonar-maven-plugin.version>
|
|
<xml-maven-plugin.version>1.0-beta-3</xml-maven-plugin.version>
|
|
<antlr3-maven-plugin.version>3.2</antlr3-maven-plugin.version>
|
|
<wagon-maven-plugin.version>1.0-beta-3</wagon-maven-plugin.version>
|
|
<maven-war-plugin.version>2.1</maven-war-plugin.version>
|
|
<maven-ejb-plugin.version>2.3</maven-ejb-plugin.version>
|
|
<maven-ear-plugin.version>2.4.2</maven-ear-plugin.version>
|
|
<maven-compiler-plugin.version>2.0.2</maven-compiler-plugin.version>
|
|
<maven-source-plugin.version>2.1.2</maven-source-plugin.version>
|
|
<maven-javadoc-plugin.version>2.7</maven-javadoc-plugin.version>
|
|
<maven-release-plugin.version>2.1</maven-release-plugin.version>
|
|
<maven-deploy-plugin.version>2.5</maven-deploy-plugin.version>
|
|
<maven-site-plugin.version>3.0-beta-3</maven-site-plugin.version>
|
|
<maven-plugin-api.version>2.0</maven-plugin-api.version>
|
|
<maven-pmd-plugin.version>2.5</maven-pmd-plugin.version>
|
|
<maven-jmeter-plugin.version>1.0</maven-jmeter-plugin.version>
|
|
<maven-surefire-plugin.version>2.4</maven-surefire-plugin.version>
|
|
<maven-surefire-report-plugin.version>2.5</maven-surefire-report-plugin.version>
|
|
<maven-checkstyle-plugin.version>2.5</maven-checkstyle-plugin.version>
|
|
<maven-enforcer-plugin.version>1.0-beta-1</maven-enforcer-plugin.version>
|
|
<maven-project-info-reports-plugin.version>2.2</maven-project-info-reports-plugin.version>
|
|
|
|
<!-- WAR deps -->
|
|
<servlet-api.version>2.4</servlet-api.version>
|
|
<jstl.version>1.2</jstl.version>
|
|
<jsp-api.version>2.1</jsp-api.version>
|
|
<taglibs.version>1.1.2</taglibs.version>
|
|
<jsf-api.version>1.2_12</jsf-api.version>
|
|
<jsf-impl.version>1.2_12</jsf-impl.version>
|
|
<jsf-facelets.version>1.1.15.B1</jsf-facelets.version>
|
|
<richfaces-api.version>3.3.3.Final</richfaces-api.version>
|
|
<richfaces-impl.version>3.3.3.Final</richfaces-impl.version>
|
|
<richfaces-ui.version>3.3.3.Final</richfaces-ui.version>
|
|
<el-ri.version>1.2</el-ri.version>
|
|
<el-api.version>1.2</el-api.version>
|
|
|
|
<!-- EJB deps -->
|
|
<ejb-api.version>3.0</ejb-api.version>
|
|
<persistence-api.version>1.0</persistence-api.version>
|
|
<hibernate-annotations.version>3.4.0.GA</hibernate-annotations.version>
|
|
<quartz.version>1.6.3</quartz.version>
|
|
|
|
<!-- XML deps -->
|
|
<saxon.version>9.1.0.8</saxon.version>
|
|
<xercesImpl.version>2.8.1</xercesImpl.version>
|
|
<xml-apis.version>1.0.b2</xml-apis.version>
|
|
|
|
<!-- JBOSS -->
|
|
<jbosssx-client.version>3.0.0.CR2</jbosssx-client.version>
|
|
<jboss-as-tomcat.version>6.0.0.Final</jboss-as-tomcat.version>
|
|
|
|
<!-- Application lib versions in tech demos -->
|
|
<bsaf.version>1.9.2</bsaf.version>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<!-- Unit tests cases -->
|
|
<dependency>
|
|
<groupId>org.testng</groupId>
|
|
<artifactId>testng</artifactId>
|
|
<version>${testng.version}</version>
|
|
<classifier>jdk15</classifier>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
|
|
<!-- Compile source -->
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<configuration>
|
|
<encoding>UTF-8</encoding>
|
|
<source>1.5</source>
|
|
<target>1.5</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>
|
|
|
|
<!-- Build documention -->
|
|
<plugin>
|
|
<groupId>com.agilejava.docbkx</groupId>
|
|
<artifactId>docbkx-maven-plugin</artifactId>
|
|
|
|
<!-- Any parameters common to both HTML and PDF go here -->
|
|
<configuration>
|
|
<sourceDirectory>src/main/docbook/</sourceDirectory>
|
|
<targetDirectory>target/site/docbook/</targetDirectory>
|
|
|
|
<!-- input config -->
|
|
<includes>*.xml</includes>
|
|
<!-- <foCustomization>src/main/config/docbook-fo.xsl</foCustomization> -->
|
|
|
|
<!-- runtime config -->
|
|
<xincludeSupported>true</xincludeSupported>
|
|
<entities><!-- pom vars to docbook vars -->
|
|
<entity>
|
|
<name>version</name>
|
|
<value>${version}</value>
|
|
</entity>
|
|
</entities>
|
|
|
|
<!-- output config -->
|
|
<chunkedOutput>true</chunkedOutput>
|
|
<!-- <htmlStylesheet>http://.....</htmlStylesheet> -->
|
|
|
|
</configuration>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
<id>create-pdf-docs</id>
|
|
<phase>site</phase>
|
|
<goals><goal>generate-pdf</goal></goals>
|
|
<configuration>
|
|
<!-- Any parameters specific to the PDF version go here -->
|
|
<imgSrcPath>file:///${basedir}/src/main/docbook/</imgSrcPath>
|
|
</configuration>
|
|
</execution>
|
|
|
|
<execution>
|
|
<id>create-html-docs</id>
|
|
<phase>site</phase>
|
|
<goals><goal>generate-html</goal></goals>
|
|
<configuration>
|
|
<!-- This copies content (images, etc) for the HTML version -->
|
|
<preProcess>
|
|
<copy todir="target/site/docbook/images">
|
|
<fileset dir="src/main/docbook/images" />
|
|
</copy>
|
|
</preProcess>
|
|
<!-- Any parameters specific to HTML version go here -->
|
|
</configuration>
|
|
</execution>
|
|
|
|
</executions>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.docbook</groupId>
|
|
<artifactId>docbook-xml</artifactId>
|
|
<version>4.4</version>
|
|
<scope>runtime</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
</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>jboss</id>
|
|
<name>JBoss Repository Switchboard</name>
|
|
<layout>default</layout>
|
|
<url>http://repository.jboss.com/maven2/</url>
|
|
<releases><enabled>true</enabled></releases>
|
|
<snapshots><enabled>false</enabled></snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>ops4j-microba</id>
|
|
<name>ops4j.org</name>
|
|
<layout>default</layout>
|
|
<url>http://repository.ops4j.org/maven2/</url>
|
|
<snapshots><enabled>false</enabled></snapshots>
|
|
</repository>
|
|
<repository>
|
|
<id>eobjects-metamodel</id>
|
|
<name>eobjects.org</name>
|
|
<layout>default</layout>
|
|
<url>http://repo.eobjects.org</url>
|
|
<snapshots><enabled>true</enabled></snapshots>
|
|
</repository>
|
|
</repositories>
|
|
|
|
<!-- 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>forwardfire.net</organization>
|
|
<timezone>+2</timezone>
|
|
<roles>
|
|
<role>Project Manager</role>
|
|
<role>Architect</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> |