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 181084 - pack.gz in Nb maven repository
Summary: pack.gz in Nb maven repository
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 6.x
Hardware: Other Linux
: P1 normal (vote)
Assignee: rnovak
URL:
Keywords:
Depends on:
Blocks: 84852
  Show dependency tree
 
Reported: 2010-02-23 07:25 UTC by Jaroslav Tulach
Modified: 2010-03-09 08:59 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 Jaroslav Tulach 2010-02-23 07:25:33 UTC
According to our plans in bug 84852 described at http://wiki.netbeans.org/FitnessForNBMs
the plan for Maven repositories produced by use is: "Also the Maven 6.9 and future repositories will contains unpacked NBMs. Those can be built locally with ant build-nbms -Dusepack200=false."

The current content of our repository
http://bits.netbeans.org/netbeans/trunk/maven-snapshot/org/netbeans/api/org-openide-util-lookup/
especially its NBM files
http://bits.netbeans.org/netbeans/trunk/maven-snapshot/org/netbeans/api/org-openide-util-lookup/SNAPSHOT/org-openide-util-lookup-20100217.055520-1.nbm
don't follow this practice and contain the ...jar.pack.gz files. We need to avoid it.

Robert, please modify the build to (re)generate the NBMs with "ant build-nbms -Dusepack200=false" before populating the Maven repository.
Comment 1 Antonin Nebuzelsky 2010-02-23 07:49:15 UTC
Blocking the Maven support for RCP -> P1.
Comment 2 Milos Kleint 2010-02-24 03:23:47 UTC
I have patched the nbm-maven-plugin to unzip+unpack the jars in the nbm. Uploaded the snapshot to the repository so now people using dev build should be ok.

Still for backward compatibility reason, I would recommend uploading just un-packed nbm files.
Comment 3 rnovak 2010-02-24 08:32:51 UTC
I'm working on that - there will be an extra build that will produced unpacked NBMs for build of maven repo.
Comment 4 dlipin 2010-03-01 06:26:39 UTC
Robert, is there any update on this?
Comment 5 rnovak 2010-03-09 08:59:38 UTC
This is fixed now. There was a build implemented that produces unpackaged NBMs and Maven snapshot is generated using unpackaged NBMs.