You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tiles.apache.org by ap...@apache.org on 2009/10/24 14:40:32 UTC

svn commit: r829356 - in /tiles/framework/trunk: assembly/pom.xml tiles-test-pom/tiles-test/pom.xml

Author: apetrelli
Date: Sat Oct 24 12:40:32 2009
New Revision: 829356

URL: http://svn.apache.org/viewvc?rev=829356&view=rev
Log:
TILES-481
Automatic upload when running deploy phase in "release" profile added.

Modified:
    tiles/framework/trunk/assembly/pom.xml
    tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml

Modified: tiles/framework/trunk/assembly/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/assembly/pom.xml?rev=829356&r1=829355&r2=829356&view=diff
==============================================================================
--- tiles/framework/trunk/assembly/pom.xml (original)
+++ tiles/framework/trunk/assembly/pom.xml Sat Oct 24 12:40:32 2009
@@ -86,6 +86,57 @@
               <tarLongFileMode>gnu</tarLongFileMode>
             </configuration>
           </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-deploy-plugin</artifactId>
+            <configuration>
+              <skip>true</skip>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <configuration>
+                  <tasks>
+                    <mkdir dir="${project.build.directory}/assemblies" />
+                    <echo message="Here I am!" />
+                    <copy todir="${project.build.directory}/assemblies">
+                      <fileset dir="${settings.localRepository}/org/apache/tiles/tiles-assembly/${pom.version}">
+                        <include name="tiles-assembly-${pom.version}-*.zip*" />
+                        <include name="tiles-assembly-${pom.version}-*.tar.gz*" />
+                      </fileset>
+                      <mapper type="glob" from="tiles-assembly-*" to="tiles-*"/>
+                    </copy>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>wagon-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>deploy</phase>
+                <goals>
+                  <goal>upload</goal>
+                </goals>
+                <configuration>
+                  <fromDir>${project.build.directory}/assemblies</fromDir>
+                  <includes>**</includes>
+                  <toDir>${pom.version}</toDir>
+                  <serverId>tiles.build</serverId>
+                  <url>scp://people.apache.org/www/people.apache.org/builds/tiles</url>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
         </plugins>
       </build>
     </profile>

Modified: tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml
URL: http://svn.apache.org/viewvc/tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml?rev=829356&r1=829355&r2=829356&view=diff
==============================================================================
--- tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml (original)
+++ tiles/framework/trunk/tiles-test-pom/tiles-test/pom.xml Sat Oct 24 12:40:32 2009
@@ -425,6 +425,25 @@
                             </execution>
                         </executions>
                     </plugin>
+                    <plugin>
+                        <groupId>org.codehaus.mojo</groupId>
+                        <artifactId>wagon-maven-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>deploy</phase>
+                                <goals>
+                                    <goal>upload</goal>
+                                </goals>
+                                <configuration>
+                                    <fromDir>${settings.localRepository}/org/apache/tiles/tiles-test/${pom.version}</fromDir>
+                                    <includes>tiles-test-${pom.version}.war*</includes>
+                                    <toDir>${pom.version}</toDir>
+                                    <serverId>tiles.build</serverId>
+                                    <url>scp://people.apache.org/www/people.apache.org/builds/tiles</url>
+                                </configuration>
+                            </execution>
+                        </executions>
+                    </plugin>
                 </plugins>
             </build>
         </profile>