This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Cannot create Maven OSGi bundle | ||
---|---|---|---|
Product: | projects | Reporter: | Tomas Danek <musilt2> |
Component: | Maven OSGi bundles | Assignee: | Jesse Glick <jglick> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Tomas Danek
2011-02-08 15:13:58 UTC
Working for me when I delete ~/.m2/repository/org/codehaus/mojo/archetypes and disable all mirror settings in ~/.m2/settings.xml. Perhaps you have some kind of stale cache information or bad mirror settings? For the moment maven.osgi is using a snapshot version of the archetype, until the two recently fixed bugs are verified; then as per bug #195150 I will release the archetype and switch to that. Your local Maven config might be preventing you from using the Codehaus snapshot repository for some reason. I also notice that you are using the 2.0-alpha-5 version of the archetype plugin, which is definitely wrong as 2.0 has been released for months now; 'mvn archetype:help' should show [INFO] --- maven-archetype-plugin:2.0:help (default-cli) @ standalone-pom --- 2.0-alpha-5 had a number of bugs now fixed: http://jira.codehaus.org/secure/ReleaseNote.jspa?projectId=11095&version=14604 Maven ought to automatically use the latest released version of a plugin when no version is specified on the command line: http://maven.apache.org/guides/introduction/introduction-to-plugin-resolution.html but try runing 'mvn -U archetype:help' to see if that changes anything. |