Permalink
Browse files

update build for SPring Build and parent pom

  • Loading branch information...
1 parent fb0f17c commit adab23a5a8ad3e013456ca8d2859b374666d4504 dsyer committed Jun 1, 2009
@@ -7,10 +7,20 @@
<pathelement location="${basedir}/../spring-batch-test"/>
</path>
+ <path id="parents">
+ <pathelement location="${basedir}/../spring-batch-parent"/>
+ </path>
+
<property file="${basedir}/../build.properties" />
<propertyset id="bundlor.properties">
<propertyref builtin="all"/>
</propertyset>
+
<import file="${basedir}/../spring-build/multi-bundle/default.xml"/>
+ <target name="publish-maven-central">
+ <all-bundles target="publish-maven-central" buildpathRef="bundles"/>
+ <all-bundles target="publish-maven-central" buildpathRef="parents"/>
+ </target>
+
</project>
@@ -1,3 +1,4 @@
+Manifest-Version: 1.0
Bundle-SymbolicName: org.springframework.batch.core
Bundle-Name: Spring Batch Core
Bundle-Vendor: Spring
@@ -26,4 +27,3 @@ Import-Template:
org.osgi.framework;version="0";resolution:=optional,
org.w3c.dom;version="0";resolution:=optional,
javax.sql.*;version="0";resolution:=optional
-
@@ -1,3 +1,4 @@
+Manifest-Version: 1.0
Bundle-SymbolicName: org.springframework.batch.infrastructure
Bundle-Name: Spring Batch Infrastructure
Bundle-Vendor: Spring
@@ -7,8 +8,8 @@ Ignored-Existing-Headers:
Import-Package,
Export-Package
Import-Template:
- com.thoughtworks.xstream.*;version="[1.3,1.4)",
- org.codehaus.jettison.*;version="[1.0,1.1)",
+ com.thoughtworks.xstream.*;version="[1.3,1.4)";resolution:=optional,
+ org.codehaus.jettison.*;version="[1.0,1.1)";resolution:=optional,
org.aopalliance.*;version="[1.0.0, 2.0.0)",
org.aspectj.*;version="[1.5.2,1.7.0)",
org.hibernate.*;version="[3.2.5.ga, 3.3.0.ga)";resolution:=optional,
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="org.springframework.batch.parent" xmlns:maven="antlib:org.apache.maven.artifact.ant">
+
+ <property file="${basedir}/../build.properties" />
+ <import file="${basedir}/../build-spring-batch/package-bundle.xml"/>
+
+ <target name="publish-maven-central" depends="maven.init">
+ <property name="maven.central.repository" value="s3://maven.springframework.org/${adjusted.release.type}"/>
+ <maven:deploy>
+ <remoteRepository url="${maven.central.repository}">
+ <authentication username="${accessKey}" passphrase="${secretKey}"/>
+ </remoteRepository>
+ <pom file="pom.xml"/>
+ </maven:deploy>
+ </target>
+
+</project>
@@ -1,3 +1,4 @@
+Manifest-Version: 1.0
Bundle-SymbolicName: org.springframework.batch.test
Bundle-Name: Spring Batch Test
Bundle-Vendor: Spring
@@ -31,9 +32,7 @@ Import-Template:
org.springframework.util.*;version="[2.5.5, 3.0.0)";resolution:=optional,
org.springframework.validation.*;version="[2.5.5, 3.0.0)";resolution:=optional,
org.springframework.oxm.*;version="[1.5.0, 2.0.0)";resolution:=optional,
- org.springframework.xml.*;version="[1.5.0, 2.0.0)";resolution:=optional
-Unversioned-Imports:
- javax.sql.*,
- javax.xml.namespace.*,
- javax.xml.transform.*
-
+ org.springframework.xml.*;version="[1.5.0, 2.0.0)";resolution:=optional,
+ javax.sql.*;version="0",
+ javax.xml.namespace.*;version="0",
+ javax.xml.transform.*;version="0"

0 comments on commit adab23a

Please sign in to comment.