MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:mmatthews Date:July 14 2006 6:38pm
Subject:Connector/J commit: r5511 - in branches: branch_3_1/connector-j branch_3_1/connector-j/src/doc/sources branch_5_0/connector-j branch_5_0/connector-j/s...
View as plain text  
Added:
   branches/branch_3_1/connector-j/src/doc/sources/pom.xml
   branches/branch_5_0/connector-j/src/doc/sources/pom.xml
   branches/branch_5_1/connector-j/src/doc/sources/pom.xml
Modified:
   branches/branch_3_1/connector-j/build.xml
   branches/branch_5_0/connector-j/build.xml
   branches/branch_5_1/connector-j/build.xml
Log:
Added target to build Maven bundles for upload to Ibiblio (partial fix for BUG#14701 - other fix is to automate the upload requests into Maven's JIRA)

Modified: branches/branch_3_1/connector-j/build.xml
===================================================================
--- branches/branch_3_1/connector-j/build.xml	2006-07-14 00:01:31 UTC (rev 5510)
+++ branches/branch_3_1/connector-j/build.xml	2006-07-14 18:38:44 UTC (rev 5511)
@@ -180,7 +180,29 @@
 			</fileset>
 		</zip>
 
+		<!-- Build a Maven bundle for upload to their repository -->
+		
 		<checksum file="${distDir}/${fullProdName}.zip" forceOverwrite="yes" fileext=".md5"/>
+		
+		<tempfile destdir="${buildDir}" prefix="maven-bundle-" property="mavenUploadDir" />
+		
+		<mkdir dir="${mavenUploadDir}" />
+		
+		<copy file="${buildDir}/${fullProdName}/${fullProdName}-bin.jar"
+		  	toFile="${mavenUploadDir}/${fullProdName}.jar" />
+		
+		<copy file="${buildDir}/${fullProdName}/doc/sources/pom.xml"
+			toDir="${mavenUploadDir}" filtering="true">
+		</copy>
+		
+		<copy file="./COPYING"
+			toDir="${mavenUploadDir}" />
+		
+		<copy file="./EXCEPTIONS-CONNECTOR-J"
+					toDir="${mavenUploadDir}" />
+		
+		<jar jarfile="${distDir}/${fullProdName}.bundle.jar" 
+					basedir="${mavenUploadDir}" />
 	</target>
 	
 	<target name="-make-packages" depends="dist">

Added: branches/branch_3_1/connector-j/src/doc/sources/pom.xml
===================================================================
--- branches/branch_3_1/connector-j/src/doc/sources/pom.xml	2006-07-14 00:01:31 UTC (rev 5510)
+++ branches/branch_3_1/connector-j/src/doc/sources/pom.xml	2006-07-14 18:38:44 UTC (rev 5511)
@@ -0,0 +1,37 @@
+<project>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>mysql</groupId>
+    <artifactId>mysql-connector-java</artifactId>
+    <version>@MYSQL_CJ_MAJOR_VERSION@.@MYSQL_CJ_MINOR_VERSION@.@MYSQL_CJ_SUBMINOR_VERSION@</version>
+    <packaging>jar</packaging>
+
+    <name>MySQL java connector</name>
+    <description>MySQL java connector</description>
+    
+    <licenses>
+    	<license>
+      		<name>The GNU General Public License, Version 2</name>
+      		<url>http://www.gnu.org/licenses/gpl.txt</url>
+      		<distribution>repo</distribution>
+      		<comments>MySQL Connector/J contains exceptions to GPL requirements when linking with other components
+      		that are licensed under OSI-approved open source licenses, see EXCEPTIONS-CONNECTOR-J
+      		in this distribution for more details.</comments>
+    	</license>
+	</licenses>
+  
+    <url>http://dev.mysql.com/usingmysql/java/</url>
+
+    <scm>
+        <connection>
+            scm:svn:http://svn.mysql.com/svnpublic/connector-j/trunk/connector-j
+        </connection>
+        <developerConnection>
+            scm:svn:http://svn.mysql.com/svnpublic/connector-j/trunk/connector-j
+        </developerConnection>
+        <url>
+            http://svn.mysql.com/svnpublic/connector-j/trunk/connector-j
+        </url>
+    </scm>
+
+</project>

Modified: branches/branch_5_0/connector-j/build.xml
===================================================================
--- branches/branch_5_0/connector-j/build.xml	2006-07-14 00:01:31 UTC (rev 5510)
+++ branches/branch_5_0/connector-j/build.xml	2006-07-14 18:38:44 UTC (rev 5511)
@@ -181,6 +181,30 @@
 		</zip>
 
 		<checksum file="${distDir}/${fullProdName}.zip" forceOverwrite="yes" fileext=".md5"/>
+		
+		<!-- Build a Maven bundle for upload to their repository -->
+		
+		<checksum file="${distDir}/${fullProdName}.zip" forceOverwrite="yes" fileext=".md5"/>
+		
+		<tempfile destdir="${buildDir}" prefix="maven-bundle-" property="mavenUploadDir" />
+		
+		<mkdir dir="${mavenUploadDir}" />
+		
+		<copy file="${buildDir}/${fullProdName}/${fullProdName}-bin.jar"
+		  	toFile="${mavenUploadDir}/${fullProdName}.jar" />
+		
+		<copy file="${buildDir}/${fullProdName}/doc/sources/pom.xml"
+			toDir="${mavenUploadDir}" filtering="true">
+		</copy>
+		
+		<copy file="./COPYING"
+			toDir="${mavenUploadDir}" />
+		
+		<copy file="./EXCEPTIONS-CONNECTOR-J"
+					toDir="${mavenUploadDir}" />
+		
+		<jar jarfile="${distDir}/${fullProdName}.bundle.jar" 
+					basedir="${mavenUploadDir}" />
 	</target>
 	
 	<target name="-make-packages" depends="dist">

Added: branches/branch_5_0/connector-j/src/doc/sources/pom.xml
===================================================================
--- branches/branch_5_0/connector-j/src/doc/sources/pom.xml	2006-07-14 00:01:31 UTC (rev 5510)
+++ branches/branch_5_0/connector-j/src/doc/sources/pom.xml	2006-07-14 18:38:44 UTC (rev 5511)
@@ -0,0 +1,37 @@
+<project>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>mysql</groupId>
+    <artifactId>mysql-connector-java</artifactId>
+    <version>@MYSQL_CJ_MAJOR_VERSION@.@MYSQL_CJ_MINOR_VERSION@.@MYSQL_CJ_SUBMINOR_VERSION@</version>
+    <packaging>jar</packaging>
+
+    <name>MySQL java connector</name>
+    <description>MySQL java connector</description>
+    
+    <licenses>
+    	<license>
+      		<name>The GNU General Public License, Version 2</name>
+      		<url>http://www.gnu.org/licenses/gpl.txt</url>
+      		<distribution>repo</distribution>
+      		<comments>MySQL Connector/J contains exceptions to GPL requirements when linking with other components
+      		that are licensed under OSI-approved open source licenses, see EXCEPTIONS-CONNECTOR-J
+      		in this distribution for more details.</comments>
+    	</license>
+	</licenses>
+  
+    <url>http://dev.mysql.com/usingmysql/java/</url>
+
+    <scm>
+        <connection>
+            scm:svn:http://svn.mysql.com/svnpublic/connector-j/trunk/connector-j
+        </connection>
+        <developerConnection>
+            scm:svn:http://svn.mysql.com/svnpublic/connector-j/trunk/connector-j
+        </developerConnection>
+        <url>
+            http://svn.mysql.com/svnpublic/connector-j/trunk/connector-j
+        </url>
+    </scm>
+
+</project>

Modified: branches/branch_5_1/connector-j/build.xml
===================================================================
--- branches/branch_5_1/connector-j/build.xml	2006-07-14 00:01:31 UTC (rev 5510)
+++ branches/branch_5_1/connector-j/build.xml	2006-07-14 18:38:44 UTC (rev 5511)
@@ -181,6 +181,30 @@
 		</zip>
 
 		<checksum file="${distDir}/${fullProdName}.zip" forceOverwrite="yes" fileext=".md5"/>
+		
+		<!-- Build a Maven bundle for upload to their repository -->
+		
+		<checksum file="${distDir}/${fullProdName}.zip" forceOverwrite="yes" fileext=".md5"/>
+		
+		<tempfile destdir="${buildDir}" prefix="maven-bundle-" property="mavenUploadDir" />
+		
+		<mkdir dir="${mavenUploadDir}" />
+		
+		<copy file="${buildDir}/${fullProdName}/${fullProdName}-bin.jar"
+		  	toFile="${mavenUploadDir}/${fullProdName}.jar" />
+		
+		<copy file="${buildDir}/${fullProdName}/doc/sources/pom.xml"
+			toDir="${mavenUploadDir}" filtering="true">
+		</copy>
+		
+		<copy file="./COPYING"
+			toDir="${mavenUploadDir}" />
+		
+		<copy file="./EXCEPTIONS-CONNECTOR-J"
+					toDir="${mavenUploadDir}" />
+		
+		<jar jarfile="${distDir}/${fullProdName}.bundle.jar" 
+					basedir="${mavenUploadDir}" />
 	</target>
 	
 	<target name="-make-packages" depends="dist">

Added: branches/branch_5_1/connector-j/src/doc/sources/pom.xml
===================================================================
--- branches/branch_5_1/connector-j/src/doc/sources/pom.xml	2006-07-14 00:01:31 UTC (rev 5510)
+++ branches/branch_5_1/connector-j/src/doc/sources/pom.xml	2006-07-14 18:38:44 UTC (rev 5511)
@@ -0,0 +1,37 @@
+<project>
+
+    <modelVersion>4.0.0</modelVersion>
+    <groupId>mysql</groupId>
+    <artifactId>mysql-connector-java</artifactId>
+    <version>@MYSQL_CJ_MAJOR_VERSION@.@MYSQL_CJ_MINOR_VERSION@.@MYSQL_CJ_SUBMINOR_VERSION@</version>
+    <packaging>jar</packaging>
+
+    <name>MySQL java connector</name>
+    <description>MySQL java connector</description>
+    
+    <licenses>
+    	<license>
+      		<name>The GNU General Public License, Version 2</name>
+      		<url>http://www.gnu.org/licenses/gpl.txt</url>
+      		<distribution>repo</distribution>
+      		<comments>MySQL Connector/J contains exceptions to GPL requirements when linking with other components
+      		that are licensed under OSI-approved open source licenses, see EXCEPTIONS-CONNECTOR-J
+      		in this distribution for more details.</comments>
+    	</license>
+	</licenses>
+  
+    <url>http://dev.mysql.com/usingmysql/java/</url>
+
+    <scm>
+        <connection>
+            scm:svn:http://svn.mysql.com/svnpublic/connector-j/trunk/connector-j
+        </connection>
+        <developerConnection>
+            scm:svn:http://svn.mysql.com/svnpublic/connector-j/trunk/connector-j
+        </developerConnection>
+        <url>
+            http://svn.mysql.com/svnpublic/connector-j/trunk/connector-j
+        </url>
+    </scm>
+
+</project>

Thread
Connector/J commit: r5511 - in branches: branch_3_1/connector-j branch_3_1/connector-j/src/doc/sources branch_5_0/connector-j branch_5_0/connector-j/s...mmatthews14 Jul