You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Neil C Smith <ne...@apache.org> on 2020/09/05 13:39:30 UTC

Another NB12.1 Maven question - remove cpplite?

Hi,

OK, after 7 attempts we finally have a staged and closed Maven repo.
A latter problem required passing -DskipStagingRepositoryClose=true as
the plugin times out - not ideal when you've uploaded that much data
and it then deletes it all!

https://repository.apache.org/content/repositories/orgapachenetbeans-1068

Bigger problem - I've had to remove all traces of cpplite to get here.
The problem is the existence of cpplite-mi-1.0-SNAPSHOT.jar in the
externals for cpplite.debugger.  Tracked down one staging plugin error
to existence of SNAPSHOT in the artefact ID.  But just removing that
still failing, because of missing references as far as I can tell, so
all of cpplite removed.

So, do we proceed with Maven vote with this staged repository without
cpplite cluster?  Or something else?

And looks like existence of SNAPSHOT in any dependencies needs to be
-1 in future?

If anyone can do a once over of that repository before I kick off the
vote, that would be great too!  Few things need some clarification in
our docs around this, but I think this is correct.

Thanks,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Another NB12.1 Maven question - remove cpplite?

Posted by Patrik Karlström <pa...@trixon.se>.
I'm not sure what constitutes a once over here but I just built my platform
app using RELEASE121 and it looks good to me.

/Patrik

Den lör 5 sep. 2020 kl 15:40 skrev Neil C Smith <ne...@apache.org>:

> Hi,
>
> OK, after 7 attempts we finally have a staged and closed Maven repo.
> A latter problem required passing -DskipStagingRepositoryClose=true as
> the plugin times out - not ideal when you've uploaded that much data
> and it then deletes it all!
>
> https://repository.apache.org/content/repositories/orgapachenetbeans-1068
>
> Bigger problem - I've had to remove all traces of cpplite to get here.
> The problem is the existence of cpplite-mi-1.0-SNAPSHOT.jar in the
> externals for cpplite.debugger.  Tracked down one staging plugin error
> to existence of SNAPSHOT in the artefact ID.  But just removing that
> still failing, because of missing references as far as I can tell, so
> all of cpplite removed.
>
> So, do we proceed with Maven vote with this staged repository without
> cpplite cluster?  Or something else?
>
> And looks like existence of SNAPSHOT in any dependencies needs to be
> -1 in future?
>
> If anyone can do a once over of that repository before I kick off the
> vote, that would be great too!  Few things need some clarification in
> our docs around this, but I think this is correct.
>
> Thanks,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Another NB12.1 Maven question - remove cpplite?

Posted by Neil C Smith <ne...@apache.org>.
On Sat, 5 Sep 2020 at 19:52, Matthias Bläsing <mb...@doppel-helix.eu> wrote:
> The alternative I see is is adjusting the pom.xml of the cpplite
> debugger module and the cpplite-mi module (not sure how the dependency
> looks). The version of cpplite-mi could be changed to "1.0.0-PRE1" and
> the cpplite debugger module changed to depend on that pom.

I considered this, but it might not be possible.  I'm unclear what
exactly triggers the error on Nexus - there's a distinct lack of
information - just a 400 Bad Request.

I found the following issue looking into that -
https://issues.sonatype.org/browse/NEXUS-13333  I'm unclear whether
that might be triggered by SNAPSHOT in a filename too, and the
filename is baked into other files - manifests, etc.  Unfortunately,
testing every hypothesis on this involves uploading almost 1GB of
artefacts - 7x is enough of that!

We'll have to rethink some of this for 12.2, but given other responses
my intention is to move to vote without cpplite tomorrow - I need to
regain access to something first!

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Another NB12.1 Maven question - remove cpplite?

Posted by Matthias Bläsing <mb...@doppel-helix.eu>.
Hi,

Am Samstag, den 05.09.2020, 14:39 +0100 schrieb Neil C Smith:
> So, do we proceed with Maven vote with this staged repository without
> cpplite cluster?  Or something else?

The alternative I see is is adjusting the pom.xml of the cpplite
debugger module and the cpplite-mi module (not sure how the dependency
looks). The version of cpplite-mi could be changed to "1.0.0-PRE1" and
the cpplite debugger module changed to depend on that pom. 

> And looks like existence of SNAPSHOT in any dependencies needs to be
> -1 in future?

Yes I thinkg so. My understading is, that the "-SNAPSHOT" suffix is
deeply integrated into the maven workflow and maven separates release
and snapshot repositories, where release artifacts only ever take non-
snapshot artifacts.

Greetings

Matthias


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Another NB12.1 Maven question - remove cpplite?

