]> source.dussan.org Git - aspectj.git/commitdiff
updated with a target that can upload a milestone V1_6_9
authoraclement <aclement>
Wed, 30 Jun 2010 16:03:49 +0000 (16:03 +0000)
committeraclement <aclement>
Wed, 30 Jun 2010 16:03:49 +0000 (16:03 +0000)
build/build.xml
build/usedForMavenUpload_milestone/aspectjrt.pom
build/usedForMavenUpload_milestone/aspectjtools.pom
build/usedForMavenUpload_milestone/aspectjweaver.pom

index ba5ab2e95fe8a06693d0354f7e10bb8ad1a229ce..f0d8291653e5c64c3ea62d6f265ce305f788f85c 100644 (file)
 <!--
 <target name="ivy.init" unless="ivy.initialized">
   <property name="ivy.lib.dir" value="n:/apache-ivy-2.1.0/lib"/>
-  <property name="ivy.settings.file" value="n:/workspaces/aspectj16_3/build/ivysettings.xml"/>
+  <property name="ivy.settings.file" value="n:/workspaces/aspectj16_1/build/ivysettings.xml"/>
                 <taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant">
                <classpath>
                        <path location="${ivy.lib.dir}/ivy.jar"/>
@@ -793,24 +793,22 @@ To use testing client jar in tests,
 ant -propertyfile XXX publishtomaven
 -->
   <target name="publishtomaven" depends="maven.init">
-    <property name="build.root" value="n:/workspaces/aspectj16_3/aj-build"/>
+    <property name="build.root" value="n:/workspaces/aspectj16_1/aj-build"/>
 
     <property name="adjusted.release.type" value="snapshot"/>
     <property name="maven.central.repository" value="s3://maven.springframework.org/${adjusted.release.type}"/>
 
     <property name="bin.jars.folder" value="${build.root}/dist/tools/lib"/>
     <property name="src.jars.folder" value="${build.root}/src"/>
- <!--
-    <property name="jar.output.file" value="n:/workspaces/aspectj16_3/aj-build/dist/tools/lib/aspectjrt-1.6.9.BUILD-20100310.175000.jar"/>
-    <property name="local.pom.output.file" value="n:/workspaces/aspectj16_3/aj-build/dist/tools/lib/aspectjrt.pom"/>
--->
+    <property name="suffix" value="DEVELOPMENT"/>
+
     <!-- ASPECTJRT -->
     <maven:deploy file="${bin.jars.folder}/aspectjrt.jar">
       <remoteRepository url="${maven.central.repository}">
         <authentication username="${accessKey}" passphrase="${secretKey}"/>
       </remoteRepository>
-      <pom file="${bin.jars.folder}/aspectjrt.pom"/>
-      <attach file="${src.jars.folder}/aspectjrt1.6.9-src.jar" classifier="sources"/>
+      <pom file="usedForMavenUpload/aspectjrt.pom"/>
+      <attach file="${src.jars.folder}/aspectjrt${suffix}-src.jar" classifier="sources"/>
     </maven:deploy>
 
     <!-- ASPECTJTOOLS -->
@@ -818,8 +816,8 @@ ant -propertyfile XXX publishtomaven
       <remoteRepository url="${maven.central.repository}">
         <authentication username="${accessKey}" passphrase="${secretKey}"/>
       </remoteRepository>
-      <pom file="${bin.jars.folder}/aspectjtools.pom"/>
-      <attach file="${src.jars.folder}/aspectjtools1.6.9-src.jar" classifier="sources"/>
+      <pom file="usedForMavenUpload/aspectjtools.pom"/>
+      <attach file="${src.jars.folder}/aspectjtools${suffix}-src.jar" classifier="sources"/>
     </maven:deploy>
 
     <!-- ASPECTJWEAVER -->
@@ -827,12 +825,50 @@ ant -propertyfile XXX publishtomaven
       <remoteRepository url="${maven.central.repository}">
         <authentication username="${accessKey}" passphrase="${secretKey}"/>
       </remoteRepository>
