Re: Building NetBeans Platform app with Maven packages from local repository

2022-06-12 Thread Jean-Marc Borer
Sorry it has moved. Now you need to check
https://github.com/apache/netbeans-mavenutils-nb-repository-plugin and the
documentation will tell the same as before.

On Sun, Jun 12, 2022 at 12:33 PM Jean-Marc Borer  wrote:

> Hello Dmitry,
>
> Yes it actually is. You need first to compile the sources.
>
> Check here https://github.com/mojohaus/nb-repository-plugin/ to upload
> the artifacts into your own repo. Then use the proper version for the
> platform.  If the the version is the same as one that is on central, it
> still resolve first to the ones you have locally or you need to force their
> usage (offline). Then it is a mater to setup Maven properly to resolve its
> dependencies.
>
> Hope it helps.
>
> Cheers,
>
> JMB
>
>
> On Thu, Jun 2, 2022 at 12:48 AM Dmitry Avtonomov <
> dmitriy.avtono...@gmail.com> wrote:
>
>> Hi dev mailing list users!
>>
>> I'd like to build a platform app with Maven, using a platform that I built
>> myself.
>> If you start NB IDE 13 and run "File -> New Project, Java with Maven ->
>> NetBeans Application" it will start a wizard which allows selection of the
>> platform to be used. There are various RELEASE options available
>> (RELEASE120, RELASE126, RELEASE130 etc) and a "dev-SNAPSHOT". But these
>> come from Maven Central (or something similar, I actually don't know where
>> they come from).
>>
>> I'd like to:
>>  - Check out NB code from github
>>  - Build just the platform clusters
>>  - Copy (install) them to my local maven repo
>>  - Create a mavenized nb-platform based app using platform jars from
>> my local maven repo
>> Is this possible currently?
>>
>> Thank you,
>> Dmitry Avtonomov
>>
>


Re: Building NetBeans Platform app with Maven packages from local repository

2022-06-12 Thread Jean-Marc Borer
Hello Dmitry,

Yes it actually is. You need first to compile the sources.

Check here https://github.com/mojohaus/nb-repository-plugin/ to upload the
artifacts into your own repo. Then use the proper version for the
platform.  If the the version is the same as one that is on central, it
still resolve first to the ones you have locally or you need to force their
usage (offline). Then it is a mater to setup Maven properly to resolve its
dependencies.

Hope it helps.

Cheers,

JMB


On Thu, Jun 2, 2022 at 12:48 AM Dmitry Avtonomov <
dmitriy.avtono...@gmail.com> wrote:

> Hi dev mailing list users!
>
> I'd like to build a platform app with Maven, using a platform that I built
> myself.
> If you start NB IDE 13 and run "File -> New Project, Java with Maven ->
> NetBeans Application" it will start a wizard which allows selection of the
> platform to be used. There are various RELEASE options available
> (RELEASE120, RELASE126, RELEASE130 etc) and a "dev-SNAPSHOT". But these
> come from Maven Central (or something similar, I actually don't know where
> they come from).
>
> I'd like to:
>  - Check out NB code from github
>  - Build just the platform clusters
>  - Copy (install) them to my local maven repo
>  - Create a mavenized nb-platform based app using platform jars from
> my local maven repo
> Is this possible currently?
>
> Thank you,
> Dmitry Avtonomov
>


Building NetBeans Platform app with Maven packages from local repository

2022-06-01 Thread Dmitry Avtonomov
Hi dev mailing list users!

I'd like to build a platform app with Maven, using a platform that I built
myself.
If you start NB IDE 13 and run "File -> New Project, Java with Maven ->
NetBeans Application" it will start a wizard which allows selection of the
platform to be used. There are various RELEASE options available
(RELEASE120, RELASE126, RELEASE130 etc) and a "dev-SNAPSHOT". But these
come from Maven Central (or something similar, I actually don't know where
they come from).

I'd like to:
 - Check out NB code from github
 - Build just the platform clusters
 - Copy (install) them to my local maven repo
 - Create a mavenized nb-platform based app using platform jars from
my local maven repo
Is this possible currently?

Thank you,
Dmitry Avtonomov