Bug 488076
Summary: | cannot package even simplest maven project | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Christoph Höger <choeger> | ||||||
Component: | maven2 | Assignee: | Deepak Bhole <dbhole> | ||||||
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 9 | CC: | dbhole | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2009-03-02 16:51:38 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Can you attach the pom file you are using? Created attachment 333753 [details]
automagically generated pom.xml
As I said, that pom file did not get _any_ change from me (did not have a chance to wreck it by myself ;) )
But how do I reproduce this then? Because maven is working for me for simpler projects that I tried.. So the steps above (creating sample app and packaging) work for you? Any chance I can figure out what's screwed up on my machine? OK, that's weird, I just moved away ~/.m2 and now things work fine. If anyone is interested in investigating that issue I can attach a zipped version of my old .m2 dir (or any particular file therein). Ah, cool, good to know it is working again. Had you ever used mvn-jpp via command-line? That could cause an issue like this. If not that, then it sounds like some sort of upstream issue.. |
Created attachment 333749 [details] mvn package run Description of problem: I am currently trying to migrate some projects to maven. I cannot package even the simplest my-app example. Due to the following reason: [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' does not exist or no valid version could be found [INFO] ------------------------------------------------------------------------ Version-Release number of selected component (if applicable): maven2-2.0.4-10jpp.10.fc9.i386 How reproducible: always Steps to Reproduce: 1. mvn archetype:create -DgroupId=com.mycompany.app -DartifactId=my-app 2. mvn package Actual results: see attached log Expected results: a simple .jar file should be packaged and tested Additional info: pom.xml is completely auto generated [root@choeger6 modprobe.d]# rpm -qa | grep surefire maven-surefire-booter-1.5.3-2jpp.5.fc9.i386 maven-surefire-1.5.3-2jpp.5.fc9.i386 maven2-plugin-surefire-2.0.4-10jpp.10.fc9.i386 maven2-plugin-surefire-report-2.0.4-10jpp.10.fc9.i386