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

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1205034 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2011-11-22 15:15:17 +00:00
parent 33edc9902e
commit d19e9e387c
1 changed files with 27 additions and 0 deletions

View File

@ -96,4 +96,31 @@
</plugins>
</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>