myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sc...@apache.org
Subject svn commit: r413943 - in /myfaces/tomahawk/trunk/sandbox/examples/assembly: ./ pom.xml src/ src/main/ src/main/assembly/ src/main/assembly/dep.xml
Date Tue, 13 Jun 2006 18:18:09 GMT
Author: schof
Date: Tue Jun 13 11:18:08 2006
New Revision: 413943

URL: http://svn.apache.org/viewvc?rev=413943&view=rev
Log:
Now packaging sandbox examples in tarball (patch by Catalin)

Added:
    myfaces/tomahawk/trunk/sandbox/examples/assembly/   (with props)
    myfaces/tomahawk/trunk/sandbox/examples/assembly/pom.xml
    myfaces/tomahawk/trunk/sandbox/examples/assembly/src/
    myfaces/tomahawk/trunk/sandbox/examples/assembly/src/main/
    myfaces/tomahawk/trunk/sandbox/examples/assembly/src/main/assembly/
    myfaces/tomahawk/trunk/sandbox/examples/assembly/src/main/assembly/dep.xml

Propchange: myfaces/tomahawk/trunk/sandbox/examples/assembly/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Jun 13 11:18:08 2006
@@ -0,0 +1 @@
+target

Added: myfaces/tomahawk/trunk/sandbox/examples/assembly/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/assembly/pom.xml?rev=413943&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/assembly/pom.xml (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/assembly/pom.xml Tue Jun 13 11:18:08 2006
@@ -0,0 +1,78 @@
+<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>
+    <packaging>pom</packaging>
+    <name>Tomahawk Sandbox Examples Assembly</name>
+    <groupId>org.apache.myfaces.tomahawk</groupId>
+    <artifactId>tomahawk-sandbox-examples-assembly</artifactId>
+
+    <parent>
+        <groupId>org.apache.myfaces.tomahawk</groupId>
+        <artifactId>sandbox-project</artifactId>
+        <version>1.1.4-SNAPSHOT</version>
+    </parent>
+
+    <scm>
+        <connection>scm:svn:http://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/sandbox/examples</connection>
+        <developerConnection>scm:svn:https://svn.apache.org/repos/asf/myfaces/tomahawk/trunk/sandbox/examples</developerConnection>
+        <url>http://svn.apache.org/viewcvs.cgi/myfaces/tomahawk/trunk/sandbox/examples</url>
+    </scm>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>dependency-maven-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-war</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>org.apache.myfaces.tomahawk</groupId>
+                                    <artifactId>tomahawk-sandbox-examples</artifactId>
+                                    <version>${version}</version>
+                                    <type>war</type>	
+                                </artifactItem>
+			    </artifactItems>	
+                            <outputDirectory>${project.build.directory}/war</outputDirectory>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+
+            <plugin>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.0.1</version>
+                <configuration>
+		    <descriptors>	
+	                <descriptor>src/main/assembly/dep.xml</descriptor>
+ 		    </descriptors>
+		    <finalName>tomahawk-sandbox-examples-${version}</finalName>
+                    <outputDirectory>${project.build.directory}/out</outputDirectory>
+                    <workDirectory>${project.build.directory}/work</workDirectory>
+                </configuration>
+            </plugin>
+	    
+            <plugin>
+                <groupId>org.apache.myfaces.maven</groupId>
+                <artifactId>wagon-maven-plugin</artifactId>
+                <version>1.0.4-SNAPSHOT</version>
+                <configuration>
+                    <id>myfaces-nightly-builds</id>
+                    <url>scpexe://minotaur.apache.org/www/cvs.apache.org/builds/myfaces/nightly</url>
+                    <inputDirectory>${project.build.directory}/out</inputDirectory>
+                </configuration>
+            </plugin>
+
+        </plugins>
+
+    </build>
+
+</project>

Added: myfaces/tomahawk/trunk/sandbox/examples/assembly/src/main/assembly/dep.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/examples/assembly/src/main/assembly/dep.xml?rev=413943&view=auto
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/examples/assembly/src/main/assembly/dep.xml (added)
+++ myfaces/tomahawk/trunk/sandbox/examples/assembly/src/main/assembly/dep.xml Tue Jun 13
11:18:08 2006
@@ -0,0 +1,17 @@
+<assembly>
+    <id>bin</id>
+    <includeBaseDirectory>false</includeBaseDirectory>
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    <fileSets>
+        <fileSet>
+             <directory>target/war</directory>
+             <outputDirectory></outputDirectory>
+             <includes>
+                 <include>*.war</include>
+             </includes>
+        </fileSet>
+    </fileSets>
+</assembly>



Mime
View raw message