geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r794168 - in /geronimo/external/trunk/geronimo-dojo-0.4.3: ./ pom.xml
Date Wed, 15 Jul 2009 07:42:34 GMT
Author: djencks
Date: Wed Jul 15 07:42:34 2009
New Revision: 794168

URL: http://svn.apache.org/viewvc?rev=794168&view=rev
Log:
GERONIMO-4723 Experiment with constructing the legacy war more or less directly from an svn
checkout of dojo source

Added:
    geronimo/external/trunk/geronimo-dojo-0.4.3/
      - copied from r794161, geronimo/server/trunk/plugins/dojo-legacy/geronimo-dojo-legacy/
Modified:
    geronimo/external/trunk/geronimo-dojo-0.4.3/pom.xml

Modified: geronimo/external/trunk/geronimo-dojo-0.4.3/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/external/trunk/geronimo-dojo-0.4.3/pom.xml?rev=794168&r1=794161&r2=794168&view=diff
==============================================================================
--- geronimo/external/trunk/geronimo-dojo-0.4.3/pom.xml (original)
+++ geronimo/external/trunk/geronimo-dojo-0.4.3/pom.xml Wed Jul 15 07:42:34 2009
@@ -23,13 +23,14 @@
     <modelVersion>4.0.0</modelVersion>
 
     <parent>
-        <groupId>org.apache.geronimo.plugins</groupId>
-        <artifactId>dojo-legacy</artifactId>
-        <version>2.2-SNAPSHOT</version>
+        <groupId>org.apache.geronimo.genesis</groupId>
+        <artifactId>genesis-java5-flava</artifactId>
+        <version>2.0</version>
     </parent>
-    
+
     <groupId>org.apache.geronimo.modules</groupId>
-    <artifactId>geronimo-dojo-legacy</artifactId>
+    <artifactId>geronimo-dojo-0.4.3</artifactId>
+    <version>1.0-SNAPSHOT</version>
     <name>Geronimo Plugins, Dojo Legacy :: WAR</name>
     <packaging>war</packaging>
 
@@ -39,87 +40,53 @@
         all web applications in the server.
     </description>
 
+    <scm>
+        <connection>scm:svn:https://svn.apache.org/repos/asf/geronimo/external/trunk/geronimo-dojo-0.4.3/</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/geronimo/external/trunk/geronimo-dojo-0.4.3/</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/geronimo/external/trunk/geronimo-dojo-0.4.3/</url>
+    </scm>
     <dependencies>
-        <dependency>
-            <groupId>org.apache.geronimo.framework</groupId>
-            <artifactId>geronimo-system</artifactId>
-            <version>${version}</version>
-            <scope>provided</scope>
-        </dependency>
+        <!--<dependency>-->
+            <!--<groupId>org.apache.geronimo.framework</groupId>-->
+            <!--<artifactId>geronimo-system</artifactId>-->
+            <!--<version>${version}</version>-->
+            <!--<scope>provided</scope>-->
+        <!--</dependency>-->
         
-        <dependency>
-            <groupId>org.dojotoolkit</groupId>
-            <artifactId>dojo-ajax</artifactId>
-            <type>zip</type>
-            <scope>provided</scope>
-        </dependency>
     </dependencies>
 
     <build>
         <plugins>
             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>org.dojotoolkit</groupId>
-                                    <artifactId>dojo-ajax</artifactId>
-                                    <type>zip</type>
-                                    <outputDirectory>${project.build.directory}</outputDirectory>
-                                </artifactItem>
-                            </artifactItems>
-                            <outputDirectory>${project.build.directory}</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            
-            <!--
-            NOTE: This will figure out where we have upacked the dojo bits (above).
-            -->
-            
-            <plugin>
-                <groupId>org.codehaus.groovy.maven</groupId>
-                <artifactId>gmaven-plugin</artifactId>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-scm-plugin</artifactId>
+              <version>1.0</version>
                 <executions>
                     <execution>
-                        <phase>compile</phase>
+                        <id>checkout</id>
+                        <phase>generate-resources</phase>
                         <goals>
-                            <goal>execute</goal>
+                            <goal>checkout</goal>
                         </goals>
                         <configuration>
-                            <source>
-                                def targetDir = new File(project.build.directory)
-                                def unpackDir
-                                
-                                targetDir.eachFileMatch(~'dojo-.*') {
-                                    unpackDir = it
-                                }
-                                assert unpackDir
-                                
-                                session.currentProject.properties['dojoUnpackDir'] = unpackDir.absolutePath
-                            </source>
+                          <checkoutDirectory>${project.basedir}/target/resources</checkoutDirectory>
+                            <connectionUrl>scm:svn:http://svn.dojotoolkit.org/src/tags/release-0.4.3/src/</connectionUrl>
                         </configuration>
                     </execution>
                 </executions>
             </plugin>
-            
+
+
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-war-plugin</artifactId>
                 <configuration>
                     <webResources>
                         <resource>
-                            <directory>${dojoUnpackDir}</directory>
+                            <directory>${project.basedir}/target/resources</directory>
                             <includes>
                                 <include>src/**</include>
-                                <include>*.js</include>
+                                <include>**/*.js</include>
                                 <include>*.html</include>
                                 <include>*.swf</include>
                                 <include>LICENSE</include>



Mime
View raw message