tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fha...@apache.org
Subject svn commit: r418788 - in /tomcat/container/tc5.5.x/modules/groupcom/build: build.xml mvn/ mvn/tribes.pom
Date Mon, 03 Jul 2006 15:13:31 GMT
Author: fhanik
Date: Mon Jul  3 08:13:31 2006
New Revision: 418788

URL: http://svn.apache.org/viewvc?rev=418788&view=rev
Log:
Added the ability to generate maven repository files

Added:
    tomcat/container/tc5.5.x/modules/groupcom/build/mvn/
    tomcat/container/tc5.5.x/modules/groupcom/build/mvn/tribes.pom
Modified:
    tomcat/container/tc5.5.x/modules/groupcom/build/build.xml

Modified: tomcat/container/tc5.5.x/modules/groupcom/build/build.xml
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/modules/groupcom/build/build.xml?rev=418788&r1=418787&r2=418788&view=diff
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/build/build.xml (original)
+++ tomcat/container/tc5.5.x/modules/groupcom/build/build.xml Mon Jul  3 08:13:31 2006
@@ -167,4 +167,38 @@
     </jar>
   </target>
   
+  <target name="mvn" depends="dist">
+      <mkdir dir="${dist.path}/mvn"/>
+      <copy todir="${dist.path}/mvn">
+          <fileset dir="${dist.path}/archive">
+              <include name="tribes-${tribes.version}-sources.jar"/>
+              <include name="tribes-${tribes.version}.jar"/>
+          </fileset>
+      </copy>
+      <copy tofile="${dist.path}/mvn/tribes-${tribes.version}.pom"
+            file="${basedir}/build/mvn/tribes.pom">
+          <filterset>
+              <filter token="tribes.version" value="${tribes.version}"/>
+          </filterset>
+      </copy>
+      <exec dir="${dist.path}/mvn" 
+            executable="openssl" 
+            input="${dist.path}/mvn/tribes-${tribes.version}.jar"
+            output="${dist.path}/mvn/tribes-${tribes.version}.jar.sha1">
+          <arg line="sha1"/>
+      </exec>
+      <exec dir="${dist.path}/mvn" 
+            executable="openssl" 
+            input="${dist.path}/mvn/tribes-${tribes.version}-sources.jar"
+            output="${dist.path}/mvn/tribes-${tribes.version}-sources.jar.sha1">
+          <arg line="sha1"/>
+      </exec>
+      <exec dir="${dist.path}/mvn" 
+            executable="openssl" 
+            input="${dist.path}/mvn/tribes-${tribes.version}.pom"
+            output="${dist.path}/mvn/tribes-${tribes.version}.pom.sha1">
+          <arg line="sha1"/>
+      </exec>
+  </target>
+  
 </project>

Added: tomcat/container/tc5.5.x/modules/groupcom/build/mvn/tribes.pom
URL: http://svn.apache.org/viewvc/tomcat/container/tc5.5.x/modules/groupcom/build/mvn/tribes.pom?rev=418788&view=auto
==============================================================================
--- tomcat/container/tc5.5.x/modules/groupcom/build/mvn/tribes.pom (added)
+++ tomcat/container/tc5.5.x/modules/groupcom/build/mvn/tribes.pom Mon Jul  3 08:13:31 2006
@@ -0,0 +1,8 @@
+<project>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.apache.catalina.tribes</groupId>
+  <artifactId>tribes</artifactId>
+  <name>Tribes :: Tribes</name>
+  <version>@tribes.version@</version>
+  <description>Filip's Tribes Jar</description>
+</project>



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message