Hi Christian,

I recently did it myself. You need to download and compile the deploy
plugin yourself, because I could not find it on central or elsewhere. Get
it from :

https://github.com/apache/incubator-netbeans-mavenutils/tree/master/nb-repository-plugin

Then go the sources you have cloned from
https://github.com/apache/incubator-netbeans and do:

ant
mvn org.netbeans.maven:nb-repository-plugin:1.4-SNAPSHOT:download
-DnexusIndexDirectory=..\nbrepoidx
-DrepositoryUrl=https://repo.maven.apache.org/maven2ant build-nbms
ant build-source-zips
ant build-javadoc
mvn org.netbeans.maven:nb-repository-plugin:1.4-SNAPSHOT:populate
-DnexusIndexDirectory=..\nbrepoidx -DforcedVersion=RELEASE90
-DnetbeansInstallDirectory=nbbuild\netbeans
-DnetbeansNbmDirectory=nbbuild\nbms
-DnetbeansSourcesDirectory=nbbuild\build\source-zips
-DnetbeansJavadocDirectory=nbbuild\build\javadoc



Above it is for a local deployment of the artifacts. If you want to deploy
the artifacts into your own repository:

mvn org.netbeans.maven:nb-repository-plugin:1.4-SNAPSHOT:populate
-DnexusIndexDirectory=../nbrepoidx -DforcedVersion=RELEASE90
-DnetbeansInstallDirectory=nbbuild/netbeans
-DnetbeansNbmDirectory=nbbuild/nbms
-DnetbeansSourcesDirectory=nbbuild/build/source-zips -Ddetails=true
-DgeneratePom=true -DdeployUrl=http://<your-repo>

Hope it helps,

JMB

On Wed, Nov 21, 2018 at 8:38 PM Christian Bourque <
[email protected]> wrote:

> Thanks a lot Neil!
>
> On Wed, Nov 21, 2018 at 1:45 PM Neil C Smith <[email protected]>
> wrote:
>
> > On Wed, 21 Nov 2018 at 18:39, Christian Bourque
> > <[email protected]> wrote:
> > > I'm looking for the Maven repository that contains the binary
> artefacts!
> >
> > There isn't one currently.  Look through the archive here for a few
> > threads on this, or this issue which has some info on building sources
> > for use with Maven -
> > https://issues.apache.org/jira/browse/NETBEANS-467
> >
> > Best wishes,
> >
> > Neil
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
> >
> > For further information about the NetBeans mailing lists, visit:
> > https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
> >
> >
> >
> >
>

Reply via email to