geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r550874 - /geronimo/samples/trunk/samples/pom.xml
Date Tue, 26 Jun 2007 17:34:04 GMT
Author: prasad
Date: Tue Jun 26 10:34:03 2007
New Revision: 550874

URL: http://svn.apache.org/viewvc?view=rev&rev=550874
Log:
* destDir for jxr plugin set to docs

Modified:
    geronimo/samples/trunk/samples/pom.xml

Modified: geronimo/samples/trunk/samples/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/pom.xml?view=diff&rev=550874&r1=550873&r2=550874
==============================================================================
--- geronimo/samples/trunk/samples/pom.xml (original)
+++ geronimo/samples/trunk/samples/pom.xml Tue Jun 26 10:34:03 2007
@@ -16,7 +16,8 @@
     KIND, either express or implied.  See the License for the
     specific language governing permissions and limitations
     under the License.
---><!-- $Rev$ $Date$ --><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/maven-v4_0_0.xsd">
+--><!-- $Rev$ $Date$ -->
+<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/maven-v4_0_0.xsd">
     <modelVersion>4.0.0</modelVersion>
     <parent>
         <groupId>org.apache.geronimo.samples</groupId>
@@ -31,154 +32,155 @@
         Geronimo Samples.
     </description>
 
-            <modules>
-                <module>calculator-stateless-pojo</module>
-                <module>dbtester</module>
-                <module>jms-mdb-sample</module>
-  </modules>
-            <dependencies>
-                <dependency>
-                    <groupId>org.apache.geronimo.specs</groupId>
-                    <artifactId>geronimo-jsp_2.1_spec</artifactId>
-                    <version>1.0-SNAPSHOT</version>
-                    <scope>provided</scope>
-                </dependency>
-                <dependency>
-                    <groupId>org.apache.geronimo.specs</groupId>
-                    <artifactId>geronimo-ejb_3.0_spec</artifactId>
-                    <version>1.0</version>
-                    <scope>provided</scope>
-                </dependency>
-                <dependency>
-                    <groupId>org.apache.geronimo.specs</groupId>
-                    <artifactId>geronimo-servlet_2.5_spec</artifactId>
-                    <version>1.1-SNAPSHOT</version>
-                    <scope>provided</scope>
-                </dependency>
-            </dependencies>
-
-            <build>
-                <resources>
-                    <resource>
-                        <directory>${pom.basedir}/src/main/resources</directory>
-                        <filtering>true</filtering>
-                    </resource>
-                </resources>
-
-                <pluginManagement>
-                    <plugins>
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-war-plugin</artifactId>
-                            <version>2.0.2</version>
-                            <configuration>
-                                <!--
-                                  <archiveClasses>true</archiveClasses>
-                                  -->
-                                <archive>
-                                    <!-- Do not include META-INF/maven to avoid long file
problems on windows -->
-                                    <addMavenDescriptor>false</addMavenDescriptor>
-                                </archive>
-                            </configuration>
-                        </plugin>
-
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-ear-plugin</artifactId>
-                            <configuration>
-                                <resourcesDir>${project.build.outputDirectory}</resourcesDir>
-                                <archive>
-                                    <!-- Do not include META-INF/maven to avoid long file
problems on windows -->
-                                    <addMavenDescriptor>false</addMavenDescriptor>
-                                </archive>
-                            </configuration>
-                        </plugin>
-                        <plugin>
-                            <groupId>org.apache.maven.plugins</groupId>
-                            <artifactId>maven-jar-plugin</artifactId>
-                            <configuration>
-                                <archive>
-                                    <!-- Do not include META-INF/maven to avoid long file
problems on windows -->
-                                    <addMavenDescriptor>false</addMavenDescriptor>
-                                </archive>
-                            </configuration>
-                        </plugin>
-                    </plugins>
-                </pluginManagement>
-            </build>
-
-            <reporting>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-project-info-reports-plugin</artifactId>
-                        <version>2.0.1</version>
-                        <reportSets>
-                            <reportSet>
-                                <reports/>
-                            </reportSet>
-                        </reportSets>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-javadoc-plugin</artifactId>
-                        <version>2.2-SNAPSHOT</version>
-                        <configuration>
-                            <aggregate>true</aggregate>
-                            <minmemory>128m</minmemory>
-                            <maxmemory>512</maxmemory>
-                            <breakiterator>true</breakiterator>
-                            <quiet>true</quiet>
-                            <verbose>false</verbose>
-                            <source>1.5</source>
-                            <linksource>true</linksource>
-                            <links>
-                                <!-- JSE -->
-                                <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
-                                <link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
-                                <link>http://java.sun.com/j2se/1.3/docs/api/</link>
+    <modules>
+        <module>calculator-stateless-pojo</module>
+        <module>dbtester</module>
+        <module>jms-mdb-sample</module>
+    </modules>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jsp_2.1_spec</artifactId>
+            <version>1.0-SNAPSHOT</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-ejb_3.0_spec</artifactId>
+            <version>1.0</version>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-servlet_2.5_spec</artifactId>
+            <version>1.1-SNAPSHOT</version>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>${pom.basedir}/src/main/resources</directory>
+                <filtering>true</filtering>
+            </resource>
+        </resources>
+
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-war-plugin</artifactId>
+                    <version>2.0.2</version>
+                    <configuration>
+                        <!--
+                          <archiveClasses>true</archiveClasses>
+                          -->
+                        <archive>
+                            <!-- Do not include META-INF/maven to avoid long file problems
on windows -->
+                            <addMavenDescriptor>false</addMavenDescriptor>
+                        </archive>
+                    </configuration>
+                </plugin>
+
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-ear-plugin</artifactId>
+                    <configuration>
+                        <resourcesDir>${project.build.outputDirectory}</resourcesDir>
+                        <archive>
+                            <!-- Do not include META-INF/maven to avoid long file problems
on windows -->
+                            <addMavenDescriptor>false</addMavenDescriptor>
+                        </archive>
+                    </configuration>
+                </plugin>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-jar-plugin</artifactId>
+                    <configuration>
+                        <archive>
+                            <!-- Do not include META-INF/maven to avoid long file problems
on windows -->
+                            <addMavenDescriptor>false</addMavenDescriptor>
+                        </archive>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+    </build>
+
+    <reporting>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-project-info-reports-plugin</artifactId>
+                <version>2.0.1</version>
+                <reportSets>
+                    <reportSet>
+                        <reports/>
+                    </reportSet>
+                </reportSets>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-javadoc-plugin</artifactId>
+                <version>2.2-SNAPSHOT</version>
+                <configuration>
+                    <aggregate>true</aggregate>
+                    <minmemory>128m</minmemory>
+                    <maxmemory>512</maxmemory>
+                    <breakiterator>true</breakiterator>
+                    <quiet>true</quiet>
+                    <verbose>false</verbose>
+                    <source>1.5</source>
+                    <linksource>true</linksource>
+                    <links>
+                        <!-- JSE -->
+                        <link>http://java.sun.com/j2se/1.5.0/docs/api/</link>
+                        <link>http://java.sun.com/j2se/1.4.2/docs/api/</link>
+                        <link>http://java.sun.com/j2se/1.3/docs/api/</link>
                         
