Problem to use axistools plugin from codehaus

I'm have a problem to use axistools-maven-plugin from codehaus. Build failed under TeamCity, even if the same build works OK from command line.
Error message states what there are 2 unresolved dependencies. Problem didn't go away when I run "mvn install:install-file" command as suggested by maven.
Any thoughts, advices?

Part of a pom.xml is here:
... org.codehaus.mojo axistools-maven-plugin]]>
<!<version>1.0</version>>
wsdl2java src/main/resources/META-INF/wsdl ]]>
...

Here is a part of build log:
INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - Downloading: http://repo1.maven.org/maven2/javax/activation/activation/1.0.2/activation-1.0.2.jar

INFO - nt.runner.GenericProgramRunner - Downloading: http://repo1.maven.org/maven2/javax/mail/mail/1.3.2/mail-1.3.2.jar

INFO - nt.runner.GenericProgramRunner - org.apache.maven.reactor.MavenExecutionException: Missing:

INFO - nt.runner.GenericProgramRunner - -



INFO - nt.runner.GenericProgramRunner - 1) javax.activation:activation:jar:1.0.2

INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - Try downloading the file manually from:

INFO - nt.runner.GenericProgramRunner - http://java.sun.com/products/javabeans/glasgow/jaf.html

INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - Then, install it using the command:

INFO - nt.runner.GenericProgramRunner - mvn install:install-file -DgroupId=javax.activation -DartifactId=activation \

INFO - nt.runner.GenericProgramRunner - -Dversion=1.0.2 -Dpackaging=jar -Dfile=/path/to/file

INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - Path to dependency:

INFO - nt.runner.GenericProgramRunner - 1) org.codehaus.mojo:axistools-maven-plugin:maven-plugin:1.0

INFO - nt.runner.GenericProgramRunner - 2) axis:axis:jar:1.2.1

INFO - nt.runner.GenericProgramRunner - 3) javax.activation:activation:jar:1.0.2

INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - 2) javax.mail:mail:jar:1.3.2

INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - Try downloading the file manually from:

INFO - nt.runner.GenericProgramRunner - http://java.sun.com/products/javamail/downloads/index.html

INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - Then, install it using the command:

INFO - nt.runner.GenericProgramRunner - mvn install:install-file -DgroupId=javax.mail -DartifactId=mail \

INFO - nt.runner.GenericProgramRunner - -Dversion=1.3.2 -Dpackaging=jar -Dfile=/path/to/file

INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - Path to dependency:

INFO - nt.runner.GenericProgramRunner - 1) org.codehaus.mojo:axistools-maven-plugin:maven-plugin:1.0

INFO - nt.runner.GenericProgramRunner - 2) axis:axis:jar:1.2.1

INFO - nt.runner.GenericProgramRunner - 3) javax.mail:mail:jar:1.3.2

INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - -



INFO - nt.runner.GenericProgramRunner - 2 required artifacts are missing.

INFO - nt.runner.GenericProgramRunner -

INFO - nt.runner.GenericProgramRunner - for artifact:

INFO - nt.runner.GenericProgramRunner - org.codehaus.mojo:axistools-maven-plugin:maven-plugin:1.0

1 comment
Comment actions Permalink

Never mind - found a problem and workaround:
- build agent(agentd) process runs under "LocalSystem" account on windows, so maven repository is getting created in directory "C:\Documents and Settings\Default User\.m2"
- when you run command "mvn install:install-files" dependency is getting published in repository for current user ${Your.Home.Dir}/.m2/

So I copied repository over from repository for current user.

thanks

0

Please sign in to leave a comment.