Hi there,
When I run "maven java:compile", I get the error below. It seems that the
maven dependency class path is not set
correctly. Maven is looking for the classes for the Artifact plugin but they
are not in the classpath.
How can I fix that?
$ maven java:compile -X
__ __
| \/ |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \ ~ intelligent projects ~
|_| |_\__,_|\_/\___|_||_| v. 1.0-rc1-SNAPSHOT
[DEBUG] Adding reference: maven.dependency.classpath ->
/home/builder/projects/blast_builder/app/lib/ant.jar
[available] [VERBOSE] Found: app/src
[available] [VERBOSE] Found: app/test
[DEBUG] Adding reference: maven-classpath ->
[DEBUG] Adding reference: maven.compile.src.set ->
[DEBUG] Adding reference: maven.test.compile.src.set ->
[DEBUG] Adding reference: maven.dependency.classpath ->
/home/builder/projects/maven-1.0-rc1/plugins/maven-antlr-plugin-1.1/app/lib/
ant.jar:/home/builder/projects/maven-1.0-rc1/plugins/maven-1.0-rc1/repositor
y/commons-jelly/jars/commons-jelly-tags-antlr-20030211.143720.jar:/home/buil
der/projects/maven-1.0-rc1/plugins/maven-1.0-rc1/repository/commons-lang/jar
s/commons-lang-1.0.1.jar:/home/builder/projects/maven-1.0-rc1/plugins/maven-
1.0-rc1/repository/antlr/jars/antlr-2.7.2.jar
[DEBUG] Adding reference: maven-classpath ->
[DEBUG] Adding reference: maven.compile.src.set ->
[DEBUG] Adding reference: maven.test.compile.src.set ->
[DEBUG] Adding reference: maven.dependency.classpath ->
[DEBUG] Adding reference: maven-classpath ->
[DEBUG] Adding reference: maven.compile.src.set ->
[DEBUG] Adding reference: maven.test.compile.src.set ->
[DEBUG] Adding reference: maven.dependency.classpath ->
/home/builder/projects/maven-1.0-rc1/plugins/maven-1.0-rc1/repository/junit/
jars/junit-3.8.1.jar:/home/builder/projects/maven-1.0-rc1/plugins/maven-1.0-
rc1/repository/xml-apis/jars/xml-apis-1.0.b2.jar:/home/builder/projects/mave
n-1.0-rc1/plugins/maven-1.0-rc1/repository/xerces/jars/xerces-2.4.0.jar
[DEBUG] Adding reference: maven-classpath ->
[DEBUG] Adding reference: maven.compile.src.set ->
[DEBUG] Adding reference: maven.test.compile.src.set ->
[DEBUG] Adding reference: maven.dependency.classpath ->
/home/builder/projects/maven-1.0-rc1/plugins/maven-1.0-rc1/repository/maven/
jars/maven-1.0-beta-10.jar:/home/builder/projects/maven-1.0-rc1/plugins/mave
n-1.0-rc1/repository/commons-io/jars/commons-io-20030203.000550.jar:/home/bu
ilder/projects/maven-1.0-rc1/plugins/maven-1.0-rc1/repository/commons-net/ja
rs/commons-net-1.0.0.jar:/home/builder/projects/maven-1.0-rc1/plugins/maven-
1.0-rc1/repository/commons-httpclient/jars/commons-httpclient-2.0-beta1.jar:
/home/builder/projects/maven-1.0-rc1/plugins/maven-1.0-rc1/repository/common
s-lang/jars/commons-lang-1.0.1.jar:/home/builder/projects/maven-1.0-rc1/plug
ins/maven-1.0-rc1/repository/jsch/jars/jsch-0.1.5.jar:/home/builder/projects
/maven-1.0-rc1/plugins/maven-1.0-rc1/repository/commons-jelly/jars/commons-j
elly-20030902.160215.jar:/home/builder/projects/maven-1.0-rc1/plugins/maven-
1.0-rc1/repository/commons-jelly/jars/commons-jelly-tags-velocity-20030303.2
05659.jar:/home/builder/projects/maven-1.0-rc1/plugins/maven-1.0-rc1/reposit
ory/velocity/jars/velocity-1.4-dev.jar
[DEBUG] Adding reference: maven-classpath ->
[DEBUG] Adding reference: maven.compile.src.set ->
[DEBUG] Adding reference: maven.test.compile.src.set ->
File......
file:/home/builder/projects/blast_builder/../maven-1.0-rc1/plugins/maven-art
ifact-plugin-1.0/
Element... define:jellybean
Line...... 20
Column.... 67
Could not find class: org.apache.maven.artifact.deployer.DeployBean using
ClassLoader: null
BUILD SUCCESSFUL
Total time: 10 seconds
Finished at: Thu Oct 09 13:49:07 GMT-07:00 2003
Thanks,
Jean-No�l
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]