commented out section in distribution.xml assembly descriptor that aggregates dependencies into the lib/ directory until we figure out what our final plan is with distributing third party dependencies. also copied distributionManagement section from root pom to parent pom; unfortunately it looks like this duplication across the poms cannot be avoided.

This commit is contained in:
Chris Beams
2010-06-02 19:20:22 +00:00
parent 1dad825ea9
commit ef62031617
2 changed files with 30 additions and 12 deletions

View File

@@ -44,6 +44,23 @@
</distributionManagement>
</profile>
</profiles>
<distributionManagement>
<!-- see 'staging' profile for dry-run deployment settings -->
<downloadUrl>http://static.springframework.org/spring-integration/site/downloads/releases.html</downloadUrl>
<repository>
<id>local</id>
<url>file://${java.io.tmpdir}/spring-integration-repo</url>
</repository>
<snapshotRepository>
<id>spring-snapshot</id>
<name>Spring Snapshot Repository</name>
<url>s3://maven.springframework.org/snapshot</url>
</snapshotRepository>
<site>
<id>static.springframework.org</id>
<url>scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-integration/sites/${project.version}</url>
</site>
</distributionManagement>
<build>
<extensions>
<extension>

View File

@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<assembly>
<!-- distribution assembly descriptor. packages up jars, source jars, documentation,
dependencies and other resources into a single archive suitable for download and
standalone use.
see pom.xml 'maven-assembly-plugin' declaration
see src/main/scripts/build-distribution.sh
see http://www.sonatype.com/books/mvnref-book/reference/assemblies-set-dist-assemblies.html -->
dependencies and other resources into a single archive suitable for download and
standalone use.
see pom.xml 'maven-assembly-plugin' declaration
see src/main/scripts/build-distribution.sh
see http://www.sonatype.com/books/mvnref-book/reference/assemblies-set-dist-assemblies.html -->
<id>distribution</id>
<formats>
<format>zip</format>
@@ -24,25 +24,26 @@
<outputDirectory/>
<lineEnding>dos</lineEnding>
</fileSet>
<!-- TODO: commented out, pending resolution of what to do with distributing 3rd party deps
<fileSet>
<!-- adds dependency jars to the distribution archive under the 'lib' directory
see pom.xml 'maven-dependency-plugin' declaration -->
adds dependency jars to the distribution archive under the 'lib' directory
see pom.xml 'maven-dependency-plugin' declaration
<directory>${project.build.directory}/dependency</directory>
<includes>
<include>**/*.jar</include>
</includes>
<outputDirectory>lib</outputDirectory>
</fileSet>
</fileSet> -->
<fileSet>
<!-- adds reference manual (html and pdf) to the distribution archive under the
'docs/reference' directory
see pom.xml 'maven-javadoc-plugin' declaration -->
'docs/reference' directory
see pom.xml 'maven-javadoc-plugin' declaration -->
<directory>target/site/reference</directory>
<outputDirectory>docs/reference</outputDirectory>
</fileSet>
<fileSet>
<!-- adds javadoc html to the distribution archive under the 'docs/javadoc' directory
see pom.xml 'maven-javadoc-plugin' declaration -->
see pom.xml 'maven-javadoc-plugin' declaration -->
<directory>target/site/apidocs</directory>
<outputDirectory>docs/javadoc</outputDirectory>
</fileSet>
@@ -81,7 +82,7 @@
</moduleSet>
<moduleSet>
<!-- adds module source jars to the distribution archive under the 'src' directory
see pom.xml 'maven-source-plugin' declaration -->
see pom.xml 'maven-source-plugin' declaration -->
<includes>
<include>org.springframework.integration:spring-integration-core</include>
<include>org.springframework.integration:spring-integration-event</include>