You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by jd...@apache.org on 2006/04/04 16:55:22 UTC
svn commit: r391326 - in
/maven/components/branches/maven-2.0.x/maven-core-it: ./ it0098/test
project/ it0104/ it0104/src/ it0104/src/main/ it0104/src/main/java/
it0104/src/main/java/org/ it0104/src/main/java/org/apache/
it0104/src/main/java/org/apache...
Author: jdcasey
Date: Tue Apr 4 07:55:18 2006
New Revision: 391326
URL: http://svn.apache.org/viewcvs?rev=391326&view=rev
Log:
Adding IT for Vincent's regression in the surefire pluginManagement config of ${project.build.directory}.
Added:
maven/components/branches/maven-2.0.x/maven-core-it/it0104/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/goals.txt (with props)
maven/components/branches/maven-2.0.x/maven-core-it/it0104/pom.xml (with props)
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/apache/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/apache/maven/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/apache/maven/it/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/apache/maven/it/App.java (with props)
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/apache/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/apache/maven/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/apache/maven/it/
maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/apache/maven/it/AppTest.java (with props)
Removed:
maven/components/branches/maven-2.0.x/maven-core-it/it0098/test project/
Modified:
maven/components/branches/maven-2.0.x/maven-core-it/README.txt
maven/components/branches/maven-2.0.x/maven-core-it/integration-tests.txt
Modified: maven/components/branches/maven-2.0.x/maven-core-it/README.txt
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-core-it/README.txt?rev=391326&r1=391325&r2=391326&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core-it/README.txt (original)
+++ maven/components/branches/maven-2.0.x/maven-core-it/README.txt Tue Apr 4 07:55:18 2006
@@ -277,6 +277,10 @@
a parent can build, even if that parent is not correctly referenced by
<relativePath/> and is not in the local repository. [MNG-2196]
+it0104: Verify that plugin configurations are resolved correctly, particularly
+ when they contain ${project.build.directory} in the string value of a
+ Map.Entry.
+
-------------------------------------------------------------------------------
- generated sources
Modified: maven/components/branches/maven-2.0.x/maven-core-it/integration-tests.txt
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-core-it/integration-tests.txt?rev=391326&r1=391325&r2=391326&view=diff
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core-it/integration-tests.txt (original)
+++ maven/components/branches/maven-2.0.x/maven-core-it/integration-tests.txt Tue Apr 4 07:55:18 2006
@@ -1,3 +1,4 @@
+it0104
it0103
it0102
it0101
Added: maven/components/branches/maven-2.0.x/maven-core-it/it0104/goals.txt
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-core-it/it0104/goals.txt?rev=391326&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core-it/it0104/goals.txt (added)
+++ maven/components/branches/maven-2.0.x/maven-core-it/it0104/goals.txt Tue Apr 4 07:55:18 2006
@@ -0,0 +1 @@
+test
\ No newline at end of file
Propchange: maven/components/branches/maven-2.0.x/maven-core-it/it0104/goals.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-core-it/it0104/goals.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added: maven/components/branches/maven-2.0.x/maven-core-it/it0104/pom.xml
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-core-it/it0104/pom.xml?rev=391326&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core-it/it0104/pom.xml (added)
+++ maven/components/branches/maven-2.0.x/maven-core-it/it0104/pom.xml Tue Apr 4 07:55:18 2006
@@ -0,0 +1,36 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven.it</groupId>
+ <artifactId>it0104</artifactId>
+ <packaging>jar</packaging>
+ <version>1.0-SNAPSHOT</version>
+ <name>Maven Quick Start Archetype</name>
+ <url>http://maven.apache.org</url>
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.1</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <!-- pluginManagement -->
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <systemProperties>
+ <property>
+ <name>target.dir</name>
+ <value>${project.build.directory}</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </plugin>
+ </plugins>
+ <!-- /pluginManagement -->
+ </build>
+</project>
Propchange: maven/components/branches/maven-2.0.x/maven-core-it/it0104/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-core-it/it0104/pom.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added: maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/apache/maven/it/App.java
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/apache/maven/it/App.java?rev=391326&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/apache/maven/it/App.java (added)
+++ maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/apache/maven/it/App.java Tue Apr 4 07:55:18 2006
@@ -0,0 +1,13 @@
+package org.apache.maven.it;
+
+/**
+ * Hello world!
+ *
+ */
+public class App
+{
+ public static void main( String[] args )
+ {
+ System.out.println( "Hello World!" );
+ }
+}
Propchange: maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/apache/maven/it/App.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/main/java/org/apache/maven/it/App.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added: maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/apache/maven/it/AppTest.java
URL: http://svn.apache.org/viewcvs/maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/apache/maven/it/AppTest.java?rev=391326&view=auto
==============================================================================
--- maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/apache/maven/it/AppTest.java (added)
+++ maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/apache/maven/it/AppTest.java Tue Apr 4 07:55:18 2006
@@ -0,0 +1,29 @@
+package org.apache.maven.it;
+
+import junit.framework.Test;
+import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
+import java.io.File;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest
+ extends TestCase
+{
+
+ /**
+ * Rigourous Test :-)
+ */
+ public void testApp()
+ {
+
+ String targetDir = System.getProperty( "target.dir" );
+
+ System.out.println( "Got 'target.dir' of: '" + targetDir + "'" );
+
+ assertNotNull( "System property 'target.dir' is not present.", targetDir );
+ assertFalse( "System property 'target.dir' was not resolved correctly.", "${project.build.directory}".equals( targetDir ) );
+ }
+}
Propchange: maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/apache/maven/it/AppTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/branches/maven-2.0.x/maven-core-it/it0104/src/test/java/org/apache/maven/it/AppTest.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"