You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by ja...@apache.org on 2011/06/15 00:30:25 UTC
svn commit: r1135830 -
/myfaces/extensions/cdi/trunk/bundles/alternative-configuration/pom.xml
Author: jakobk
Date: Tue Jun 14 22:30:25 2011
New Revision: 1135830
URL: http://svn.apache.org/viewvc?rev=1135830&view=rev
Log:
EXTCDI-201 add maven-javadoc-plugin configuration to alternative-configuration module
Modified:
myfaces/extensions/cdi/trunk/bundles/alternative-configuration/pom.xml
Modified: myfaces/extensions/cdi/trunk/bundles/alternative-configuration/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/extensions/cdi/trunk/bundles/alternative-configuration/pom.xml?rev=1135830&r1=1135829&r2=1135830&view=diff
==============================================================================
--- myfaces/extensions/cdi/trunk/bundles/alternative-configuration/pom.xml (original)
+++ myfaces/extensions/cdi/trunk/bundles/alternative-configuration/pom.xml Tue Jun 14 22:30:25 2011
@@ -52,6 +52,13 @@
<scope>provided</scope>
</dependency>
+ <!-- needed for javadoc generation -->
+ <dependency>
+ <groupId>org.apache.myfaces.extensions.cdi.modules.alternative</groupId>
+ <artifactId>myfaces-extcdi-alternative-implementation-module</artifactId>
+ <scope>provided</scope>
+ </dependency>
+
<dependency>
<groupId>org.apache.myfaces.extensions.cdi.modules.alternative</groupId>
<artifactId>myfaces-extcdi-core-alternative-configuration</artifactId>
@@ -130,4 +137,46 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <!-- override apache-release profile for custom javadoc configuration -->
+ <id>apache-release</id>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <!-- overrides attach-javadocs from apache-parent -->
+ <id>attach-javadocs</id>
+ <phase>package</phase>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ <configuration>
+ <!-- switch on dependency-driven aggregation -->
+ <includeDependencySources>true</includeDependencySources>
+
+ <dependencySourceExcludes>
+ <!-- exclude org.apache.geronimo.specs artifacts -->
+ <dependencySourceExclude>org.apache.geronimo.specs:*</dependencySourceExclude>
+
+ <!-- exclude provided dependencies of this module -->
+ <dependencySourceExclude>org.apache.myfaces.extensions.cdi.core:*</dependencySourceExclude>
+ <dependencySourceExclude>org.apache.myfaces.extensions.cdi.modules:*</dependencySourceExclude>
+ <dependencySourceExclude>org.apache.myfaces.extensions.cdi.modules.alternative:myfaces-extcdi-alternative-implementation-module</dependencySourceExclude>
+ </dependencySourceExcludes>
+
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>