You can follow what maven tells you :-)

The problem is that the log4j version has been upgraded from 1.2.14 to
1.2.15 which has some new dependencies which are not in standard maven repo.
I have asked the guy that committed it[1] about why he upgraded and if it
would be possible to use the previous version instead.

So what you could do yourself instead, is to change log4j version in the pom
file.

Regards,
Frank

[1]: http://markmail.org/message/x6vhmw7z5wa3c3cg

On Dec 8, 2007 11:08 AM, Per Newgro <[EMAIL PROTECTED]> wrote:

> Hi *,
>
> i try to use the wicket-contrib-tinymce project from svn-server.
>
> I did a checkout. And a "mvn clean compile". But in the end i got this.
> What can i do here?
>
> Cheers
> Per
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) com.sun.jdmk:jmxtools:jar:1.2.1
>
>  Try downloading the file manually from:
>      http://java.sun.com/products/JavaManagement/download.html
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools
> \
>          -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools \
>          -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file \
>           -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT
>        2) log4j:log4j:jar:1.2.15
>        3) com.sun.jdmk:jmxtools:jar:1.2.1
>
> 2) com.sun.jmx:jmxri:jar:1.2.1
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri \
>          -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=com.sun.jmx -DartifactId=jmxri \
>          -Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file \
>           -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT
>        2) log4j:log4j:jar:1.2.15
>        3) com.sun.jmx:jmxri:jar:1.2.1
>
> 3) javax.jms:jms:jar:1.1
>
>  Try downloading the file manually from:
>      http://java.sun.com/products/jms/docs.html
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=javax.jms -DartifactId=jms \
>          -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=javax.jms -DartifactId=jms \
>          -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file \
>           -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT
>        2) log4j:log4j:jar:1.2.15
>        3) javax.jms:jms:jar:1.1
>
> ----------
> 3 required artifacts are missing.
>
> for artifact:
>  org.wicketstuff:wicket-contrib-tinymce:jar:1.3-SNAPSHOT
>
> from the specified remote repositories:
>  central (http://repo1.maven.org/maven2),
>  codeogre.com (http://repo.codeogre.com/archiva/repository/public/),
>  wicketstuff.org (http://wicketstuff.org/maven/repository)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 22 seconds
> [INFO] Finished at: Sat Dec 08 11:01:15 GMT+01:00 2007
> [INFO] Final Memory: 11M/82M
> [INFO]
> ------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to