Author: richard.opalka(a)jboss.com
Date: 2008-11-25 15:24:36 -0500 (Tue, 25 Nov 2008)
New Revision: 8780
Modified:
maven/parent/trunk/pom.xml
Log:
always download sources - can be disabled by setting -Dskip-download-sources=true java
property
Modified: maven/parent/trunk/pom.xml
===================================================================
--- maven/parent/trunk/pom.xml 2008-11-24 14:55:17 UTC (rev 8779)
+++ maven/parent/trunk/pom.xml 2008-11-25 20:24:36 UTC (rev 8780)
@@ -166,4 +166,36 @@
<
url>dav:https://snapshots.jboss.org/maven2</url>
</snapshotRepository>
</distributionManagement>
+
+ <profiles>
+ <profile>
+ <id>download-sources</id>
+ <activation>
+ <property>
+ <name>!skip-download-sources</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.0</version>
+ <executions>
+ <execution>
+ <id>download-sources</id>
+ <goals>
+ <goal>sources</goal>
+ </goals>
+ <configuration>
+ <silent>true</silent>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+
</project>