AMQ-859: nightly snapshots to include source distro.

Added src-bin.xml and modified assembly/pom.xml to include a build for creating the source distro.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@428970 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Frederick G. Oconer 2006-08-05 07:07:09 +00:00
parent c68f455cab
commit 5e5febb4de
2 changed files with 84 additions and 1 deletions

View File

@ -320,7 +320,7 @@
<appendAssemblyId>false</appendAssemblyId>
</configuration>
</execution>
</executions>
</executions>
</plugin>
<!-- plugin>
<groupId>org.apache.activemq</groupId>
@ -333,5 +333,33 @@
</plugin -->
</plugins>
</build>
<profiles>
<profile>
<id>assembly-src</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.1</version>
<executions>
<execution>
<id>src</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/descriptors/src-bin.xml</descriptor>
</descriptors>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>

View File

@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<assembly>
<id>src</id>
<formats>
<format>tar.gz</format>
<format>zip</format>
</formats>
<fileSets>
<fileSet>
<directory>..</directory>
<outputDirectory>src</outputDirectory>
<includes>
<include>**/*</include>
</includes>
<excludes>
<exclude>**/target</exclude>
<exclude>**/target/**/*</exclude>
<exclude>**/build</exclude>
<exclude>**/build/**/*</exclude>
<exclude>**/data</exclude>
<exclude>**/data/**/*</exclude>
<exclude>**/activemq-data</exclude>
<exclude>**/activemq-data/**/*</exclude>
<exclude>**/.settings</exclude>
<exclude>**/.settings/**/*</exclude>
<exclude>**/eclipse-classes</exclude>
<exclude>**/eclipse-classes/**/*</exclude>
<exclude>**/.classpath</exclude>
<exclude>**/.project</exclude>
<exclude>**/.wtpmodules</exclude>
<exclude>**/surefire*</exclude>
<exclude>**/cobertura.ser</exclude>
<exclude>**/*.iml</exclude>
<exclude>**/*.ipr</exclude>
<exclude>**/*.iws</exclude>
</excludes>
</fileSet>
</fileSets>
</assembly>