You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by lt...@apache.org on 2009/02/19 13:55:41 UTC
svn commit: r745843 - /maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml
Author: ltheussl
Date: Thu Feb 19 12:55:41 2009
New Revision: 745843
URL: http://svn.apache.org/viewvc?rev=745843&view=rev
Log:
Shade doxia deps to make the plugin work with maven 2.0.x. Minimum requirement now seems to be 2.0.6.
Modified:
maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml
Modified: maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml?rev=745843&r1=745842&r2=745843&view=diff
==============================================================================
--- maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml (original)
+++ maven/sandbox/trunk/plugins/maven-pdf-plugin/pom.xml Thu Feb 19 12:55:41 2009
@@ -34,11 +34,7 @@
<version>1.0-SNAPSHOT</version>
<prerequisites>
- <!--
- NOTE: 2.1.0-M2 trunk does not yet use doxia-1.1, need to build locally.
- Plan is to switch 2.1.0-M3 to doxia-1.1, see MNG-3402
- -->
- <maven>2.1.0-M2-SNAPSHOT</maven>
+ <maven>2.0.6</maven>
</prerequisites>
<developers>
@@ -175,7 +171,7 @@
<properties>
<doxia.version>1.1-SNAPSHOT</doxia.version>
- <maven.version>2.0.4</maven.version>
+ <maven.version>2.0.6</maven.version>
</properties>
<build>
@@ -185,15 +181,59 @@
<version>2.0-beta-6</version>
<!--<version>2.1-SNAPSHOT</version>-->
</plugin>
- <plugin>
- <artifactId>maven-plugin-plugin</artifactId>
- <version>2.4.1</version>
- <!--<version>2.5-SNAPSHOT</version>-->
- </plugin>
+
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.3</version>
</plugin>
+
+ <plugin>
+ <artifactId>maven-pdf-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>site-pdf</id>
+ <phase>site</phase>
+ <goals>
+ <goal>pdf</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.reporting.outputDirectory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- Backward compatibility with Maven 2.0.x, see MNG-3402 -->
+ <plugin>
+ <artifactId>maven-shade-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+ <finalName>${project.build.finalName}</finalName>
+ <createDependencyReducedPom>
+ false
+ </createDependencyReducedPom>
+ <keepDependenciesWithProvidedScope>
+ true
+ </keepDependenciesWithProvidedScope>
+ <transformers>
+ <transformer implementation="org.apache.maven.plugins.shade.resource.ComponentsXmlResourceTransformer" />
+ </transformers>
+ <artifactSet>
+ <includes>
+ <include>org.apache.maven.doxia:doxia-sink-api</include>
+ <include>org.apache.maven.doxia:doxia-logging-api</include>
+ </includes>
+ </artifactSet>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
@@ -204,6 +244,11 @@
<version>2.0.1</version>
<!--<version>2.3-SNAPSHOT</version>-->
</plugin>
+ <plugin>
+ <artifactId>maven-plugin-plugin</artifactId>
+ <version>2.4.1</version>
+ <!--<version>2.5-SNAPSHOT</version>-->
+ </plugin>
</plugins>
</reporting>