geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pra...@apache.org
Subject svn commit: r550888 - in /geronimo/samples/trunk/samples: ./ calculator-stateless-pojo/ calculator-stateless-pojo/calculator-stateless-ear/ calculator-stateless-pojo/calculator-stateless-war/ dbtester/ dbtester/dbtester-ear/ dbtester/dbtester-war/
Date Tue, 26 Jun 2007 18:05:09 GMT
Author: prasad
Date: Tue Jun 26 11:05:08 2007
New Revision: 550888

URL: http://svn.apache.org/viewvc?view=rev&rev=550888
Log:
* deleted scripts.
* generating repots to "docs" dir

Removed:
    geronimo/samples/trunk/samples/calculator-stateless-pojo/install-sample.html
    geronimo/samples/trunk/samples/createSample.bat
    geronimo/samples/trunk/samples/createSample.sh
    geronimo/samples/trunk/samples/dbtester/install-sample.html
Modified:
    geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-ear/pom.xml
    geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-war/pom.xml
    geronimo/samples/trunk/samples/calculator-stateless-pojo/pom.xml
    geronimo/samples/trunk/samples/dbtester/dbtester-ear/pom.xml
    geronimo/samples/trunk/samples/dbtester/dbtester-war/pom.xml
    geronimo/samples/trunk/samples/dbtester/pom.xml

Modified: geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-ear/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-ear/pom.xml?view=diff&rev=550888&r1=550887&r2=550888
==============================================================================
--- geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-ear/pom.xml
(original)
+++ geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-ear/pom.xml
Tue Jun 26 11:05:08 2007
@@ -80,25 +80,28 @@
                     </modules>
                 </configuration>
             </plugin>
-        </plugins>
-    </build>
 
-    <profiles>
-        <profile>
-            <id>user</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.geronimo.plugins</groupId>
-                        <artifactId>geronimo-maven-plugin</artifactId>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>install</phase>
+                        <id>copy-parent-target</id>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
                         <configuration>
-                            <modulePlan>${project.build.outputDirectory}/META-INF/geronimo-application.xml</modulePlan>
+                            <tasks>
+                                <echo>Copying ${pom.build.finalName}.ear file to parent</echo>
+                                <copy file ="${project.build.directory}/${pom.artifactId}-${pom.version}.ear"
todir="${pom.basedir}/.." failonerror="false" overwrite="true" />
+                            </tasks>
                         </configuration>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-    
+                    </execution>
+                </executions>
+            </plugin>
+
+        </plugins>
+    </build>
 
 </project>

Modified: geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-war/pom.xml?view=diff&rev=550888&r1=550887&r2=550888
==============================================================================
--- geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-war/pom.xml
(original)
+++ geronimo/samples/trunk/samples/calculator-stateless-pojo/calculator-stateless-war/pom.xml
Tue Jun 26 11:05:08 2007
@@ -58,7 +58,7 @@
                             <tasks>
                               <echo>Copying site directory from parent</echo>
                                 <copy todir="${project.build.directory}/${artifactId}-${version}"
failonerror="false" overwrite="true">
-                                    <fileset dir="${basedir}/../target/site"/>
+                                    <fileset dir="${basedir}/../docs"/>
                                 </copy>
                             </tasks>
                         </configuration>

Modified: geronimo/samples/trunk/samples/calculator-stateless-pojo/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/calculator-stateless-pojo/pom.xml?view=diff&rev=550888&r1=550887&r2=550888
==============================================================================
--- geronimo/samples/trunk/samples/calculator-stateless-pojo/pom.xml (original)
+++ geronimo/samples/trunk/samples/calculator-stateless-pojo/pom.xml Tue Jun 26 11:05:08 2007
@@ -42,6 +42,18 @@
     </modules>
 
 
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-site-plugin</artifactId>
+                <inherited>false</inherited>
+                <configuration>
+                  <outputDirectory>${project.basedir}/docs</outputDirectory>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
     <repositories>
         <repository>
             <id>apache-snapshots</id>

Modified: geronimo/samples/trunk/samples/dbtester/dbtester-ear/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/dbtester/dbtester-ear/pom.xml?view=diff&rev=550888&r1=550887&r2=550888
==============================================================================
--- geronimo/samples/trunk/samples/dbtester/dbtester-ear/pom.xml (original)
+++ geronimo/samples/trunk/samples/dbtester/dbtester-ear/pom.xml Tue Jun 26 11:05:08 2007
@@ -64,23 +64,28 @@
                     </modules>
                 </configuration>
             </plugin>
+
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>install</phase>
+                        <id>copy-parent-target</id>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <echo>Copying ${pom.build.finalName}.ear file to parent</echo>
+                                <copy file ="${project.build.directory}/${pom.artifactId}-${version}.ear"
todir="${pom.basedir}/.." failonerror="false" overwrite="true" />
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>
-
-    <profiles>
-        <profile>
-            <id>user</id>
-            <build>
-                <plugins>
-                    <plugin>
-                        <groupId>org.apache.geronimo.plugins</groupId>
-                        <artifactId>geronimo-maven-plugin</artifactId>
-                    </plugin>
-                </plugins>
-            </build>
-        </profile>
-    </profiles>
-
 
 </project>
 

Modified: geronimo/samples/trunk/samples/dbtester/dbtester-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/dbtester/dbtester-war/pom.xml?view=diff&rev=550888&r1=550887&r2=550888
==============================================================================
--- geronimo/samples/trunk/samples/dbtester/dbtester-war/pom.xml (original)
+++ geronimo/samples/trunk/samples/dbtester/dbtester-war/pom.xml Tue Jun 26 11:05:08 2007
@@ -80,7 +80,7 @@
                             <tasks>
                                 <echo>Copying site directory from parent</echo>
                                 <copy todir="${project.build.directory}/${pom.artifactId}-2.0-SNAPSHOT"
failonerror="false" overwrite="true">
-                                    <fileset dir="${pom.basedir}/../target/site"/>
+                                    <fileset dir="${pom.basedir}/../docs"/>
                                 </copy>
                             </tasks>
                         </configuration>

Modified: geronimo/samples/trunk/samples/dbtester/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/samples/trunk/samples/dbtester/pom.xml?view=diff&rev=550888&r1=550887&r2=550888
==============================================================================
--- geronimo/samples/trunk/samples/dbtester/pom.xml (original)
+++ geronimo/samples/trunk/samples/dbtester/pom.xml Tue Jun 26 11:05:08 2007
@@ -44,6 +44,19 @@
         <module>dbtester-ear</module>
     </modules>
 
+
+   <build>
+       <plugins>
+           <plugin>
+               <artifactId>maven-site-plugin</artifactId>
+               <inherited>false</inherited>
+               <configuration>
+                 <outputDirectory>${project.basedir}/docs</outputDirectory>
+               </configuration>
+           </plugin>
+       </plugins>
+   </build>
+
     <repositories>
         <repository>
             <id>apache-snapshots</id>



Mime
View raw message