Declare a dependency on the XWork Javadoc jar, then unpack and include it in the assembly.

Re-establish the <dependencyManagement> section in the parent pom, and set the xwork version there.
WW-1378

git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@426376 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Wendy Smoak
2006-07-28 04:17:21 +00:00
parent ac60dc5087
commit 5fd3e1d04f
3 changed files with 37 additions and 6 deletions
+17
View File
@@ -97,6 +97,23 @@
<outputDirectory>${project.build.directory}/apps</outputDirectory>
</configuration>
</execution>
<execution>
<id>xwork-javadoc</id>
<phase>package</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>opensymphony</groupId>
<artifactId>xwork</artifactId>
<classifier>javadoc</classifier>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/xwork-apidocs</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
+7 -1
View File
@@ -46,7 +46,13 @@
<include>*.war</include>
</includes>
</fileSet>
<!-- Include the XWork Javadoc in the assembly -->
<fileSet>
<directory>target/xwork-apidocs</directory>
<outputDirectory>xwork-apidocs</outputDirectory>
</fileSet>
<!-- Include the source code in the assembly -->
<fileSet>
<directory>../</directory>
+13 -5
View File
@@ -50,7 +50,7 @@
robust client and server side validation, and much more.
</description>
-->
<scm>
<connection>scm:svn:http://svn.apache.org/repos/asf/struts/struts2/trunk</connection>
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/struts/struts2/trunk</developerConnection>
@@ -80,7 +80,7 @@
<!--<module>assembly</module>-->
<module>api</module>
</modules>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
@@ -134,8 +134,8 @@
</dependencies>
</profile>
</profiles>
<build>
<pluginManagement>
<plugins>
@@ -227,7 +227,15 @@
</plugins>
</reporting>
<dependencies/>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>opensymphony</groupId>
<artifactId>xwork</artifactId>
<version>2.0-SNAPSHOT</version>
</dependency>
</dependencies>
</dependencyManagement>
<repositories>
<repository>