Author: aheritier
Date: 2010-02-04 14:07:32 -0500 (Thu, 04 Feb 2010)
New Revision: 1687
Modified:
jcr/trunk/exo.jcr.component.core/pom.xml
jcr/trunk/pom.xml
Log:
EXOJCR-477 : Automatically download tck sources
Modified: jcr/trunk/exo.jcr.component.core/pom.xml
===================================================================
--- jcr/trunk/exo.jcr.component.core/pom.xml 2010-02-04 18:53:50 UTC (rev 1686)
+++ jcr/trunk/exo.jcr.component.core/pom.xml 2010-02-04 19:07:32 UTC (rev 1687)
@@ -179,6 +179,7 @@
<dependency>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-jcr-tests</artifactId>
+ <classifier>sources</classifier>
<scope>test</scope>
<exclusions>
<exclusion>
@@ -327,6 +328,31 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-test-sources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>org.apache.jackrabbit</groupId>
+ <artifactId>jackrabbit-jcr-tests</artifactId>
+ <classifier>sources</classifier>
+ <type>jar</type>
+ <overWrite>false</overWrite>
+ </artifactItem>
+ </artifactItems>
+
<outputDirectory>${project.build.testSourceDirectory}</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<!-- normal mode: mvn -Dmaven.test.skip=false clean install -->
<!-- debug mode: mvn -Dmaven.test.skip=false -DforkMode=never clean install
-->
Modified: jcr/trunk/pom.xml
===================================================================
--- jcr/trunk/pom.xml 2010-02-04 18:53:50 UTC (rev 1686)
+++ jcr/trunk/pom.xml 2010-02-04 19:07:32 UTC (rev 1687)
@@ -304,6 +304,7 @@
<groupId>org.apache.jackrabbit</groupId>
<artifactId>jackrabbit-jcr-tests</artifactId>
<version>1.6.0</version>
+ <classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
Show replies by date