-      <pom file="${bin.jars.folder}/aspectjweaver.pom"/>
-      <attach file="${src.jars.folder}/aspectjweaver1.6.9-src.jar" classifier="sources"/>
+      <pom file="usedForMavenUpload/aspectjweaver.pom"/>
+      <attach file="${src.jars.folder}/aspectjweaver${suffix}-src.jar" classifier="sources"/>
+    </maven:deploy>
+
+  </target>
+
+  <target name="publishtomaven_milestone" depends="maven.init">
+    <property name="suffix" value="1.6.9.RC3"/>
+
+    <property name="build.root" value="n:/workspaces/aspectj16_1/aj-build"/>
+    <property name="adjusted.release.type" value="milestone"/>
+    <property name="maven.central.repository" value="s3://maven.springframework.org/${adjusted.release.type}"/>
+    <property name="bin.jars.folder" value="${build.root}/dist/tools/lib"/>
+    <property name="src.jars.folder" value="${build.root}/src"/>
+
+    <!-- ASPECTJRT -->
+    <maven:deploy file="${bin.jars.folder}/aspectjrt.jar">
+      <remoteRepository url="${maven.central.repository}">
+        <authentication username="${accessKey}" passphrase="${secretKey}"/>
+      </remoteRepository>
+      <pom file="usedForMavenUpload_milestone/aspectjrt.pom"/>
+      <attach file="${src.jars.folder}/aspectjrt${suffix}-src.jar" classifier="sources"/>
+    </maven:deploy>
+
+    <!-- ASPECTJTOOLS -->
+    <maven:deploy file="${bin.jars.folder}/aspectjtools.jar">
+      <remoteRepository url="${maven.central.repository}">
+        <authentication username="${accessKey}" passphrase="${secretKey}"/>
+      </remoteRepository>
+      <pom file="usedForMavenUpload_milestone/aspectjtools.pom"/>
+      <attach file="${src.jars.folder}/aspectjtools${suffix}-src.jar" classifier="sources"/>
     </maven:deploy>
 
+    <!-- ASPECTJWEAVER -->
+    <maven:deploy file="${bin.jars.folder}/aspectjweaver.jar">
+      <remoteRepository url="${maven.central.repository}">
+        <authentication username="${accessKey}" passphrase="${secretKey}"/>
+      </remoteRepository>
+      <pom file="usedForMavenUpload_milestone/aspectjweaver.pom"/>
+      <attach file="${src.jars.folder}/aspectjweaver${suffix}-src.jar" classifier="sources"/>
+    </maven:deploy>
   </target>
 
+       
   <target name="repo2" depends="maven.init">
   </target>
 
index d51ee2f156d052ca64f3594756a968c83947542d..2cc2dc0c61c8ff04716521fee0a8f9ccfe3f79ab 100644 (file)
@@ -5,7 +5,7 @@
   <groupId>org.aspectj</groupId>
   <artifactId>aspectjrt</artifactId>
   <packaging>jar</packaging>
-  <version>1.6.9.RC1</version>
+  <version>1.6.9.RC3</version>
   <name>AspectJ runtime</name>
   <description>The runtime needed to execute a program using AspectJ</description>
   <url>http://www.aspectj.org</url>
index d0cfcac1665c1d0ace34c41f01226584d655e016..9d09bd348268642276f8914cdc00289ae6a153c1 100644 (file)
@@ -5,7 +5,7 @@
   <groupId>org.aspectj</groupId>
   <artifactId>aspectjtools</artifactId>
   <packaging>jar</packaging>
-  <version>1.6.9.RC1</version>
+  <version>1.6.9.RC3</version>
   <name>AspectJ tools</name>
   <description>Tools from the AspectJ project</description>
   <url>http://www.aspectj.org</url>
index 635a6a4d3ec5a8e723deffa8d0847b859ae0957f..6a035419aa1b076614a3403fb374b4857f4ffd49 100644 (file)
@@ -5,7 +5,7 @@
   <groupId>org.aspectj</groupId>
   <artifactId>aspectjweaver</artifactId>
   <packaging>jar</packaging>
-  <version>1.6.9.RC1</version>
+  <version>1.6.9.RC3</version>
   <name>AspectJ weaver</name>
   <description>The AspectJ weaver introduces advices to java classes</description>
   <url>http://www.aspectj.org</url>