[fedora-java] maven : org.apache.maven:maven-model-v3:jar:2.0 is missing
Mohamed El Morabity
pikachu.2014 at gmail.com
Tue May 4 23:55:12 UTC 2010
Le vendredi 09 avril 2010 à 22:52 +0200, ELMORABITY Mohamed a écrit :
> Hi,
>
> I'm trying to package clirr, which is a BuildRequires for the latest
> version of apache-commons-math.
> The rebuild of my package fails on the following errors (mvn-jpp is
> called in my .spec as set in the Java guidelines):
>
>
>
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.apache.maven:maven-model-v3:jar:2.0
>
> Try downloading the file manually from the project website.
>
> Then, install it using the command:
> mvn install:install-file -DgroupId=org.apache.maven
> -DartifactId=maven-model-v3 -Dversion=2.0 -Dpackaging=jar
> -Dfile=/path/to/file
>
> Alternatively, if you host your own repository you can deploy the file
> there:
> mvn deploy:deploy-file -DgroupId=org.apache.maven
> -DartifactId=maven-model-v3 -Dversion=2.0 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
> Path to dependency:
> 1) org.apache.maven.plugins:maven-one-plugin:maven-plugin:2.0.8
> 2) org.apache.maven.shared:maven-model-converter:jar:2.1
> 3) org.apache.maven:maven-model-v3:jar:2.0
>
> ----------
> 1 required artifact is missing.
>
> for artifact:
> org.apache.maven.plugins:maven-one-plugin:maven-plugin:2.0.8
>
> from the specified remote repositories:
> apache.snapshots (http://people.apache.org/maven-snapshot-repository),
> __jpp_repo__ (file:///usr/share/maven2/repository),
> central (http://repo1.maven.org/maven2)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 4 seconds
> [INFO] Finished at: Fri Apr 09 22:33:01 CEST 2010
> [INFO] Final Memory: 6M/107M
> [INFO]
> ------------------------------------------------------------------------
>
>
>
>
> Yet maven-shared-model-converter seems to be installed:
> $ rpm -q maven-shared-model-converter
> maven-shared-model-converter-2.3-3.fc12.noarch
>
> Anyway I'm not a specialist of Maven ^^.
>
> Any idea about this problem?
>
> Thanks :)
I'm still blocking on this... Any help? :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.fedoraproject.org/pipermail/java-devel/attachments/20100505/e612f688/attachment.bin
More information about the java-devel
mailing list