openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r960723 - in /openwebbeans/trunk/webbeans-doc: ./ pom.xml
Date Mon, 05 Jul 2010 22:54:52 GMT
Author: struberg
Date: Mon Jul  5 22:54:52 2010
New Revision: 960723

URL: http://svn.apache.org/viewvc?rev=960723&view=rev
Log:
build documentation only in profile 'doc'

Modified:
    openwebbeans/trunk/webbeans-doc/   (props changed)
    openwebbeans/trunk/webbeans-doc/pom.xml

Propchange: openwebbeans/trunk/webbeans-doc/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Mon Jul  5 22:54:52 2010
@@ -1,5 +1,11 @@
 target
-docbook-xml
-.settings
+.metadata
 .classpath
 .project
+.settings
+*.iml
+*.ipr
+*.iws
+.git
+.gitignore
+

Modified: openwebbeans/trunk/webbeans-doc/pom.xml
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-doc/pom.xml?rev=960723&r1=960722&r2=960723&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-doc/pom.xml (original)
+++ openwebbeans/trunk/webbeans-doc/pom.xml Mon Jul  5 22:54:52 2010
@@ -25,90 +25,96 @@
     <name>Apache OpenWebBeans :: Documentation</name>
     <packaging>jar</packaging>
     <description>Apache OpenWebBeans Documentation</description>
-    <build>
-        <plugins>
-            <!-- Maven docbook configuration  -->
-            <plugin>
-                <groupId>com.agilejava.docbkx</groupId>
-                <artifactId>docbkx-maven-plugin</artifactId>
-                <version>2.0.8</version>
-                <executions>
-                    <execution>
-                        <id>single-pdf-page</id>
-                        <goals>
-                            <goal>generate-pdf</goal>
-                        </goals>
-                        <configuration>
-                            <calloutGraphicsPath>src/docbkx/resources/images/callouts/</calloutGraphicsPath>
-                            <admonGraphicsPath>src/docbkx/resources/images/admons/</admonGraphicsPath>
-                            <imgSrcPath>src/docbkx/resources/images/</imgSrcPath>
-                            <foCustomization>${basedir}/src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
-                            <draftMode>1</draftMode>
-                            <postProcess>
-                                <copy todir="${basedir}/target/site">
-                                    <fileset dir="${basedir}/target/docbkx">
-                                        <include name="**/*.pdf" />
-                                    </fileset>
-                                </copy>
-                            </postProcess>
-                        </configuration>
-                        <phase>generate-sources</phase>
-                    </execution>
-                    <execution>
-                        <id>single-html-page</id>
-                        <goals>
-                            <goal>generate-html</goal>
-                        </goals>
+
+    <profiles>
+        <profile>
+            <id>doc</id>
+            <build>
+                <plugins>
+                    <!-- Maven docbook configuration  -->
+                    <plugin>
+                        <groupId>com.agilejava.docbkx</groupId>
+                        <artifactId>docbkx-maven-plugin</artifactId>
+                        <version>2.0.8</version>
+                        <executions>
+                            <execution>
+                                <id>single-pdf-page</id>
+                                <goals>
+                                    <goal>generate-pdf</goal>
+                                </goals>
+                                <configuration>
+                                    <calloutGraphicsPath>src/docbkx/resources/images/callouts/</calloutGraphicsPath>
+                                    <admonGraphicsPath>src/docbkx/resources/images/admons/</admonGraphicsPath>
+                                    <imgSrcPath>src/docbkx/resources/images/</imgSrcPath>
+                                    <foCustomization>${basedir}/src/docbkx/resources/xsl/fopdf.xsl</foCustomization>
+                                    <draftMode>1</draftMode>
+                                    <postProcess>
+                                        <copy todir="${basedir}/target/site">
+                                            <fileset dir="${basedir}/target/docbkx">
+                                                <include name="**/*.pdf" />
+                                            </fileset>
+                                        </copy>
+                                    </postProcess>
+                                </configuration>
+                                <phase>generate-sources</phase>
+                            </execution>
+                            <execution>
+                                <id>single-html-page</id>
+                                <goals>
+                                    <goal>generate-html</goal>
+                                </goals>
+                                <configuration>
+                                    <imgSrcPath>images/</imgSrcPath>
+                                    <chunkedOutput>false</chunkedOutput>
+                                    <targetDirectory>${basedir}/target/docbkx/html-single</targetDirectory>
+                                    <htmlStylesheet>css/html.css</htmlStylesheet>
+                                    <htmlCustomization>${basedir}/src/docbkx/resources/xsl/html.xsl</htmlCustomization>
+                                    <!--
+                                        Just because it's sometimes time costly, I
+                                        delete only this directory to allow re
+                                        generation by docbkx plugin During documentation
+                                        phase, it's useful because it allows a quick and
+                                        nice overview without costly pdf generation and
+                                        all packaging.
+                                    -->
+                                    <preProcess>
+                                        <delete dir="${basedir}/target/docbkx/html-single"
/>
+                                    </preProcess>
+                                    <postProcess>
+                                        <copy todir="${basedir}/target/site/html-single">
+                                            <fileset
+                                                dir="${basedir}/target/docbkx/html-single">
+                                                <include name="**/*.html" />
+                                            </fileset>
+                                        </copy>
+                                        <copy todir="${basedir}/target/site/html-single">
+                                            <fileset dir="${basedir}/src/docbkx/resources">
+                                                <include name="**/*.css" />
+                                                <include name="**/*.png" />
+                                                <include name="**/*.gif" />
+                                                <include name="**/*.jpg" />
+                                            </fileset>
+                                        </copy>
+                                    </postProcess>
+                                </configuration>
+                                <phase>generate-sources</phase>
+                            </execution>
+                        </executions>
                         <configuration>
