Files
spring-plugin/pom.xml
Oliver Gierke f4db81a59a * pom.xml formatting * references #320
git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@11634 5a64d73e-33d6-4ccc-9058-23f8668ecac9
2010-06-24 13:27:22 +00:00

336 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-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>
<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>
<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>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<version>1.4.3</version>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Export-Package>*</Export-Package>
<Bundle-SymbolicName>${project.groupId}</Bundle-SymbolicName>
<Include-Resource>src/main/resources</Include-Resource>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.2</version>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</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>nexus.synyx.de</id>
<url>http://nexus.synyx.de/content/repositories/public-releases</url>
</repository>
<snapshotRepository>
<id>nexus.synyx.de</id>
<url>http://nexus.synyx.de/content/repositories/public-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>
</project>