Bug 1799

Summary: maven-surefire plugins depmap
Product: Mageia Reporter: gil gil <puntogil>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal    
Version: Cauldron   
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: maven-surefire 0:2.8-2.mga1 CVE:
Status comment:
Attachments: maven-surefire spec file
maven-wagon

Description gil gil 2011-06-14 16:08:17 CEST
hello
I tried to do the build snakeyaml 1.8 but there is a problem with maven-surefire
+ mvn-rpmbuild install
/usr/lib/jvm/java
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building SnakeYAML 1.8
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for org.apache.maven.plugins:maven-surefire-plugin:jar:2.6 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.806s
[INFO] Finished at: Tue Jun 14 15:58:24 CEST 2011
[INFO] Final Memory: 5M/84M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.apache.maven.plugins:maven-surefire-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-surefire-plugin:jar:2.6: The repository system is offline but the artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.6 is not available in the local repository. -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResolutionException

in the maven-surefire spec file there are these problems

%add_to_maven_depmap org.apache.maven.surefire maven-surefire-plugin %{version} JPP/maven-surefire maven-plugin
%add_to_maven_depmap org.apache.maven.surefire maven-surefire-report-plugin %{version} JPP/maven-surefire report-maven-plugin
instead of
%add_to_maven_depmap org.apache.maven.plugins maven-surefire-plugin %{version} JPP/maven-surefire maven-plugin
%add_to_maven_depmap org.apache.maven.plugins maven-surefire-report-plugin %{version} JPP/maven-surefire report-maven-plugin

grazie
Comment 1 gil gil 2011-06-19 11:42:42 CEST
Created attachment 585 [details]
maven-surefire spec file

resolved spec files as last amended
Comment 2 gil gil 2011-06-19 11:45:19 CEST
Created attachment 586 [details]
maven-wagon

edit maven-wagon spec file
Comment 3 gil gil 2011-06-19 11:46:05 CEST
resolved spec files as last amended

Status: NEW => RESOLVED
Resolution: (none) => FIXED