directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r694252 - /directory/studio/trunk/updatesite/pom.xml
Date Thu, 11 Sep 2008 13:39:54 GMT
Author: felixk
Date: Thu Sep 11 06:39:54 2008
New Revision: 694252

URL: http://svn.apache.org/viewvc?rev=694252&view=rev
Log:
Copy the nightlybuild-studio-plugin. Introduce new profile CI for this goal to make build
not fail if executed on other server. CI profile will be added to the CI sutdio build configuration.

Modified:
    directory/studio/trunk/updatesite/pom.xml

Modified: directory/studio/trunk/updatesite/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/trunk/updatesite/pom.xml?rev=694252&r1=694251&r2=694252&view=diff
==============================================================================
--- directory/studio/trunk/updatesite/pom.xml (original)
+++ directory/studio/trunk/updatesite/pom.xml Thu Sep 11 06:39:54 2008
@@ -39,6 +39,41 @@
     <local-repo>${project.basedir}/../repository</local-repo>
   </properties>
 
+  <profiles>
+    <profile>
+      <id>CI</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>copyFiles</id>
+                <phase>install</phase>
+                <configuration>
+                  <tasks>
+                    <mkdir dir="/var/www/html/mirror-maven2/org/apache/directory/studio/nightly-plugin"
/>
+                    <copy
+                      todir="/var/www/html/mirror-maven2/org/apache/directory/studio/nightly-plugin"
+                      overwrite="true"
+                      file="target/nightlybuild-studio-plugin.tar.gz" />
+                    <copy
+                      todir="/var/www/html/mirror-maven2/org/apache/directory/studio/nightly-plugin"
+                      overwrite="true"
+                      file="target/nightlybuild-studio-plugin.zip" />
+                  </tasks>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
   <build>
     <resources>
       <resource>
@@ -239,8 +274,7 @@
             <id>nightly</id>
             <phase>package</phase>
             <configuration>
-              <finalName>nightlybuild-${pom.version}</finalName>
-              <outputDirectory>../target/distributions</outputDirectory>
+              <finalName>nightlybuild-studio-plugin</finalName>
               <descriptors>
                 <descriptor>src/main/assembly/nightlybuild.xml</descriptor>
               </descriptors>



Mime
View raw message