Author: brett
Date: Tue Aug 9 16:31:14 2005
New Revision: 231142
URL: http://svn.apache.org/viewcvs?rev=231142&view=rev
Log:
add a test case to illustrate why we have to make compile time dependencies
transitive as compile, not runtime as we'd like.
Added:
maven/components/trunk/maven-core-it/it0047/ (with props)
maven/components/trunk/maven-core-it/it0047/expected-results.txt (with
props)
maven/components/trunk/maven-core-it/it0047/goals.txt (with props)
maven/components/trunk/maven-core-it/it0047/pom.xml (with props)
maven/components/trunk/maven-core-it/it0047/src/
maven/components/trunk/maven-core-it/it0047/src/main/
maven/components/trunk/maven-core-it/it0047/src/main/java/
maven/components/trunk/maven-core-it/it0047/src/main/java/org/
maven/components/trunk/maven-core-it/it0047/src/main/java/org/apache/
maven/components/trunk/maven-core-it/it0047/src/main/java/org/apache/maven/
maven/components/trunk/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/
maven/components/trunk/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/Person.java
(with props)
Modified:
maven/components/trunk/maven-core-it/README.txt
maven/components/trunk/maven-core-it/integration-tests.txt
Modified: maven/components/trunk/maven-core-it/README.txt
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/README.txt?rev=231142&r1=231141&r2=231142&view=diff
==============================================================================
--- maven/components/trunk/maven-core-it/README.txt (original)
+++ maven/components/trunk/maven-core-it/README.txt Tue Aug 9 16:31:14 2005
@@ -131,6 +131,9 @@
it0046: Test fail-never reactor behavior. Forces an exception to be thrown in
the first module, but checks that the second modules is built.
+it0047: Test the use case for having a compile time dependency be transitive:
when you extend a class you need its
+ dependencies at compile time.
+
-------------------------------------------------------------------------------
- generated sources
Modified: maven/components/trunk/maven-core-it/integration-tests.txt
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/integration-tests.txt?rev=231142&r1=231141&r2=231142&view=diff
==============================================================================
--- maven/components/trunk/maven-core-it/integration-tests.txt (original)
+++ maven/components/trunk/maven-core-it/integration-tests.txt Tue Aug 9
16:31:14 2005
@@ -1,3 +1,4 @@
+it0047
it0046
it0045
it0044
Propchange: maven/components/trunk/maven-core-it/it0047/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Aug 9 16:31:14 2005
@@ -0,0 +1,2 @@
+target
+log.txt
Added: maven/components/trunk/maven-core-it/it0047/expected-results.txt
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0047/expected-results.txt?rev=231142&view=auto
==============================================================================
--- maven/components/trunk/maven-core-it/it0047/expected-results.txt (added)
+++ maven/components/trunk/maven-core-it/it0047/expected-results.txt Tue Aug 9
16:31:14 2005
@@ -0,0 +1 @@
+target/classes/org/apache/maven/it0047/Person.class
Propchange: maven/components/trunk/maven-core-it/it0047/expected-results.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/trunk/maven-core-it/it0047/expected-results.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added: maven/components/trunk/maven-core-it/it0047/goals.txt
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0047/goals.txt?rev=231142&view=auto
==============================================================================
--- maven/components/trunk/maven-core-it/it0047/goals.txt (added)
+++ maven/components/trunk/maven-core-it/it0047/goals.txt Tue Aug 9 16:31:14
2005
@@ -0,0 +1 @@
+compile
Propchange: maven/components/trunk/maven-core-it/it0047/goals.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/trunk/maven-core-it/it0047/goals.txt
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added: maven/components/trunk/maven-core-it/it0047/pom.xml
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0047/pom.xml?rev=231142&view=auto
==============================================================================
--- maven/components/trunk/maven-core-it/it0047/pom.xml (added)
+++ maven/components/trunk/maven-core-it/it0047/pom.xml Tue Aug 9 16:31:14 2005
@@ -0,0 +1,13 @@
+<model>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-core-it0047</artifactId>
+ <version>1.0</version>
+ <dependencies>
+ <dependency>
+ <groupId>plexus</groupId>
+ <artifactId>plexus-container-default</artifactId>
+ <version>1.0-alpha-4</version>
+ </dependency>
+ </dependencies>
+</model>
Propchange: maven/components/trunk/maven-core-it/it0047/pom.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: maven/components/trunk/maven-core-it/it0047/pom.xml
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
Added:
maven/components/trunk/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/Person.java
URL:
http://svn.apache.org/viewcvs/maven/components/trunk/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/Person.java?rev=231142&view=auto
==============================================================================
---
maven/components/trunk/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/Person.java
(added)
+++
maven/components/trunk/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/Person.java
Tue Aug 9 16:31:14 2005
@@ -0,0 +1,19 @@
+package org.apache.maven.it0047;
+
+import org.codehaus.plexus.PlexusTestCase;
+
+public class Person
+ extends PlexusTestCase
+{
+ private String name;
+
+ public void setName( String name )
+ {
+ this.name = name;
+ }
+
+ public String getName()
+ {
+ return name;
+ }
+}
Propchange:
maven/components/trunk/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/Person.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
maven/components/trunk/maven-core-it/it0047/src/main/java/org/apache/maven/it0047/Person.java
------------------------------------------------------------------------------
svn:keywords = "Author Date Id Revision"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]