activemq-rar build should work with deploy profile - turning off source attachment

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1204975 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2011-11-22 13:19:07 +00:00
parent 2e2681f2c2
commit 7c2d5e492f
1 changed files with 27 additions and 0 deletions

View File

@ -258,5 +258,32 @@
</plugins> </plugins>
</build> </build>
<profiles>
<profile>
<id>deploy</id>
<build>
<defaultGoal>deploy</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.1.2</version>
<configuration>
<attach>false</attach>
</configuration>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project> </project>