Files
spring-plugin/pom.xml
Oliver Gierke f0b5ff07a8 Updated pom.xml files.
* use Maven artifacts over the ones from the EBR
* moved common test dependencies to parent pom
* updated dependency versions where possible
2011-05-25 18:15:47 +02:00

360 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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.synyx.hera</groupId>
<artifactId>org.synyx.hera</artifactId>
<packaging>pom</packaging>
<name>Hera</name>
<version>0.7.0.BUILD-SNAPSHOT</version>
<description>Simple plugin infrastructure</description>
<organization>
<name>Synyx GmbH &amp; Co. KG</name>
<url>http://www.synyx.org</url>
</organization>
<inceptionYear>2008</inceptionYear>
<modules>
<module>core</module>
<module>metadata</module>
</modules>
<properties>
<spring.version>2.5.6.SEC02</spring.version>
</properties>
<developers>
<developer>
<id>gierke</id>
<name>Oliver Gierke</name>
<email>ogierke@vmware.com</email>
<url>http://www.olivergierke.de</url>
<organization>SpringSource - a division of VMware</organization>
<organizationUrl>http://www.springsource.com</organizationUrl>
<roles>
<role>Project lead</role>
</roles>
<timezone>+1</timezone>
</developer>
</developers>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.16</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.8.4</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Docbook -->
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>2.0.8</version>
<executions>
<execution>
<goals>
<goal>generate-html</goal>
<goal>generate-pdf</goal>
</goals>
<phase>pre-site</phase>
</execution>
</executions>
<inherited>false</inherited>
<dependencies>
<dependency>
<groupId>offo.hyphenation</groupId>
<artifactId>fop-hyph</artifactId>
<version>0.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.docbook</groupId>
<artifactId>docbook-xml</artifactId>
<version>4.4</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<configuration>
<sourceDirectory>${basedir}/src/doc</sourceDirectory>
<targetDirectory>${basedir}/target/doc</targetDirectory>
<foCustomization>src/doc/layout/pdf/fo-pdf.xsl</foCustomization>
<htmlCustomization>src/doc/layout/html/fo-html.xsl</htmlCustomization>
<htmlStylesheet>resources/styles.css</htmlStylesheet>
<chunkedOutput>true</chunkedOutput>
<fonts>
<font>
<name>StellaLining</name>
<style>normal</style>
<weight>normal</weight>
<embedFile>${basedir}/src/doc/layout/pdf/fonts/SteLiR__.ttf</embedFile>
<metricsFile>${basedir}/src/doc/layout/pdf/fonts/SteLiR__.xml</metricsFile>
</font>
<font>
<name>StellaLining</name>
<style>italic</style>
<weight>normal</weight>
<embedFile>${basedir}/src/doc/layout/pdf/fonts/SteLiI__.ttf</embedFile>
<metricsFile>${basedir}/src/doc/layout/pdf/fonts/SteLiI__.xml</metricsFile>
</font>
<font>
<name>StellaLining</name>
<style>normal</style>
<weight>bold</weight>
<embedFile>${basedir}/src/doc/layout/pdf/fonts/SteLiB__.ttf</embedFile>
<metricsFile>${basedir}/src/doc/layout/pdf/fonts/SteLiB__.xml</metricsFile>
</font>
<font>
<name>StellaLining</name>
<style>italic</style>
<weight>bold</weight>
<embedFile>
${basedir}/src/doc/layout/pdf/fonts/SteLiBI_.ttf
</embedFile>
<metricsFile>
${basedir}/src/doc/layout/pdf/fonts/SteLiBI_.xml
</metricsFile>
</font>
</fonts>
<preProcess>
<copy todir="${basedir}/target/doc/images">
<!-- Copy layout images -->
<fileset dir="${basedir}/src/doc/layout/pdf/images" />
<fileset dir="${basedir}/src/doc/layout/html/images" />
<!-- Copy content images -->
<fileset dir="${basedir}/src/doc/images" />
</copy>
<copy todir="${basedir}/target/doc/resources">
<fileset dir="${basedir}/src/doc/layout/html/resources" />
</copy>
</preProcess>
</configuration>
</plugin>
<plugin>
<groupId>com.springsource.bundlor</groupId>
<artifactId>com.springsource.bundlor.maven</artifactId>
<version>1.0.0.RELEASE</version>
<executions>
<execution>
<id>bundlor</id>
<goals>
<goal>bundlor</goal>
</goals>
<phase>process-classes</phase>
</execution>
</executions>
<configuration>
<failOnWarnings>true</failOnWarnings>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<configuration>
<useDefaultManifestFile>true</useDefaultManifestFile>
</configuration>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- Additional plugins for deploy step -->
<id>release</id>
<activation>
<property>
<name>performRelease</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<!-- Sign artifacts -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
<configuration>
<keyname>${gpg.key}</keyname>
<passphrase>${gpg.password}</passphrase>
</configuration>
</execution>
</executions>
</plugin>
<!-- Package JavaDoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.5</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.4</version>
<configuration>
<targetJdk>1.5</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javancss-maven-plugin</artifactId>
<version>2.0-beta-2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.0</version>
<configuration>
<preparationGoals>clean verify site:site site:deploy</preparationGoals>
<scmCommentPrefix> * [maven-release-plugin] - </scmCommentPrefix>
</configuration>
</plugin>
</plugins>
</reporting>
<scm>
<url>http://svn.synyx.org/synyx/opensource/hera</url>
<connection>scm:svn:http://svn.synyx.org/synyx/opensource/hera</connection>
<developerConnection>scm:svn:https://svn.synyx.de/svn/synyx/opensource/hera</developerConnection>
</scm>
<ciManagement>
<system>Hudson</system>
</ciManagement>
<issueManagement>
<system>Redmine</system>
<url>http://hera.synyx.org</url>
</issueManagement>
<distributionManagement>
<site>
<id>static.synyx.org</id>
<url>scp://static.synyx.org/home/public/public_html/hera/site</url>
</site>
<repository>
<id>sonatype</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
</repository>
<snapshotRepository>
<id>sonatype</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>com.springsource.repository.bundles.release</id>
<name>SpringSource Enterprise Bundle Repository - Release Bundles</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>com.springsource.repository.bundles.external</id>
<name>SpringSource Enterprise Bundle Repository - External Bundles</name>
<url>http://repository.springsource.com/maven/bundles/external</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>com.springsource.repository.bundles.release</id>
<name>SpringSource Enterprise Bundle Repository - SpringSource Bundle Release Bundles</name>
<url>http://repository.springsource.com/maven/bundles/release</url>
</pluginRepository>
</pluginRepositories>
</project>