Posted by Jan Lahoda <la...@gmail.com>.
On Sun, Sep 6, 2020 at 12:40 AM Laszlo Kishalmi <la...@gmail.com>
wrote:

> I think it is fine to release 12.1 maven stuff without cpplite, just put
> a note in the release notes/download page. Next time we would do it better.
>

+1

Jan


> The most important maven modules are the platform ones anyway.
>
> On 9/5/20 6:39 AM, Neil C Smith wrote:
> > Hi,
> >
> > OK, after 7 attempts we finally have a staged and closed Maven repo.
> > A latter problem required passing -DskipStagingRepositoryClose=true as
> > the plugin times out - not ideal when you've uploaded that much data
> > and it then deletes it all!
> >
> >
> https://repository.apache.org/content/repositories/orgapachenetbeans-1068
> >
> > Bigger problem - I've had to remove all traces of cpplite to get here.
> > The problem is the existence of cpplite-mi-1.0-SNAPSHOT.jar in the
> > externals for cpplite.debugger.  Tracked down one staging plugin error
> > to existence of SNAPSHOT in the artefact ID.  But just removing that
> > still failing, because of missing references as far as I can tell, so
> > all of cpplite removed.
> >
> > So, do we proceed with Maven vote with this staged repository without
> > cpplite cluster?  Or something else?
> >
> > And looks like existence of SNAPSHOT in any dependencies needs to be
> > -1 in future?
> >
> > If anyone can do a once over of that repository before I kick off the
> > vote, that would be great too!  Few things need some clarification in
> > our docs around this, but I think this is correct.
> >
> > Thanks,
> >
> > Neil
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>

Re: Another NB12.1 Maven question - remove cpplite?

Posted by Neil C Smith <ne...@apache.org>.
On Sun, 6 Sep 2020 at 06:09, Jaroslav Tulach <ja...@gmail.com> wrote:
> Sure. Nobody awaits cpplite on Maven central right now.

Great!  Sounds like we're in agreement on this one - I'll move to vote
tomorrow - seem to have an ISP issue with some of Apache infra at the
moment - fine from a mobile connection.

> Isn't the problem with -SNAPSHOT dependency related to
> https://issues.apache.org/jira/browse/NETBEANSINFRA-12

I'm not sure - is this dependency anywhere in a Maven repository?
Where is this actually coming from?
https://github.com/apache/netbeans/blob/master/cpplite/cpplite.debugger/external/binaries-list

Best wishes,

Neil

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Another NB12.1 Maven question - remove cpplite?

Posted by Jaroslav Tulach <ja...@gmail.com>.
Dne neděle 6. září 2020 0:42:05 CEST, Geertjan Wielenga napsal(a):
> I agree.
> 

Sure. Nobody awaits cpplite on Maven central right now.

Isn't the problem with -SNAPSHOT dependency related to 
https://issues.apache.org/jira/browse/NETBEANSINFRA-12

Previously the existing Maven dependencies were wrapped in NetBeans 
`org.netbeans.external` artifacts - now they are used directly. Obviously it 
is not possible to deploy a SNAPSHOT dependency into Maven central.

-jt
 
> On Sun, 6 Sep 2020 at 00:40, Laszlo Kishalmi <la...@gmail.com>
> 
> wrote:
> > I think it is fine to release 12.1 maven stuff without cpplite, just put
> > 
> > a note in the release notes/download page. Next time we would do it
> > better.
> > 
> > 
> > 
> > The most important maven modules are the platform ones anyway.
> > 
> > On 9/5/20 6:39 AM, Neil C Smith wrote:
> > > Hi,
> > > 
> > > 
> > > 
> > > OK, after 7 attempts we finally have a staged and closed Maven repo.
> > > 
> > > A latter problem required passing -DskipStagingRepositoryClose=true as
> > > 
> > > the plugin times out - not ideal when you've uploaded that much data
> > > 
> > > and it then deletes it all!
> > 
> > https://repository.apache.org/content/repositories/orgapachenetbeans-1068
> > 
> > > Bigger problem - I've had to remove all traces of cpplite to get here.
> > > 
> > > The problem is the existence of cpplite-mi-1.0-SNAPSHOT.jar in the
> > > 
> > > externals for cpplite.debugger.  Tracked down one staging plugin error
> > > 
> > > to existence of SNAPSHOT in the artefact ID.  But just removing that
> > > 
> > > still failing, because of missing references as far as I can tell, so
> > > 
> > > all of cpplite removed.
> > > 
> > > 
> > > 
> > > So, do we proceed with Maven vote with this staged repository without
> > > 
> > > cpplite cluster?  Or something else?
> > > 
> > > 
> > > 
> > > And looks like existence of SNAPSHOT in any dependencies needs to be
> > > 
> > > -1 in future?
> > > 
> > > 
> > > 
> > > If anyone can do a once over of that repository before I kick off the
> > > 
> > > vote, that would be great too!  Few things need some clarification in
> > > 
> > > our docs around this, but I think this is correct.
> > > 
> > > 
> > > 
> > > Thanks,
> > > 
> > > 
> > > 
> > > Neil
> > > 
> > > 
> > > 
> > > ---------------------------------------------------------------------
> > > 
> > > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > > 
> > > For additional commands, e-mail: dev-help@netbeans.apache.org
> > > 
> > > 
> > > 
> > > For further information about the NetBeans mailing lists, visit:
> > > 
> > > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> > 
> > ---------------------------------------------------------------------
> > 
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> > 
> > For additional commands, e-mail: dev-help@netbeans.apache.org
> > 
> > 
> > 
> > For further information about the NetBeans mailing lists, visit:
> > 
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists




Re: Another NB12.1 Maven question - remove cpplite?

Posted by Geertjan Wielenga <ge...@apache.org>.
I agree.

Gj

On Sun, 6 Sep 2020 at 00:40, Laszlo Kishalmi <la...@gmail.com>
wrote:

> I think it is fine to release 12.1 maven stuff without cpplite, just put
>
> a note in the release notes/download page. Next time we would do it better.
>
>
>
> The most important maven modules are the platform ones anyway.
>
>
>
> On 9/5/20 6:39 AM, Neil C Smith wrote:
>
> > Hi,
>
> >
>
> > OK, after 7 attempts we finally have a staged and closed Maven repo.
>
> > A latter problem required passing -DskipStagingRepositoryClose=true as
>
> > the plugin times out - not ideal when you've uploaded that much data
>
> > and it then deletes it all!
>
> >
>
> >
> https://repository.apache.org/content/repositories/orgapachenetbeans-1068
>
> >
>
> > Bigger problem - I've had to remove all traces of cpplite to get here.
>
> > The problem is the existence of cpplite-mi-1.0-SNAPSHOT.jar in the
>
> > externals for cpplite.debugger.  Tracked down one staging plugin error
>
> > to existence of SNAPSHOT in the artefact ID.  But just removing that
>
> > still failing, because of missing references as far as I can tell, so
>
> > all of cpplite removed.
>
> >
>
> > So, do we proceed with Maven vote with this staged repository without
>
> > cpplite cluster?  Or something else?
>
> >
>
> > And looks like existence of SNAPSHOT in any dependencies needs to be
>
> > -1 in future?
>
> >
>
> > If anyone can do a once over of that repository before I kick off the
>
> > vote, that would be great too!  Few things need some clarification in
>
> > our docs around this, but I think this is correct.
>
> >
>
> > Thanks,
>
> >
>
> > Neil
>
> >
>
> > ---------------------------------------------------------------------
>
> > To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>
> > For additional commands, e-mail: dev-help@netbeans.apache.org
>
> >
>
> > For further information about the NetBeans mailing lists, visit:
>
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
> >
>
> >
>
> >
>
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
>
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
>
>
> For further information about the NetBeans mailing lists, visit:
>
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
>
>
>
>

Re: Another NB12.1 Maven question - remove cpplite?

Posted by Laszlo Kishalmi <la...@gmail.com>.
I think it is fine to release 12.1 maven stuff without cpplite, just put 
a note in the release notes/download page. Next time we would do it better.

The most important maven modules are the platform ones anyway.

On 9/5/20 6:39 AM, Neil C Smith wrote:
> Hi,
>
> OK, after 7 attempts we finally have a staged and closed Maven repo.
> A latter problem required passing -DskipStagingRepositoryClose=true as
> the plugin times out - not ideal when you've uploaded that much data
> and it then deletes it all!
>
> https://repository.apache.org/content/repositories/orgapachenetbeans-1068
>
> Bigger problem - I've had to remove all traces of cpplite to get here.
> The problem is the existence of cpplite-mi-1.0-SNAPSHOT.jar in the
> externals for cpplite.debugger.  Tracked down one staging plugin error
> to existence of SNAPSHOT in the artefact ID.  But just removing that
> still failing, because of missing references as far as I can tell, so
> all of cpplite removed.
>
> So, do we proceed with Maven vote with this staged repository without
> cpplite cluster?  Or something else?
>
> And looks like existence of SNAPSHOT in any dependencies needs to be
> -1 in future?
>
> If anyone can do a once over of that repository before I kick off the
> vote, that would be great too!  Few things need some clarification in
> our docs around this, but I think this is correct.
>
> Thanks,
>
> Neil
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists