[jboss-cvs] JBoss Messaging SVN: r7146 - trunk.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 1 05:21:39 EDT 2009


Author: ataylor
Date: 2009-06-01 05:21:39 -0400 (Mon, 01 Jun 2009)
New Revision: 7146

Added:
   trunk/build-maven.xml
Modified:
   trunk/build-messaging.xml
   trunk/pom.xml
Log:
support for maven upload

Added: trunk/build-maven.xml
===================================================================
--- trunk/build-maven.xml	                        (rev 0)
+++ trunk/build-maven.xml	2009-06-01 09:21:39 UTC (rev 7146)
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- =========================================================================================== -->
+<!--                                                                                             -->
+<!-- JBoss, Home of Professional Open Source                                                     -->
+<!-- Copyright 2005, JBoss Inc., and individual contributors as indicated                        -->
+<!-- by the @authors tag. See the copyright.txt in the distribution for a                        -->
+<!-- full listing of individual contributors.                                                    -->
+<!--                                                                                             -->
+<!-- This is free software; you can redistribute it and/or modify it                             -->
+<!-- under the terms of the GNU Lesser General Public License as                                 -->
+<!-- published by the Free Software Foundation; either version 2.1 of                            -->
+<!-- the License, or (at your option) any later version.                                         -->
+<!--                                                                                             -->
+<!-- This software is distributed in the hope that it will be useful,                            -->
+<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of                              -->
+<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU                            -->
+<!-- Lesser General Public License for more details.                                             -->
+<!--                                                                                             -->
+<!-- You should have received a copy of the GNU Lesser General Public                            -->
+<!-- License along with this software; if not, write to the Free                                 -->
+<!-- Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA                          -->
+<!-- 02110-1301 USA, or see the FSF site: http://www.fsf.org.                                    -->
+<!--                                                                                             -->
+<!-- $Id: build.xml 4036 2008-04-11 12:43:24Z ataylor $                                          -->
+<!-- =========================================================================================== -->
+
+<project default="upload" name="JBoss Messaging">
+   <property name="jbm.version" value="2.0.0.BETA1-SNAPSHOT"/>
+   <property name="build.dir" value="build"/>
+   <property name="jars.dir" value="${build.dir}/jars"/>
+
+   <target name="uploadJbmBootstrap">
+      <antcall target="upload">
+         <param name="artifact.id" value="jbm-bootstrap"/>
+         <param name="artifact.type" value="jar"/>
+      </antcall>
+   </target>
+
+   <target name="uploadJbmCore">
+      <antcall target="upload">
+         <param name="artifact.id" value="jbm-core"/>
+         <param name="artifact.type" value="jar"/>
+      </antcall>
+   </target>
+
+   <target name="uploadJbmLogging">
+      <antcall target="upload">
+         <param name="artifact.id" value="jbm-logging"/>
+         <param name="artifact.type" value="jar"/>
+      </antcall>
+   </target>
+
+   <target name="uploadJbmTransports">
+      <antcall target="upload">
+         <param name="artifact.id" value="jbm-transports"/>
+         <param name="artifact.type" value="jar"/>
+      </antcall>
+   </target>
+
+   <target name="uploadJbmCoreClient">
+      <antcall target="upload">
+         <param name="artifact.id" value="jbm-core-client"/>
+         <param name="artifact.type" value="jar"/>
+      </antcall>
+   </target>
+
+   <target name="uploadJbmJms">
+      <antcall target="upload">
+         <param name="artifact.id" value="jbm-jms"/>
+         <param name="artifact.type" value="jar"/>
+      </antcall>
+   </target>
+
+   <target name="uploadJbmJmsClient">
+      <antcall target="upload">
+         <param name="artifact.id" value="jbm-jms-client"/>
+         <param name="artifact.type" value="jar"/>
+      </antcall>
+   </target>
+
+
+   <target name="upload">
+      <exec executable="mvn">
+         <arg value="-s settings.xml"/>
+         <arg value="deploy:deploy-file"/>
+         <arg value="-DgroupId=org.jboss.messaging"/>
+         <arg value="-DartifactId=${artifact.id}"/>
+         <arg value="-Dversion=${jbm.version}"/>
+         <arg value="-Dpackaging=${artifact.type}"/>
+         <arg value="-DgeneratePom=true"/>
+         <arg value="-Dfile=${jars.dir}/${artifact.id}.${artifact.type}"/>
+         <arg value="-DrepositoryId=snapshots.jboss.org"/>
+         <arg value="-Durl=dav:https://snapshots.jboss.org/maven2"/>
+      </exec>
+   </target>
+
+</project>
\ No newline at end of file

Modified: trunk/build-messaging.xml
===================================================================
--- trunk/build-messaging.xml	2009-06-01 07:25:11 UTC (rev 7145)
+++ trunk/build-messaging.xml	2009-06-01 09:21:39 UTC (rev 7146)
@@ -70,6 +70,7 @@
    <property name="ra.rar.name" value="jbm-ra.rar"/>
    <property name="netty.jar.name" value="netty-3.1.0.BETA3.jar"/>
    <property name="mc.jar.name" value="jboss-mc.jar"/>
+   <property name="resources.jar.name" value="jbm-resources.jar"/>
 
    <!--source and build dirs-->
    <property name="build.dir" value="build"/>
@@ -760,6 +761,20 @@
       </jar>
    </target>
 
+   <target name="jar-resources" depends="init">
+      <jar jarfile="${build.jars.dir}/${resources.jar.name}">
+         <fileset dir="${examples.dir}">
+           <exclude name="build"/>
+           <exclude name="data"/>
+         </fileset>
+         <fileset dir="${src.config.dir}">
+           <include  name="jboss-as"/>
+           <include name="ra.xml"/>
+           <exclude  name="**/build.xml"/>
+         </fileset>
+      </jar>
+   </target>
+
    <!-- ======================================================================================== -->
    <!-- Distribution targets                                                                     -->
    <!-- ======================================================================================== -->

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2009-06-01 07:25:11 UTC (rev 7145)
+++ trunk/pom.xml	2009-06-01 09:21:39 UTC (rev 7146)
@@ -1,7 +1,17 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project>
-  <modelVersion>4.0.0</modelVersion>
-  <groupId>jboss.messaging</groupId>
-  <artifactId>@artifactid@</artifactId>
-  <version>@version@</version>
-</project>
\ No newline at end of file
+<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>
+    <groupId>org.jboss</groupId>
+    <artifactId>webdav-loader</artifactId>
+    <version>1</version>
+    <name>JBoss Webdav Extension pom</name>
+    <build>
+      <extensions>
+        <extension>
+          <groupId>org.apache.maven.wagon</groupId>
+          <artifactId>wagon-webdav</artifactId>
+        </extension>
+      </extensions>
+    </build>
+  </project>




More information about the jboss-cvs-commits mailing list