[ https://issues.apache.org/jira/browse/NETBEANS-467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16656795#comment-16656795 ]
Eirik Bakke edited comment on NETBEANS-467 at 12/28/18 11:59 PM: ----------------------------------------------------------------- In case it's of help to anyone, here's the Windows BAT file I used to build Maven artifacts for my own platform application (after first checking out the 9.0-vc3 tag of the incubator-netbeans repository to the current directory): {code:java} echo on set JAVA_HOME=C:\Program Files\Java\zulu-8.0.181 call ant call mvn org.codehaus.mojo:nb-repository-plugin:1.4-mybuild:download -DnexusIndexDirectory=..\nbrepoidx -DrepositoryUrl=https://repo.maven.apache.org/maven2 call ant build-nbms call ant build-source-zips call ant build-javadoc call mvn org.codehaus.mojo:nb-repository-plugin:1.4-mybuild:populate -DnexusIndexDirectory=..\nbrepoidx -DforcedVersion=RELEASE90VC3MYBUILD -DnetbeansInstallDirectory=nbbuild\netbeans -DnetbeansNbmDirectory=nbbuild\nbms -DnetbeansSourcesDirectory=nbbuild\build\source-zips -DnetbeansJavadocDirectory=nbbuild\build\javadoc{code} Update on 2018-12-29: In the instructions above, I forgot to mention one thing: at some point, before running the above script, I had to clone the sources to nb-repository-plugin and build the latter myself. The official nb-repository-plugin is now at https://github.com/apache/incubator-netbeans-mavenutils . (I've changed the plugin version string in the instructions above to "1.4-mybuild" instead of "1.4" to show that I'm referring to a home-built version. You can set your own version string by editing the top-level "version" element in incubator-netbeans-mavenutils/nb-repository-plugins/pom.xml .) was (Author: ebakke): In case it's of help to anyone, here's the Windows BAT file I used to build Maven artifacts for my own platform application (after first checking out the 9.0-vc3 tag of the incubator-netbeans repository to the current directory): {code:java} echo on set JAVA_HOME=C:\Program Files\Java\zulu-8.0.181 call ant call mvn org.codehaus.mojo:nb-repository-plugin:1.4:download -DnexusIndexDirectory=..\nbrepoidx -DrepositoryUrl=https://repo.maven.apache.org/maven2 call ant build-nbms call ant build-source-zips call ant build-javadoc call mvn org.codehaus.mojo:nb-repository-plugin:1.4:populate -DnexusIndexDirectory=..\nbrepoidx -DforcedVersion=RELEASE90VC3MYBUILD -DnetbeansInstallDirectory=nbbuild\netbeans -DnetbeansNbmDirectory=nbbuild\nbms -DnetbeansSourcesDirectory=nbbuild\build\source-zips -DnetbeansJavadocDirectory=nbbuild\build\javadoc{code} > maven artifacts for Apache NetBeans Platform need to be created and hosted > --------------------------------------------------------------------------- > > Key: NETBEANS-467 > URL: https://issues.apache.org/jira/browse/NETBEANS-467 > Project: NetBeans > Issue Type: Task > Components: website > Affects Versions: 9.0 > Reporter: Eric Barboni > Priority: Critical > Labels: NETBEANS-9 > > Hi (hope I did not miss mails on this topic), > During test on maven NetCAT, testers are told to create and generate > mavenized NetBeans Platform Module and Suite. > Maven archetype for Netbeans platform module [1] are linked to artefacts > stored in [2] (RELEASE 6 to 8.2) and it is also possible to use snapshot > versions from [3] > Artefacts are generated from Oracle NetBeans sources at the moment, RELEASE* > artefact were built from a specific build, SNAPSHOT artefact are refreshed > every day with no history (I suppose for space reason). > > It would be nice to recreate a workflow to regenerate maven artefacts for > the Apache NetBeans Platform from Apache NetBeans sources. > > [1][https://github.com/mojohaus/nbm-archetype/] > [2][https://bits.netbeans.org/nexus] > [3][https://bits.netbeans.org/dev/maven-snapshot/|http://bits.netbeans.org/dev/maven-snapshot/] > > > -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists