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 :)
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:
- 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:
- org.apache.maven.plugins:maven-one-plugin:maven-plugin:2.0.8
- org.apache.maven.shared:maven-model-converter:jar:2.1
- 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? :)
2010/5/5 Mohamed El Morabity pikachu.2014@gmail.com:
Le vendredi 09 avril 2010 à 22:52 +0200, ELMORABITY Mohamed a écrit :
Hi,
Missing:
- org.apache.maven:maven-model-v3:jar:2.0
Try downloading the file manually from the project website. 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
Yet maven-shared-model-converter seems to be installed: $ rpm -q maven-shared-model-converter maven-shared-model-converter-2.3-3.fc12.noarch
It seems the missing jar is maven-model-v3.jar which is a dependency of maven-shared-model-converter.
Look here: http://www.mail-archive.com/dev@maven.apache.org/msg60863.html
I think i found another missing jar, maven-repository-plugin; the pom is installed with maven2 rpm, anyone knows if it has to be packaged, or if it is built in the main maven2 specfile?
2010/5/5 Guido Grazioli guido.grazioli@gmail.com:
2010/5/5 Mohamed El Morabity pikachu.2014@gmail.com:
Le vendredi 09 avril 2010 à 22:52 +0200, ELMORABITY Mohamed a écrit :
Hi,
Missing:
- org.apache.maven:maven-model-v3:jar:2.0
Try downloading the file manually from the project website. 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
Yet maven-shared-model-converter seems to be installed: $ rpm -q maven-shared-model-converter maven-shared-model-converter-2.3-3.fc12.noarch
It seems the missing jar is maven-model-v3.jar which is a dependency of maven-shared-model-converter.
Look here: http://www.mail-archive.com/dev@maven.apache.org/msg60863.html
I'm learning the main maven2 build process; i think that maven-model-v3.jar should be installed with maven2, or at least symlinked to _javadir/maven2/model.jar
I think i found another missing jar, maven-repository-plugin; the pom is installed with maven2 rpm, anyone knows if it has to be packaged, or if it is built in the main maven2 specfile?
Please ignore the above...
java-devel@lists.fedoraproject.org