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 242494 - Official patches in Maven repo
Summary: Official patches in Maven repo
Status: NEW
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P3 normal with 2 votes (vote)
Assignee: pgebauer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-02 19:05 UTC by phansson
Modified: 2015-09-14 12:42 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description phansson 2014-03-02 19:05:08 UTC
NB Platform app development.

The situation at the moment is that the official patches (e.g. NB7.4P1, NB7.4P2 and so on) are not in the NB Maven repo.

This means that official patches to the Platform only benefit those that use Ant, but not those that use Maven .. who will ultimately have to wait for the next major release to see the bugs fixed.

To be precise only the following artifactIds currently exist in the NB Maven repo:

  ...
  RELEASE73-BETA
  RELEASE73-BETA2
  RELEASE73
  RELEASE731
  RELEASE74-BETA
  RELEASE74
  RELEASE80-BETA
  ...

So what happens is that once e.g. 7.4 is released there are really no more Maven updates to 7.4.

The suggestion in this RFE is to make the official patches available in Maven too. Proposed artifactId something like "RELEASE74-P1" and so on. Please note that these patch releases in Maven repo need to be complete, not incremental. Otherwise they cannot really be used by Maven users.

The idea is that the developer really only need to change his Maven props from :

<properties>
        <netbeans.version>RELEASE74</netbeans.version>
</properties>

to e.g.:

<properties>
        <netbeans.version>RELEASE74-P2</netbeans.version>
</properties>


if he wants his app to take advantage of the Platform bugs fixed in 7.4 P2.
Comment 1 phansson 2015-08-19 21:55:02 UTC
I'm not sure but this seems to have been fixed as of NB 8.0.

It seems to me that the NB team has stopped producing so-called patch releases and instead doing "real" releases where the actual version number is bumped too. This creates the needed artifacts in Maven repo.

In other words: Those of us who develop NB Platform applications using Maven would like to thank the team for *not* doing a "NB 8.0 P1" but instead doing a "NB 8.0.1". 
Yes !!  Same for NB 8.0.2.

Please continue like that.