That's exactly what I've been seeing yesterday after clean checkout running with -Dmaven.test.skip.
You might need to remove the test-jar dependency from a local m2 repo to reproduce. Bernd On Wed, Feb 24, 2010 at 17:21, Tim-Christian Mundt <[email protected]> wrote: > Again one of these I-cannot-build-james-requests, sorry for that. I'm > working with James for quite a while now and built it many times. After a > few weeks sticking with one version (I didn't wanna cope with ever changing > code during development) I updated today. So I have basically a clean James > here. > Typing "mvn clean package" seems to work (BUILD SUCCESSFUL) but I only get > the james-server-3.0-M1-tests.jar in the target folder. Where's > james-server-3.0-M1.xxx? > Issuing "mvn compile" gives me the following error: > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] Failed to resolve dependencies for one or more projects in the > reactor. Reason: Missing: > ---------- > 1) org.apache.james:james-server-user-library:test-jar:tests:3.0-M1 > > Try downloading the file manually from the project website. > -- snip -- > Path to dependency: > 1) org.apache.james:james-server-user-function:jar:3.0-M1 > 2) org.apache.james:james-server-user-library:test-jar:tests:3.0-M1 > > 2) org.apache.james:james-server-core-library:test-jar:tests:3.0-M1 > > Try downloading the file manually from the project website. > -- snip -- > Path to dependency: > 1) org.apache.james:james-server-user-function:jar:3.0-M1 > 2) org.apache.james:james-server-core-library:test-jar:tests:3.0-M1 > > ---------- > 2 required artifacts are missing. > > for artifact: > org.apache.james:james-server-user-function:jar:3.0-M1 > > from the specified remote repositories: > apache.snapshots (http://repository.apache.org/snapshots), > central (http://repo1.maven.org/maven2), > maven2-repository.dev.java.net (http://download.java.net/maven/2/), > maven1-repository.dev.java.net (http://download.java.net/maven/1/), > module-local (file://stage) > > Anything I'm missing here? Why does 'package' work, which successfully > compiles (the class files are all there) but an explicit 'compile' doesn't? > > Thanks, > Tim > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
