Hmmm...I'm actually not seeing this:

C:\workspace\top>mvn clean test -pl module2 -X

+ Error stacktraces are turned on.
Apache Maven 2.2.1 (r801777; 2009-08-06 15:16:01-0400)
Java version: 1.6.0_24
Java home: C:\Program Files\Java\jdk1.6.0_24\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
[DEBUG] Building Maven user-level plugin registry from: 'C:\Documents and
Settings\...\.m2\plugin-registry.xml'
[DEBUG] Building Maven global-level plugin registry from:
'C:\devtk\maven\bin\..\conf\plugin-registry.xml'
[INFO] Scanning for projects...
[DEBUG] Adding managed dependencies for top
[DEBUG]   module1:jar:4.3.000.CE-SNAPSHOT
[DEBUG]   module2:jar:4.3.000.CE-SNAPSHOT

...

[DEBUG] test classpath classpath:
[DEBUG]   C:\workspace\top\module2\target\test-classes
[DEBUG]   C:\workspace\top\module2\target\classes
[DEBUG]  
C:\.m2\repository\module1\4.3.000.CE-SNAPSHOT\module1-4.3.000.CE-SNAPSHOT.jar
[DEBUG]   C:\.m2\repository\commons-io\commons-io\1.4\commons-io-1.4.jar
[DEBUG]  
C:\.m2\repository\commons-lang\commons-lang\2.4\commons-lang-2.4.jar
[DEBUG]  
C:\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar
[DEBUG]  
C:\.m2\repository\javax\activation\activation\1.1\activation-1.1.jar
[DEBUG]   C:\.m2\repository\javax\mail\mail\1.4.1\mail-1.4.1.jar
[DEBUG]   C:\.m2\repository\org\dbunit\dbunit\2.4.7\dbunit-2.4.7.jar
[DEBUG]   C:\.m2\repository\junit\junit\4.7\junit-4.7.jar

...



You can see it pulls in the target folder for module2, but not for the
module1 project module2 depends on.  Am I executing this in the wrong
manner?  



--
View this message in context: 
http://maven.40175.n5.nabble.com/mvn-test-and-classpath-do-I-need-to-execute-install-tp4327921p4346851.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to