-                                <!-- JEE -->
-                                <link>http://java.sun.com/j2ee/1.4/docs/api/</link>
-                                <link>http://java.sun.com/j2ee/sdk_1.3/techdocs/api/</link>
+                        <!-- JEE -->
+                        <link>http://java.sun.com/j2ee/1.4/docs/api/</link>
+                        <link>http://java.sun.com/j2ee/sdk_1.3/techdocs/api/</link>
                         
-                                <!-- Libraries -->
-                                <link>http://jakarta.apache.org/commons/collections/apidocs</link>
-                                <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
-                                <link>http://www.junit.org/junit/javadoc/</link>
-                                <link>http://logging.apache.org/log4j/docs/api/</link>
-                                <link>http://jakarta.apache.org/regexp/apidocs/</link>
-                                <link>http://jakarta.apache.org/velocity/api/</link>
-                            </links>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-jxr-plugin</artifactId>
-                        <version>2.0</version>
-                        <configuration>
-                            <aggregate>true</aggregate>
-                        </configuration>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-surefire-report-plugin</artifactId>
-                        <inherited>false</inherited>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-pmd-plugin</artifactId>
-                        <inherited>false</inherited>
-                    </plugin>
-                    <plugin>
-                        <groupId>org.apache.maven.plugins</groupId>
-                        <artifactId>maven-checkstyle-plugin</artifactId>
-                        <inherited>false</inherited>
-                    </plugin>
-                </plugins>
-            </reporting>
+                        <!-- Libraries -->
+                        <link>http://jakarta.apache.org/commons/collections/apidocs</link>
+                        <link>http://jakarta.apache.org/commons/logging/apidocs/</link>
+                        <link>http://www.junit.org/junit/javadoc/</link>
+                        <link>http://logging.apache.org/log4j/docs/api/</link>
+                        <link>http://jakarta.apache.org/regexp/apidocs/</link>
+                        <link>http://jakarta.apache.org/velocity/api/</link>
+                    </links>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-jxr-plugin</artifactId>
+                <version>2.0</version>
+                <configuration>
+                    <aggregate>true</aggregate>
+                    <destDir>${project.basedir}/docs/xref</destDir>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-report-plugin</artifactId>
+                <inherited>false</inherited>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-pmd-plugin</artifactId>
+                <inherited>false</inherited>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-checkstyle-plugin</artifactId>
+                <inherited>false</inherited>
+            </plugin>
+        </plugins>
+    </reporting>
 
