Re: Best way to create daily SNAPSHOT updates in autoupdate center?

arsi <[email protected]> Tue, 22 Aug 2017 20:02:35 +0200
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <[email protected]>
Hi,
There was a bug:

https://github.com/mojohaus/nbm-maven-plugin/issues/27

I got an idea:

To add to the nbm-maven-plugin one config line..

|<configuration>
                    <snapshotMinorVersion>/path/to/current/version.ini</snapshotMinorVersion>
                      ....

</configuration>
|

​

version.ini

|minor_version =10
|

​

And when it is defined, it takes the major version of pom and minor from 
ini. And plugin after autoupdate increments  the minor version in .ini
If you want , I can write a patch for nbm-maven-plugin

Arsi
------------------------------------------------------------------------

*From:* William Winder
*Sent:* Tuesday, August 22, 2017 6:30PM
*To:* Dev
*Subject:* [platform-dev] Re: Best way to create daily SNAPSHOT updates in
autoupdate center?


Thanks Arsi, I'll study your project and see what I can learn. It looks 
like you forked the nbm-maven-plugin, is that correct?

I was looking at it's implementation the other day and wanting to make a 
small change in there instead of jumping through all these hoops: 
https://github.com/mojohaus/nbm-maven-plugin/blob/master/src/main/java/org/codehaus/mojo/nbm/AdaptNbVersion.java

On Tue, Aug 22, 2017 at 12:19 PM, arsi <[email protected] 
<mailto:[email protected]>> wrote:

    Hi,

    For my project I made a maven plugin for zip and autoupdate upload
    over sftp:

    https://sourceforge.net/p/cscm/code/ci/default/tree/
    <https://sourceforge.net/p/cscm/code/ci/default/tree/>


    I personally would go by way of changing the module version in the
    pom from mojo or bycustomized  version generation in nbm-maven-plugin..

    Arsi


    ------------------------------------------------------------------------