Tweak assembly so archetypes/sampels work

This commit is contained in:
dsyer
2009-02-20 09:33:54 +00:00
parent 129bb48880
commit ed041a75bc
5 changed files with 48 additions and 36 deletions

View File

@@ -238,14 +238,20 @@
</snapshots>
</pluginRepository>
<pluginRepository>
<id>com.springsource.repository.bundles.plugins</id>
<id>com.springsource.repository.bundles.milestone</id>
<name>SpringSource Enterprise Bundle Repository -
SpringSource Bundle Plugins</name>
SpringSource Bundle Milestones</name>
<url>http://repository.springsource.com/maven/bundles/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>com.springsource.repository.bundles.snapshots</id>
<name>SpringSource Enterprise Bundle Repository -
SpringSource Bundle Snapshots</name>
<url>http://repository.springsource.com/maven/bundles/snapshot</url>
</pluginRepository>
</pluginRepositories>
<distributionManagement>
<downloadUrl>http://www.springframework.org/download</downloadUrl>

23
pom.xml
View File

@@ -608,21 +608,6 @@
SpringSource Bundle Snapshots</name>
<url>http://repository.springsource.com/maven/bundles/snapshot</url>
</pluginRepository>
<pluginRepository>
<id>spring-external</id>
<name>Spring External Repository</name>
<url>http://s3.amazonaws.com/maven.springframework.org/external</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>Codehaus Snapshots</id>
<url>http://snapshots.repository.codehaus.org/</url>
<snapshots>
<updatePolicy>never</updatePolicy>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>agilejava</id>
<url>http://agilejava.com/maven</url>
@@ -630,13 +615,5 @@
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>spring-external-svn</id>
<name>Spring External SVN Repository</name>
<url>https://springframework.svn.sourceforge.net/svnroot/springframework/repos/repo-ext</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</project>

View File

@@ -9,13 +9,5 @@
<include>notice.txt</include>
</includes>
</fileSet>
<fileSet>
<directory>target</directory>
<outputDirectory>samples</outputDirectory>
<includes>
<include>pom.xml</include>
</includes>
<lineEnding>unix</lineEnding>
</fileSet>
</fileSets>
</component>

View File

@@ -59,5 +59,25 @@
</fileSets>
</sources>
</moduleSet>
<moduleSet>
<includes>
<include>
org.springframework.batch:org.springframework.batch.parent
</include>
</includes>
<sources>
<outputDirectoryMapping>
samples/spring-batch-parent
</outputDirectoryMapping>
<fileSets>
<fileSet>
<excludes>
<exclude>bin/**</exclude>
<exclude>target/**</exclude>
</excludes>
</fileSet>
</fileSets>
</sources>
</moduleSet>
</moduleSets>
</assembly>

View File

@@ -61,9 +61,6 @@
</moduleSet>
<moduleSet>
<includes>
<include>
org.springframework.batch:org.springframework.batch.parent
</include>
<include>
org.springframework.batch:org.springframework.batch.test
</include>
@@ -88,6 +85,26 @@
</fileSets>
</sources>
</moduleSet>
<moduleSet>
<includes>
<include>
org.springframework.batch:org.springframework.batch.parent
</include>
</includes>
<sources>
<outputDirectoryMapping>
sources/spring-batch-parent
</outputDirectoryMapping>
<fileSets>
<fileSet>
<excludes>
<exclude>bin/**</exclude>
<exclude>target/**</exclude>
</excludes>
</fileSet>
</fileSets>
</sources>
</moduleSet>
<moduleSet>
<includes>
<include>