-      <profiles>
+    <profiles>
         <!-- This profile creates a sample template.
               Use -DsampleName to specify the name of your sample.
               Use -DsampleVersion to specify the version for your sample
@@ -186,39 +188,39 @@
         <profile>
             <id>create</id>
             <build>
-                  <defaultGoal>validate</defaultGoal>
-                    <plugins>
-                        <plugin>
-                            <artifactId>maven-antrun-plugin</artifactId>
-                            <inherited>false</inherited>
-                            <executions>
-                                <execution>
-                                    <phase>validate</phase>
-                                    <configuration>
-                                        <tasks>
-                                          <condition property="mvn.exe" value="mvn.bat"
else="mvn">
-                                              <os family="windows"/>
-                                          </condition>
-                                            <exec executable="${mvn.exe}">
-                                                <arg value="archetype:create"/>
-                                                <arg value="-DarchetypeGroupId=org.apache.geronimo.samples"/>
-                                                <arg value="-DarchetypeArtifactId=geronimo-samples-archetype"/>
-                                                <arg value="-DarchetypeVersion=2.0-SNAPSHOT"/>
-                                                <arg value="-DartifactId=${sampleName}"/>
-                                                <arg value="-Dversion=${sampleVersion}"/>
-                                            </exec>
-                                            <move file="${sampleName}/sample-ear" tofile="${sampleName}/${sampleName}-ear"/>
-                                            <move file="${sampleName}/sample-ejb" tofile="${sampleName}/${sampleName}-ejb"/>
-                                            <move file="${sampleName}/sample-war" tofile="${sampleName}/${sampleName}-war"/>
-                                        </tasks>
-                                    </configuration>
-                                    <goals>
-                                        <goal>run</goal>
-                                    </goals>
-                                </execution>
-                            </executions>
-                        </plugin>
-                    </plugins>
+                <defaultGoal>validate</defaultGoal>
+                <plugins>
+                    <plugin>
+                        <artifactId>maven-antrun-plugin</artifactId>
+                        <inherited>false</inherited>
+                        <executions>
+                            <execution>
+                                <phase>validate</phase>
+                                <configuration>
+                                    <tasks>
+                                        <condition property="mvn.exe" value="mvn.bat"
else="mvn">
+                                            <os family="windows"/>
+                                        </condition>
+                                        <exec executable="${mvn.exe}">
+                                            <arg value="archetype:create"/>
+                                            <arg value="-DarchetypeGroupId=org.apache.geronimo.samples"/>
+                                            <arg value="-DarchetypeArtifactId=geronimo-samples-archetype"/>
+                                            <arg value="-DarchetypeVersion=2.0-SNAPSHOT"/>
+                                            <arg value="-DartifactId=${sampleName}"/>
+                                            <arg value="-Dversion=${sampleVersion}"/>
+                                        </exec>
+                                        <move file="${sampleName}/sample-ear" tofile="${sampleName}/${sampleName}-ear"/>
+                                        <move file="${sampleName}/sample-ejb" tofile="${sampleName}/${sampleName}-ejb"/>
+                                        <move file="${sampleName}/sample-war" tofile="${sampleName}/${sampleName}-war"/>
+                                    </tasks>
+                                </configuration>
+                                <goals>
+                                    <goal>run</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
             </build>
         </profile>
     </profiles>



Mime
View raw message