You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ca...@apache.org on 2006/09/25 21:33:37 UTC

svn commit: r449783 - in /logging/log4j/branches/v1_2-branch: build.xml pom.xml

Author: carnold
Date: Mon Sep 25 12:33:36 2006
New Revision: 449783

URL: http://svn.apache.org/viewvc?view=rev&rev=449783
Log:
Bug 40604: Build maven repository bundle

Added:
    logging/log4j/branches/v1_2-branch/pom.xml
Modified:
    logging/log4j/branches/v1_2-branch/build.xml

Modified: logging/log4j/branches/v1_2-branch/build.xml
URL: http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/build.xml?view=diff&rev=449783&r1=449782&r2=449783
==============================================================================
--- logging/log4j/branches/v1_2-branch/build.xml (original)
+++ logging/log4j/branches/v1_2-branch/build.xml Mon Sep 25 12:33:36 2006
@@ -687,6 +687,37 @@
 
     <delete dir="${dist.tmp}" />
   </target>
+  
+  <!-- This target will be incorporated init dist for the next release
+           currently it will repackage a previously built release   -->
+  <target name="dist-maven" depends="init" description="Builds an upload package for Maven">
+      <property name="maven.base" value="${packaging.dir}/maven"/>
+      <property name="maven.src" value="${maven.base}/logging-log4j-${version}"/>
+      <property name="maven.dest" value="${packaging.dir}/maven"/>
+      <mkdir dir="${maven.base}"/>             
+      <untar src="${dist.images}/logging-log4j-${version}.tar.gz"
+             dest="${maven.base}"
+             compression="gzip"/>
+
+      <jar destfile="${maven.dest}/log4j-${version}-sources.jar"
+           basedir="${maven.src}/src/java"
+           includes="**/*.java">
+         <metainf dir="${maven.src}" includes="NOTICE,LICENSE"/>
+      </jar>
+      <jar destfile="${maven.dest}/log4j-${version}-javadoc.jar"
+           basedir="${maven.src}/docs/api"
+           includes="**/*">
+         <metainf dir="${maven.src}" includes="NOTICE,LICENSE"/>
+	  </jar>           
+      <mkdir dir="${dist.images}"/>       
+      <jar destfile="${dist.images}/logging-log4j-${version}-maven.jar"
+           basedir="${maven.dest}"
+           includes="log4j-${version}-sources.jar log4j-${version}-javadoc.jar">
+           <zipfileset dir="." includes="pom.xml"/>
+           <zipfileset dir="${maven.src}/dist/lib" includes="log4j-1.2.14.jar"/>
+           <metainf dir="${maven.src}" includes="NOTICE,LICENSE"/>
+      </jar>
+  </target>
 
 
     <!-- ================================================================= -->

Added: logging/log4j/branches/v1_2-branch/pom.xml
URL: http://svn.apache.org/viewvc/logging/log4j/branches/v1_2-branch/pom.xml?view=auto&rev=449783
==============================================================================
--- logging/log4j/branches/v1_2-branch/pom.xml (added)
+++ logging/log4j/branches/v1_2-branch/pom.xml Mon Sep 25 12:33:36 2006
@@ -0,0 +1 @@
+<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>log4j</groupId>
  <artifactId>log4j</artifactId>
  <packaging>jar</packaging>
  <name>Log4j</name>
  <version>1.2.14</version>
  <description>Log4j</description>
  <url>http://logging.apache.org/log4j/docs/</url>
  <issueManagement>
     <system>Bugzilla</system>
     <url>http://issues.apache.org/bugzilla</url>
  </issueManagement>
  <inceptionYear>1999</inceptionYear>
  <mailingLists>
	<mailingList>
		<name>log4j-user</name>
		<subscribe>log4j-user-subscribe@logging.apache.org</subscribe>
		<unsubscribe>log4j-user-unsubscribe@logging.apache.org</unsubscribe>
		<post>log4j-user@logging.apache.org</post>
		<archive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive>
		<otherArchives>
			<otherArchive>http://marc.theaimsgroup.com/?l=log4j-user&amp;r=1&amp;w=2</otherArchive>
		    <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.user</otherArchive>
		</otherArchives>
	</mailingList>
	<mailin
 gList>
		<name>log4j-dev</name>
		<subscribe>log4j-dev-subscribe@logging.apache.org</subscribe>
		<unsubscribe>log4j-dev-unsubscribe@logging.apache.org</unsubscribe>
		<post>log4j-dev@logging.apache.org</post>
		<archive>http://mail-archives.apache.org/mod_mbox/logging-log4j-dev/</archive>
		<otherArchives>
		    <otherArchive>http://marc.theaimsgroup.com/?l=log4j-dev&amp;r=1&amp;w=2</otherArchive>
		    <otherArchive>http://dir.gmane.org/gmane.comp.jakarta.log4j.devel</otherArchive>
		</otherArchives>
	</mailingList>
  </mailingLists>
  <licenses>
    <license>
      <name>The Apache Software License, Version 2.0</name>
      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <scm>
	<connection>scm:svn:http://svn.apache.org/repos/asf/logging/log4j/tags/v1_2_14</connection>
	<developerConnection>scm:svn:https://svn.apache.org/repos/asf/logging/log4j/tags/v1_2_14</developerConnection>
    <url>http:
 //svn.apache.org/viewcvs.cgi/logging/log4j/tags/v1_2_14/</url>
  </scm>
  <organization>
    <name>Apache Software Foundation</name>
    <url>http://www.apache.org</url>
  </organization>
</project>
\ No newline at end of file



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