Re: Migrating NB platform app to maven

2023-05-31 Thread Tim de Vries
For something like this, I would say something like... 'Construct a build process that process my "main()" project and all dependencies. Test via: Run and test that. Thank you. Tim On 2023-05-15 2:26 p.m., Jerome Lelasseux wrote: I try to migrate my Ant-based NB platform app (~70 modules)

Re: Migrating NB platform app to maven

2023-05-20 Thread Jerome Lelasseux
---Message d'origine- De : Tom Eicher Envoyé : mardi 16 mai 2023 13:08 À : NetBeans Mailing List Objet : Re: Migrating NB platform app to maven Hi Jerome, I would be really interested in this script. Cheers Tom. Am 16.05.23 um 00:01 schrieb Jerome Lelasseux: > PS: I used a bash scri

Re: Migrating NB platform app to maven

2023-05-18 Thread Jerome Lelasseux
: mardi 16 mai 2023 13:08 À : NetBeans Mailing List Objet : Re: Migrating NB platform app to maven Hi Jerome, I would be really interested in this script. Cheers Tom. Am 16.05.23 um 00:01 schrieb Jerome Lelasseux: > PS: I used a bash script to automate the migration process as much as > po

Re: Migrating NB platform app to maven

2023-05-16 Thread Jerome Lelasseux
80 :p)             org.netbeans.api             org-openide-loaders             RELEASE170         Best Regards Eric -Message d'origine- De : Tom Eicher Envoyé : mardi 16 mai 2023 13:08 À : NetBeans Mailing List Objet : Re: Migrating NB platform app to maven Hi Jerome, I would be really

RE: Migrating NB platform app to maven

2023-05-16 Thread Eric Barboni
Objet : Re: Migrating NB platform app to maven Hi Jerome, I would be really interested in this script. Cheers Tom. Am 16.05.23 um 00:01 schrieb Jerome Lelasseux: > PS: I used a bash script to automate the migration process as much as > possible. When I'm done I'll be happy to s

Re: Migrating NB platform app to maven

2023-05-16 Thread Tom Eicher
Hi Jerome, I would be really interested in this script. Cheers Tom. Am 16.05.23 um 00:01 schrieb Jerome Lelasseux: PS: I used a bash script to automate the migration process as much as possible. When I'm done I'll be happy to share it -there is not much info on the web... -

Re: Migrating NB platform app to maven

2023-05-16 Thread Neil C Smith
Hi, On Mon, 15 May 2023 at 23:05, Jerome Lelasseux wrote: > > Have you done a clean and build of the parent project? > yes, the output below OK, just checking the obvious - seems to have been a stumbling block in a few recent threads. Your reactor build order looks wrong. Wrong or circular dep

Re: Migrating NB platform app to maven

2023-05-15 Thread Jerome Lelasseux
Neil, > Have you done a clean and build of the parent project?yes, the output below cd D:\JeromeDocs\NetBeansProjects\JJazzLab; "JAVA_HOME=C:\\Program Files\\Eclipse Adoptium\\jdk-17.0.4.1+1" cmd /c "\"C:\\Users\\Jerome\\Progs\\Netbeans 17\\java\\maven\\bin\\mvn.cmd\" \"-Dmaven.ext.class.path

Re: Migrating NB platform app to maven

2023-05-15 Thread Neil C Smith
On Mon, 15 May 2023, 22:52 Jerome Lelasseux, wrote: > Mark, > > > you should publish any local artifacts to your local maven repository. > Yes. But publish a local artifact for modula A means I need to build > module A, right ? module A depends on module B which depends on module C > etc. So when

Re: Migrating NB platform app to maven

2023-05-15 Thread Jerome Lelasseux
Mark, > you should publish any local artifacts to your local maven repository.  Yes. But publish a local artifact for modula A means I need to build module A, right ? module A depends on module B which depends on module C etc. So when I build module A it fails because module B is not published

RE: Migrating NB platform app to maven

2023-05-15 Thread Greenberg, Gary
users@netbeans.apache.org; Greenberg, Gary Subject: Re: Migrating NB platform app to maven The pom files... ./pom.xml http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.a

Re: Migrating NB platform app to maven

2023-05-15 Thread Mark A. Flacy
Greetings, Ant never had an automatic way to pull in dependencies (well, perhaps later versions of Ant did but I am ignorant of such updates). Maven and gradle, however, know how to query external repositories of information to pull in such dependencies. Maven and gradle ALSO know that you sh

Re: Migrating NB platform app to maven

2023-05-15 Thread Jerome Lelasseux
POM file here. Than we’ll be able to help you.   From: Jerome Lelasseux Sent: Monday, May 15, 2023 1:26 PM To: NetBeans Mailing List Subject: Migrating NB platform app to maven   I try to migrate my Ant-based NB platform app (~70 modules) to Maven, but I'm new to Maven, so for

RE: Migrating NB platform app to maven

2023-05-15 Thread Greenberg, Gary
You should provide your POM file here. Than we'll be able to help you. From: Jerome Lelasseux Sent: Monday, May 15, 2023 1:26 PM To: NetBeans Mailing List Subject: Migrating NB platform app to maven I try to migrate my Ant-based NB platform app (~70 modules) to Maven, but I'm new to

Migrating NB platform app to maven

2023-05-15 Thread Jerome Lelasseux
I try to migrate my Ant-based NB platform app (~70 modules) to Maven, but I'm new to Maven, so forgive the newbie question. I created a new empty NB platform app with a sample module from the NB wizard, then I built from there. I used https://github.com/gephi/gephi  on GitHub as a kind of model