-                            <imgSrcPath>images/</imgSrcPath>
-                            <chunkedOutput>false</chunkedOutput>
-                            <targetDirectory>${basedir}/target/docbkx/html-single</targetDirectory>
-                            <htmlStylesheet>css/html.css</htmlStylesheet>
-                            <htmlCustomization>${basedir}/src/docbkx/resources/xsl/html.xsl</htmlCustomization>
-                            <!--
-                                Just because it's sometimes time costly, I
-                                delete only this directory to allow re
-                                generation by docbkx plugin During documentation
-                                phase, it's useful because it allows a quick and
-                                nice overview without costly pdf generation and
-                                all packaging.
-                            -->
-                            <preProcess>
-                                <delete dir="${basedir}/target/docbkx/html-single" />
-                            </preProcess>
-                            <postProcess>
-                                <copy todir="${basedir}/target/site/html-single">
-                                    <fileset
-                                        dir="${basedir}/target/docbkx/html-single">
-                                        <include name="**/*.html" />
-                                    </fileset>
-                                </copy>
-                                <copy todir="${basedir}/target/site/html-single">
-                                    <fileset dir="${basedir}/src/docbkx/resources">
-                                        <include name="**/*.css" />
-                                        <include name="**/*.png" />
-                                        <include name="**/*.gif" />
-                                        <include name="**/*.jpg" />
-                                    </fileset>
-                                </copy>
-                            </postProcess>
+                            <xincludeSupported>true</xincludeSupported>
                         </configuration>
-                        <phase>generate-sources</phase>
-                    </execution>
-                </executions>
-                <configuration>
-                    <xincludeSupported>true</xincludeSupported>
-                </configuration>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.docbook</groupId>
-                        <artifactId>docbook-xml</artifactId>
-                        <version>4.4</version>
-                        <scope>runtime</scope>
-                    </dependency>
-                </dependencies>
-            </plugin>
-        </plugins>
-    </build>
+                        <dependencies>
+                            <dependency>
+                                <groupId>org.docbook</groupId>
+                                <artifactId>docbook-xml</artifactId>
+                                <version>4.4</version>
+                                <scope>runtime</scope>
+                            </dependency>
+                        </dependencies>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
+    </profiles>
 
 </project>



Mime
View raw message