Author: artdaw
Date: 2008-11-18 08:44:22 -0500 (Tue, 18 Nov 2008)
New Revision: 11207
Removed:
trunk/docs/migrationguide/en/src/main/resources/
Modified:
trunk/docs/migrationguide/pom.xml
Log:
https://jira.jboss.org/jira/browse/RF-4107 - one resources folder was added
Modified: trunk/docs/migrationguide/pom.xml
===================================================================
--- trunk/docs/migrationguide/pom.xml 2008-11-18 13:07:37 UTC (rev 11206)
+++ trunk/docs/migrationguide/pom.xml 2008-11-18 13:44:22 UTC (rev 11207)
@@ -30,6 +30,45 @@
<pluginManagement>
<plugins>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>
+ org.richfaces.docs.common-resources
+ </groupId>
+ <artifactId>
+ ${project.translation}
+ </artifactId>
+ <version>
+ ${project.version}
+ </version>
+ <type>jar</type>
+ <overWrite>true</overWrite>
+ <outputDirectory>
+ ${project.build.directory}
+ </outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ <overWriteReleases>
+ false
+ </overWriteReleases>
+ <overWriteSnapshots>
+ true
+ </overWriteSnapshots>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.jboss.maven.plugins</groupId>
<artifactId>maven-jdocbook-plugin</artifactId>
<version>2.1.0-200803311251UTC-MPJDOCBOOK-8</version>
@@ -68,14 +107,26 @@
<version>1.1.0-SNAPSHOT</version>
<type>jdocbook-style</type>
</dependency>
+ <dependency>
+ <groupId>org.richfaces.docs.common-resources</groupId>
+ <artifactId>${translation}</artifactId>
+ <version>${project.version}</version>
+ <type>jar</type>
+ </dependency>
</dependencies>
<configuration>
- <sourceDirectory> ${basedir}/src/main/docbook </sourceDirectory>
+ <sourceDirectory>
+ ${basedir}/src/main/docbook
+ </sourceDirectory>
<imageResource>
- <directory> ${basedir}/src/main/resources </directory>
+ <directory>
+ ${project.build.directory}/common-resources
+ </directory>
</imageResource>
<cssResource>
- <directory> ${basedir}/src/main/resources </directory>
+ <directory>
+ ${project.build.directory}/common-resources
+ </directory>
</cssResource>
<sourceDocumentName>master.xml</sourceDocumentName>
<formats>
@@ -88,7 +139,7 @@
<format>
<formatName>html</formatName>
<stylesheetResource>
- file:${pom.basedir}/src/main/resources/xslt/org/jboss/richfaces/xhtml.xsl
+ ${xsl_html}
</stylesheetResource>
<finalName>index.html</finalName>
<imageCopyingRequired>
@@ -100,7 +151,9 @@
</format>
<format>
<formatName>html_single</formatName>
- <stylesheetResource>file:${pom.basedir}/src/main/resources/xslt/org/jboss/richfaces/xhtml-single.xsl</stylesheetResource>
+ <stylesheetResource>
+ ${xsl_html_single}
+ </stylesheetResource>
<imageCopyingRequired>true</imageCopyingRequired>
<imagePathSettingRequired>false</imagePathSettingRequired>
<finalName>index.html </finalName>