maven : org.apache.maven:maven-model-v3:jar:2.0 is missing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :)

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=

--
java-devel mailing list
java-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/java-devel

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux