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.

Bug 195302 - Use nbm-maven-plugin 3.5
Summary: Use nbm-maven-plugin 3.5
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks: 190992
  Show dependency tree
 
Reported: 2011-02-10 16:21 UTC by Jesse Glick
Modified: 2011-02-21 07:33 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2011-02-10 16:21:50 UTC
http://bits.netbeans.org/netbeans/trunk/maven-snapshot/org/netbeans/api/org-netbeans-libs-xerces/SNAPSHOT/org-netbeans-libs-xerces-20110209.081716-1.jar still has a Class-Path header rather than Maven-Class-Path, indicating that the repository was generated using the 3.4 plugin (or older); you need to use the latest plugin, 3.5. Should be fixed for RELEASE70_BETA2.
Comment 1 pgebauer 2011-02-11 11:44:46 UTC
I have changed the plugin version in the hudson script from 3.2 to 3.5 however following issue appears:


+ /space/apache-maven-2.2.1/bin/mvn -DdeployUrl=file://maven-snapshot -DforcedVersion=SNAPSHOT -DnetbeansInstallDirectory=nbrepo/netbeans -DnetbeansJavadocDirectory=nbrepo/javadoc -DnetbeansNbmDirectory=nbrepo/nbms -DnetbeansSourcesDirectory=nbrepo/source-zips -DnexusIndexDirectory=nbrepo/nexus/ -DskipInstall=true org.codehaus.mojo:nbm-maven-plugin:3.5:populate-repository --settings settings.xml
[INFO] Scanning for projects...
Downloading: http://snapshots.repository.codehaus.org/org/codehaus/mojo/nbm-maven-plugin/3.5/nbm-maven-plugin-3.5.pom
[WARNING] Unable to get resource 'org.codehaus.mojo:nbm-maven-plugin:pom:3.5' from repository snapshot (http://snapshots.repository.codehaus.org): Error transferring file: No route to host
Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/nbm-maven-plugin/3.5/nbm-maven-plugin-3.5.pom
[WARNING] Unable to get resource 'org.codehaus.mojo:nbm-maven-plugin:pom:3.5' from repository central (http://repo1.maven.org/maven2): Error transferring file: No route to host
Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/nbm-maven-plugin/3.5/nbm-maven-plugin-3.5.pom
[WARNING] Unable to get resource 'org.codehaus.mojo:nbm-maven-plugin:pom:3.5' from repository central (http://repo1.maven.org/maven2): Error transferring file: No route to host
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.codehaus.mojo:nbm-maven-plugin

Reason: POM 'org.codehaus.mojo:nbm-maven-plugin' not found in repository: Unable to download the artifact from any repository

  org.codehaus.mojo:nbm-maven-plugin:pom:3.5

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  snapshot (http://snapshots.repository.codehaus.org)

 for project org.codehaus.mojo:nbm-maven-plugin
Comment 2 Jesse Glick 2011-02-11 14:55:30 UTC
(In reply to comment #1)
> Downloading:
> http://repo1.maven.org/maven2/org/codehaus/mojo/nbm-maven-plugin/3.5/nbm-maven-plugin-3.5.pom
> [WARNING] Unable to get resource 'org.codehaus.mojo:nbm-maven-plugin:pom:3.5'
> from repository central (http://repo1.maven.org/maven2): Error transferring
> file: No route to host

Sounds like a simple machine misconfiguration.
Comment 3 pgebauer 2011-02-15 17:19:45 UTC
Fixed in the build for the 70-beta2 branch.
Comment 4 Jesse Glick 2011-02-15 17:59:07 UTC
Good. So still pending for dev builds then?
Comment 5 pgebauer 2011-02-17 13:33:04 UTC
The last build NB-trunk_maven-repo with plugin changed to 3.5 has passed well.

I'm marking the issue as resolved.
Comment 6 Jesse Glick 2011-02-17 15:37:45 UTC
I cannot verify it because the latest published snapshot is 20110210.143348, a week old.