OPEN - issue BATCH-242: jar and source doesn't match

http://opensource.atlassian.com/projects/spring/browse/BATCH-242

Fix assembly (dist) so that sources and classes jars are included as-is (instead of trying to build them).
This commit is contained in:
dsyer
2007-12-11 15:30:37 +00:00
parent 22d769afdd
commit ffa19bdd20
3 changed files with 36 additions and 27 deletions

11
dist/.project vendored Normal file
View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>dist</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>

8
dist/pom.xml vendored
View File

@@ -17,10 +17,10 @@
</parent>
<modules>
<module>../infrastructure</module>
<module>../core</module>
<module>../execution</module>
<module>../samples</module>
<module>../spring-batch-infrastructure</module>
<module>../spring-batch-core</module>
<module>../spring-batch-execution</module>
<module>../spring-batch-samples</module>
</modules>
<build>

View File

@@ -10,30 +10,28 @@
<moduleSets>
<moduleSet>
<includes>
<include>org.springframework.batch:spring-batch-core</include>
<include>org.springframework.batch:spring-batch-execution</include>
<include>org.springframework.batch:spring-batch-infrastructure</include>
<include>
org.springframework.batch:spring-batch-core
</include>
<include>
org.springframework.batch:spring-batch-execution
</include>
<include>
org.springframework.batch:spring-batch-infrastructure
</include>
</includes>
<binaries>
<includeDependencies>false</includeDependencies>
<outputFileNameMapping>dist/${artifactId}-${version}.${extension}</outputFileNameMapping>
<unpack>false</unpack>
</binaries>
</moduleSet>
<moduleSet>
<includes>
<include>org.springframework.batch:spring-batch-core</include>
<include>org.springframework.batch:spring-batch-execution</include>
<include>org.springframework.batch:spring-batch-infrastructure</include>
</includes>
<binaries>
<includeDependencies>false</includeDependencies>
<outputFileNameMapping>dist/${artifactId}-${version}-sources.${extension}</outputFileNameMapping>
<unpack>false</unpack>
<includes>
<include>target/${artifactId}-${version}-sources.${extension}</include>
</includes>
</binaries>
<sources>
<includeModuleDirectory>false</includeModuleDirectory>
<fileSets>
<fileSet>
<directory>target</directory>
<outputDirectory>dist</outputDirectory>
<includes>
<include>*.jar</include>
</includes>
</fileSet>
</fileSets>
</sources>
</moduleSet>
</moduleSets>
</assembly>