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
You have provided POM file for your top level project and POM files for two modules: application and ActiveSong. Your error message says that it can't find POM for org.jjazz:org.jjazz.utilities Check your Utilities module. From: Jerome Lelasseux Sent: Monday, May 15, 2023 1:48 PM To: users@netb

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
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.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd";>     4.0.0     org.jjazz     jjazzlab-parent     1.

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 Maven, so

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