Author: pete.muir(a)jboss.org
Date: 2010-06-04 17:37:36 -0400 (Fri, 04 Jun 2010)
New Revision: 13063
Added:
modules/xml/trunk/docs/src/main/assembly/
modules/xml/trunk/docs/src/main/assembly/assembly.xml
Modified:
modules/xml/trunk/docs/pom.xml
Log:
attach sources
Modified: modules/xml/trunk/docs/pom.xml
===================================================================
--- modules/xml/trunk/docs/pom.xml 2010-06-04 21:37:12 UTC (rev 13062)
+++ modules/xml/trunk/docs/pom.xml 2010-06-04 21:37:36 UTC (rev 13063)
@@ -1,6 +1,7 @@
-<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/xsd/maven-4.0.0.xsd">
+<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<parent>
<groupId>org.jboss.seam.xml</groupId>
<artifactId>seam-xml-config-parent</artifactId>
@@ -27,7 +28,7 @@
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
</plugin>
-
+
<!-- Attach docs as a war so dist can retrieve them -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
@@ -53,7 +54,26 @@
</plugins>
</build>
+ <profiles>
+ <profile>
+ <id>distribution</id>
+ <activation>
+ <property>
+ <name>release</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
<scm>
<
connection>scm:svn:http://anonsvn.jboss.org/repos/seam/modules/xml/tru...
<
developerConnection>scm:svn:https://svn.jboss.org/repos/seam/modules/x...
Added: modules/xml/trunk/docs/src/main/assembly/assembly.xml
===================================================================
--- modules/xml/trunk/docs/src/main/assembly/assembly.xml (rev 0)
+++ modules/xml/trunk/docs/src/main/assembly/assembly.xml 2010-06-04 21:37:36 UTC (rev
13063)
@@ -0,0 +1,17 @@
+<assembly
+
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembl...
+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+
xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-p...
http://maven.apache.org/xsd/assembly-1.1.0.xsd">
+ <id>sources</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <baseDirectory>${project.artifactId}</baseDirectory>
+ <fileSets>
+ <fileSet>
+ <outputDirectory>.</outputDirectory>
+ <directory>${project.basedir}/src/main/docbook/en-US</directory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ </fileSet>
+ </fileSets>
+</assembly>
Property changes on: modules/xml/trunk/docs/src/main/assembly/assembly.xml
___________________________________________________________________
Name: svn:mime-type
+ text/plain