You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2009/04/20 23:37:13 UTC
svn commit: r766886 - in /maven/plugins/trunk/maven-source-plugin/src/it:
jar/pom.xml jar/verify.bsh test-jar/pom.xml test-jar/verify.bsh
Author: bentmann
Date: Mon Apr 20 21:37:12 2009
New Revision: 766886
URL: http://svn.apache.org/viewvc?rev=766886&view=rev
Log:
o Extended ITs to check forking
Modified:
maven/plugins/trunk/maven-source-plugin/src/it/jar/pom.xml
maven/plugins/trunk/maven-source-plugin/src/it/jar/verify.bsh
maven/plugins/trunk/maven-source-plugin/src/it/test-jar/pom.xml
maven/plugins/trunk/maven-source-plugin/src/it/test-jar/verify.bsh
Modified: maven/plugins/trunk/maven-source-plugin/src/it/jar/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-source-plugin/src/it/jar/pom.xml?rev=766886&r1=766885&r2=766886&view=diff
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/it/jar/pom.xml (original)
+++ maven/plugins/trunk/maven-source-plugin/src/it/jar/pom.xml Mon Apr 20 21:37:12 2009
@@ -40,6 +40,26 @@
<artifactId>maven-source-plugin</artifactId>
<version>@pom.version@</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.3</version>
+ <executions>
+ <execution>
+ <id>generated-sources</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <touch file="target/generated-sources/ant/generated.properties" mkdirs="true"/>
+ </tasks>
+ <sourceRoot>target/generated-sources/ant</sourceRoot>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
Modified: maven/plugins/trunk/maven-source-plugin/src/it/jar/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-source-plugin/src/it/jar/verify.bsh?rev=766886&r1=766885&r2=766886&view=diff
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/it/jar/verify.bsh (original)
+++ maven/plugins/trunk/maven-source-plugin/src/it/jar/verify.bsh Mon Apr 20 21:37:12 2009
@@ -19,6 +19,7 @@
"META-INF/MANIFEST.MF",
"MyClass.java",
"main.properties",
+ "generated.properties",
};
for ( String included : includedEntries )
{
Modified: maven/plugins/trunk/maven-source-plugin/src/it/test-jar/pom.xml
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-source-plugin/src/it/test-jar/pom.xml?rev=766886&r1=766885&r2=766886&view=diff
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/it/test-jar/pom.xml (original)
+++ maven/plugins/trunk/maven-source-plugin/src/it/test-jar/pom.xml Mon Apr 20 21:37:12 2009
@@ -40,6 +40,26 @@
<artifactId>maven-source-plugin</artifactId>
<version>@pom.version@</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.3</version>
+ <executions>
+ <execution>
+ <id>generated-sources</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <touch file="target/generated-sources/ant/generated.properties" mkdirs="true"/>
+ </tasks>
+ <testSourceRoot>target/generated-sources/ant</testSourceRoot>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
Modified: maven/plugins/trunk/maven-source-plugin/src/it/test-jar/verify.bsh
URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-source-plugin/src/it/test-jar/verify.bsh?rev=766886&r1=766885&r2=766886&view=diff
==============================================================================
--- maven/plugins/trunk/maven-source-plugin/src/it/test-jar/verify.bsh (original)
+++ maven/plugins/trunk/maven-source-plugin/src/it/test-jar/verify.bsh Mon Apr 20 21:37:12 2009
@@ -19,6 +19,7 @@
"META-INF/MANIFEST.MF",
"MyTest.java",
"test.properties",
+ "generated.properties",
};
for ( String included : includedEntries )
{