Re: Unexpected copying of classes from dependencies

2009-07-14 Thread Yang Zhang
Max Bowsher wrote: Yang Zhang wrote: For some reason, Maven is pulling in classes from the jar of a dependency and putting them into my target/test-classes/ directory, causing mvn test to fail (since extra Test* classes from that package are getting picked up). Why are these classes being

Re: Unexpected copying of classes from dependencies

2009-07-13 Thread Yang Zhang
Also tried removing that entire plugin - same results. Yang Zhang wrote: I just tried this out (removed that line), to no avail. Anders Hammar wrote: I suspect the use of descriptor ref jar-with-dependencies of maven-assembly-plugin. Try removing that one an see what happens. /Anders On Mon

Re: Unexpected copying of classes from dependencies

2009-07-13 Thread Yang Zhang
I just tried this out (removed that line), to no avail. Anders Hammar wrote: I suspect the use of descriptor ref jar-with-dependencies of maven-assembly-plugin. Try removing that one an see what happens. /Anders On Mon, Jul 13, 2009 at 23:51, Yang Zhang wrote: pom.xml is attached. I ran

Re: Unexpected copying of classes from dependencies

2009-07-13 Thread Yang Zhang
On Mon, Jul 13, 2009 at 23:23, Yang Zhang wrote: I had tried cleaning already; I get the same thing. Anders Hammar wrote: What happens if you execute $ mvn clean test /Anders On Mon, Jul 13, 2009 at 21:27, Yang Zhang wrote: For some reason, Maven is pulling in classes from the jar of a depende

Re: Unexpected copying of classes from dependencies

2009-07-13 Thread Yang Zhang
I had tried cleaning already; I get the same thing. Anders Hammar wrote: What happens if you execute $ mvn clean test /Anders On Mon, Jul 13, 2009 at 21:27, Yang Zhang wrote: For some reason, Maven is pulling in classes from the jar of a dependency and putting them into my target/test

Unexpected copying of classes from dependencies

2009-07-13 Thread Yang Zhang
2009-03-18 12:10:27-0700) Java version: 1.6.0_03 Java home: /usr/java/jdk1.6.0_03/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux" version: "2.6.9-34.elsmp" arch: "i386" Family: "unix" -- Yang Zhang http://www.mit.edu/~y_z/

install-file -Dsources vs. -Dclassifier=sources

2009-07-09 Thread Yang Zhang
nywhere under ~/.m2/. Thanks for any clarification. -- Yang Zhang http://www.mit.edu/~y_z/ - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org

Unable to find resource...

2009-07-09 Thread Yang Zhang
'org.apache.zookeeper:zookeeper:pom:3.2.0' in repository central (http://repo1.maven.org/maven2) messages from mvn, even though the build proceeds to work. What's the right way to get rid of these downloads and warnings? -- Yang Zhang http://w

Unable to find resource...

2009-07-09 Thread Yang Zhang
'org.apache.zookeeper:zookeeper:pom:3.2.0' in repository central (http://repo1.maven.org/maven2) messages from mvn, even though the build proceeds to work. What's the right way to get rid of these downloads and warnings? -- Yang Zhang http://w