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 251077

Summary: core-base.nbm missing from Maven daily snapshots
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: -- Other --Assignee: Svata Dedic <sdedic>
Status: VERIFIED FIXED    
Severity: normal CC: anebuzelsky, mkleint, tstupka
Priority: P1    
Version: 8.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 254352    
Attachments: Proposed changes

Description Jaroslav Tulach 2015-03-10 18:35:48 UTC
I can't build my application using Maven and forthcoming bits of NetBeans 8.1! It turns out that the snapshot repository is missing NBM at

http://bits.netbeans.org/nexus/content/repositories/snapshots/org/netbeans/modules/core-base/dev-SNAPSHOT/

the current content is:

core-base-dev-20150310.083415-1.jar 	Tue Mar 10 08:50:21 UTC 2015 	114631 	 
core-base-dev-20150310.083415-1.jar.md5 	Tue Mar 10 08:50:21 UTC 2015 	32 	 
core-base-dev-20150310.083415-1.jar.sha1 	Tue Mar 10 08:50:23 UTC 2015 	40 	 
core-base-dev-20150310.083415-1.pom 	Tue Mar 10 08:50:22 UTC 2015 	1113 	 
core-base-dev-20150310.083415-1.pom.md5 	Tue Mar 10 08:50:24 UTC 2015 	32 	 
core-base-dev-20150310.083415-1.pom.sha1 	Tue Mar 10 08:50:23 UTC 2015 	40 	 
maven-metadata.xml 	Tue Mar 10 08:50:23 UTC 2015 	773 	 
maven-metadata.xml.md5 	Tue Mar 10 08:50:24 UTC 2015 	32 	 
maven-metadata.xml.sha1 	Tue Mar 10 08:50:21 UTC 2015 	40 	 

The JAR file is there - we can compile successfully. But the NBM is missing, so the nbm:run-platform goal fails.
Comment 1 Jaroslav Tulach 2015-03-10 18:39:27 UTC
As this is very likely related to changes introduced in issue 250948, passing to Sváťa. I am not sure what would be the right category (CCing Tomáš).
Comment 2 Jaroslav Tulach 2015-03-18 08:48:23 UTC
dev-SNAPSHOT is unusable for Maven NetBeans Platform development. Just create a Maven application and try to run it (after switching to dev-SNAPSHOT dependency). After Sváťa's changes core-base is now essential for starting any NetBeans Platform based application and its non-presence in NetBeans maven repository breaks every early adopters of dev-SNAPSHOT features.

Shouldn't this deserve a bit of your attention?
Comment 3 Svata Dedic 2015-03-18 14:25:48 UTC
Jardo, sorry for the delay; I was out of office with limited Inet access last week. 
The bug is caused by some special cases in nb-repository maven plugin (core, bootstrap); accidentally one of the special-cased modules was split apart.

It's worth to note that NB buildes still use 1.1. version of the plugin, while version 1.2. is already released (and version 1.3-SNAPSHOT is available from the codehaus repo/maven central) - anyone knows the reason ?

Attaching proposed changes (I hope Milos finds some time to review it) against 1.1. version plugin sources.
Comment 4 Svata Dedic 2015-03-18 14:26:20 UTC
Created attachment 152694 [details]
Proposed changes
Comment 5 Milos Kleint 2015-03-18 22:17:50 UTC
https://jira.codehaus.org/browse/MNBMODULE-252
Comment 6 Svata Dedic 2015-03-31 08:32:01 UTC
Waiting for the updated plugin to be propagated from codehaus to maven central.
Comment 7 Svata Dedic 2015-04-02 07:08:39 UTC
Petr Gebauer has updated plugin version in NB hudson, repository now contains org.netbeans.modules:org-netbeans-core-startup-base.
Comment 8 Jaroslav Tulach 2015-04-08 08:35:55 UTC
I can build NetBeans application against dev bits now. Thanks.