Re: Brand new NB 26 Platform Maven Application fails to launch

2025-05-27 Thread Patrik Karlström
issue. > > > UTF-8 > > ${project.build.directory}/${brandingToken} > > > --add-opens=java.base/java.net=ALL-UNNAMED > > > > > > > On May 27, 2025, at 2:19 PM, Tim Mullé wrote: > > &

Re: Brand new NB 26 Platform Maven Application fails to launch

2025-05-27 Thread Tim Mullé
 PM, Tim Mullé wrote: > > Using the Maven wizard to create a brand new Netbeans Application and trying > to run the code it generates fails to start. > > This isn’t a good experience for anyone starting out with the Platform > creation. > > Are there any docs

Brand new NB 26 Platform Maven Application fails to launch

2025-05-27 Thread Tim Mullé
Using the Maven wizard to create a brand new Netbeans Application and trying to run the code it generates fails to start. This isn’t a good experience for anyone starting out with the Platform creation. Are there any docs that state the error below? Thanks! Executing: /bin/sh -c '/

Re : Adding "add-opens" command line args to a Maven project.

2025-03-05 Thread Jerome Lelasseux
I do this in my project, if you want a working example.  search jjazzlab on github, app/application/pom.xml Envoyé depuis Yahoo Mail pour iPhone Le mardi, mars 4, 2025, 10:58 PM, Will Hartung a écrit : i tried all sorts of stuff on the net and the AIs, but nothing seems to work. Simply ("sim

Adding "add-opens" command line args to a Maven project.

2025-03-04 Thread Will Hartung
i tried all sorts of stuff on the net and the AIs, but nothing seems to work. Simply ("simply"), I want to add an --add-opens option to my pom.xml so that when I Run my project, it does what it's supposed to. The various things I have tried, and lead to no success, either in Netbeans or with a mv

Re: Maven projects CreateProcess Error

2025-01-31 Thread Michael Bien
exec-maven-plugin                 3.5.0                 true                                         On Fri, Jan 31, 2025 at 9:32 AM Michael Bien wrote: On 31.01.25 15:06, Alessandro Ferrucci wrote: > Hi Michael - > > > > On Fri, Jan 31, 2025 at 8:51 

Re: Maven projects CreateProcess Error

2025-01-31 Thread Alessandro Ferrucci
Thank you, Michael, for your assistance! adding this snippet to my project pom.xml fixed my issues! org.codehaus.mojo exec-maven-plugin 3.5.0 true

Re: Maven projects CreateProcess Error

2025-01-31 Thread Eric Bresie
:34 AM To: Alessandro Ferrucci Cc: users@netbeans.apache.org Subject: Re: Maven projects CreateProcess Error On 31.01.25 15:06, Alessandro Ferrucci wrote: > Hi Michael - > > > > On Fri, Jan 31, 2025 at 8:51 AM Michael Bien wrote: > > Hi, > > this is windows tell

Re: Maven projects CreateProcess Error

2025-01-31 Thread Michael Bien
project to D:\projects. build tools like maven do also have workarounds for it: https://www.mojohaus.org/exec-maven-plugin/exec-mojo.html#longClasspath Thank you for the info, I wasn't sure if NetBeans had an IntelliJ-like workaround "shorten classpath" that seems t

Re: Maven projects CreateProcess Error

2025-01-31 Thread Alessandro Ferrucci
en passed as argument it could cause this failure - this is windows > specific since all other OSes can do processes properly. > > Assuming its about classpath, there are ways to workaround it, for > example keeping the file paths short. E.g moving your project to > D:\projects. >

Re: Maven projects CreateProcess Error

2025-01-31 Thread Michael Bien
can do processes properly. Assuming its about classpath, there are ways to workaround it, for example keeping the file paths short. E.g moving your project to D:\projects. build tools like maven do also have workarounds for it: https://www.mojohaus.org/exec-maven-plugin/exec-mojo.html

Maven projects CreateProcess Error

2025-01-31 Thread Alessandro Ferrucci
Hello - I'm running NetBeans 19 on a windows 11 machine, whenever I try to run/debug my Maven projects in Netbeans I receive the following error: *java.io.IOException: Cannot run program "C:\Program Files\Java\jdk-17\bin\java.exe" (in directory ".."): CreateProcess e

Re: Can I use Maven Indexer CLI for the NB Maven index?

2024-11-25 Thread Michael Bien
ut this doesn't seem to happen very often) I heard the compute and bandwidth cost for the index upkeep seem to be high for maven central too and it doesn't scale well in its current form. So the future for this feature is probably not certain. I am planning to maintain the indexer in

Re: Can I use Maven Indexer CLI for the NB Maven index?

2024-11-18 Thread Will Hartung
On Mon, Nov 18, 2024 at 11:09 AM Peter Hull wrote: > Hi, > Are you using a recent NB? Because the maven indexing got a lot better > recently. > Pete > > Yes, I'm using 23. Regards, Will Hartung

Re: Can I use Maven Indexer CLI for the NB Maven index?

2024-11-18 Thread Peter Hull
Hi, Are you using a recent NB? Because the maven indexing got a lot better recently. Pete On Mon, 18 Nov 2024 at 19:03, Will Hartung wrote: > > > On Sun, Nov 17, 2024 at 10:47 AM Michael Bien wrote: > >> I personally barely notice index updates since they don't happen

Re: Can I use Maven Indexer CLI for the NB Maven index?

2024-11-18 Thread Will Hartung
m and take as long as it wants). I do a lot of "green field" fiddling. PoCs and what not, so I'm constantly digging into the depths of the Maven repositories. Regards, Will Hartung

Re: Can I use Maven Indexer CLI for the NB Maven index?

2024-11-17 Thread Will Hartung
mote index actually published a new segment. > > There is no supported way to manage the index externally atm. The index > import is a bit customized and drops a few fields. It might still work > but the footprint might be larger and this is not tested. > > > Also keep in mind that remot

Re: Can I use Maven Indexer CLI for the NB Maven index?

2024-11-17 Thread Michael Bien
as previously mentioned. I personally barely notice index updates since they don't happen all that often. The one I just tested took about 150s. I don't think it ever ran while I used completion and I needed something that wasn't in the local index results already. I use

Re: Can I use Maven Indexer CLI for the NB Maven index?

2024-11-16 Thread Michael Bien
nd that remote index downloads are completely optional. In case you don't use maven or NetBeans that often: NetBeans does also scan the local maven cache, so most features will be still functional even though information about the newest artifacts won't be available until they ar

Can I use Maven Indexer CLI for the NB Maven index?

2024-11-16 Thread Will Hartung
Can I use the Maven Indexer CLI to maintain the maven index that NB manages internally? Specifically, I'd like to just have it run "routinely" (like, say, overnight) to keep the local index up to date. More specifically, I never want to see "unpacking index..." progress

Re: jpa metamodelgen in maven project

2024-11-15 Thread Michael Bien
Hi, can you check that compile-on-save is disabled? you should be able to pass the output dir directly to javac, without extra plugin. something like this:         maven-compiler-plugin     ${project.build.directory}/generated-sources/annotation-processors         if you

Re: jpa metamodelgen in maven project

2024-11-14 Thread Tom Eicher
bug / feature request. Many thanks Tom. Am 12.11.24 um 17:20 schrieb Tom Eicher: Hello, I just upgraded to NB 23 (from 19), and it looks good and feels faster and more refined, good job! Now, I am also trying to finally migrate my old NB7 ant ear build to maven. (I assume there is still no k

jpa metamodelgen in maven project

2024-11-12 Thread Tom Eicher
Hello, I just upgraded to NB 23 (from 19), and it looks good and feels faster and more refined, good job! Now, I am also trying to finally migrate my old NB7 ant ear build to maven. (I assume there is still no kind of assistance for that, so I created a project from wildfly-jakartaee-ear

Re: Missing the menu entry File-->New Project-->Java with Maven-->Netbeans Module Suite

2024-10-23 Thread Oliver Rettig
-plugin-portal. best regards Oliver > Hi, > @Eric thanks for your hints. It helps me to found the needed maven archetype > > I have found in the IDE the way to create a new Netbeans-maven-based-Projekt > based on maven-archetypes > > New Project...-->Java with Maven-->P

Re: Missing the menu entry File-->New Project-->Java with Maven-->Netbeans Module Suite

2024-10-23 Thread Oliver Rettig
Hi, @Eric thanks for your hints. It helps me to found the needed maven archetype I have found in the IDE the way to create a new Netbeans-maven-based-Projekt based on maven-archetypes New Project...-->Java with Maven-->Project from Archetype-->nbm-suite-root The created Project allo

nbm-maven-plugin and ${revision}

2024-10-11 Thread Patrik Karlström
to read artifact descriptor for se.trixon.mapollage:branding:jar:24.11 [ERROR] Caused by: The following artifacts could not be resolved: se.trixon.mapollage:parent:pom:${revision} (absent): Could not find artifact se.trixon.mapollage:parent:pom:${revision} in mapton ( https://mapton.org/repo/maven

RE: Missing the menu entry File-->New Project-->Java with Maven-->Netbeans Module Suite

2024-09-11 Thread Eric Barboni
File-->New Project-->Java with Maven-->Netbeans Module Suite Maybe https://github.com/apache/netbeans-mavenutils-archetype-nbm-suite-root/tree/ master can help. But how to use it? best regards Oliver > Hi, > > I am missing the menus entry > > Missing File-->New Proj

Re: netbeans 22 does not build a maven project for netbeans application

2024-08-26 Thread Michael Bien
-- Failed to execute goal org.apache.netbeans.utilities:nbm-maven-plugin:14.1:cluster-app (default-cluster-app) on project mavenproject8-app: Execution default-cluster-app of goal org.apache.netbeans.utilities:nbm-maven-plugin:14.1:cluster-app failed: Using jdk 14 and later prevents reading of N

Re: netbeans 22 does not build a maven project for netbeans application

2024-08-23 Thread Michael Bien
02:00 Failed to execute goal org.apache.netbeans.utilities:nbm-maven-plugin:14.1:cluster-app (default-cluster-app) on project mavenproject8-app: Execution default-cluster-app of goal org.apache.netbeans.utilities:nbm-maven-plugin:14.1:cluster-app failed: Using jdk 14 and

Re: netbeans 22 does not build a maven project for netbeans application

2024-08-23 Thread Michael Bien
no longer supported as you can see at https://javaalmanac.io/jdk/ (JDK 21 would be the current LTS release), however this should make no difference in this particular case. regards, michael On 23.08.24 14:10, Rafał Ziółkowski wrote: Hallo,     With Netbeans 22 I've created a maven proj

netbeans 22 does not build a maven project for netbeans application

2024-08-23 Thread Rafał Ziółkowski
Hallo,     With Netbeans 22 I've created a maven project of Netbeans Application using wizard 'java with maven->netbeans application'. Any try to clean and install with java 18results in following statement: "Failed to execute goal org.apache.netbeans.utilities:nbm-ma

netbeans 22 does not build a maven project for netbeans application

2024-08-23 Thread Rafał Ziółkowski
Hallo,     With Netbeans 22 I've created a maven project of Netbeans Application using wizard 'java with maven->netbeans application'. Any try to clean and install with java 18results in following statement: "Failed to execute goal org.apache.netbeans.utilities:nbm-ma

netbeans 22 does not build a maven project for netbeans application

2024-08-23 Thread Rafał Ziółkowski
Hallo,     With Netbeans 22 I've created a maven project of Netbeans Application using wizard 'java with maven->netbeans application'. Any try to clean and install with java 18results in following statement: "Failed to execute goal org.apache.netbeans.utilities:nbm-ma

Re: Missing the menu entry File-->New Project-->Java with Maven-->Netbeans Module Suite

2024-07-25 Thread Oliver Rettig
Maybe https://github.com/apache/netbeans-mavenutils-archetype-nbm-suite-root/tree/ master can help. But how to use it? best regards Oliver > Hi, > > I am missing the menus entry > > Missing File-->New Project-->Java with Maven-->Netbeans Module Suite > > to create

Missing the menu entry File-->New Project-->Java with Maven-->Netbeans Module Suite

2024-07-25 Thread Oliver Rettig
Hi, I am missing the menus entry Missing File-->New Project-->Java with Maven-->Netbeans Module Suite to create a maven based Netbeans Module Suite. The corresponding menu entry is available for ant based modules. I want to create a plugin for the Netbeans IDE which is based o

Re: Maven Documentation

2024-06-22 Thread Mark A. Flacy
Greetings, To fully understand what the Maven XSD is telling you, I fear that you'll have to read some www.w3.org documentation. The wikipedia page is useful (since this isn't a political issue): https://en.wikipedia.org/wiki/ XML_Schema_(W3C)[1] It provides links to the various

Re: Maven Documentation

2024-06-22 Thread slipbits
me to do something. So, no book. But I did find something, "Introducing Maven". It's old but it addresses topics in a way that I personally find satisfying. For one, it provides a consistent overview of topics, going into enough detail to illustrate a single point, and explainin

Re: Netbeans notification requests permission for Maven repo. But how?

2024-06-03 Thread Michael Bien
you can click the links. Since this looks like a local repo, it won't have an index file anyway so you can click the "deny" link and it won't ask again for this repo ID. This is meant for remote repos like maven central which offer big index files. -mbien On 03.06.24 21

Netbeans notification requests permission for Maven repo. But how?

2024-06-03 Thread Mark Koch
I get this Notification in Netbeans 21 where it wants me to Allow or Deny downloads for a temp repository but the blue hyperlinks don’t seem to have any effect. So how would one enact the requested changes, either in Netbeans or from a command line? Mark Also, for whom it may concern, the m

Re: Maven Documentation

2024-06-02 Thread Davide Grandi
Right. 1) get an example 2) mvn clean 3) mvn clean compile 3) mvn clean compile package 4) mvn clean compile package install you can keep only "clean" and "the last command on he row", the intermediate ones are implied. welcome on maven !     Davide -- ing.

Re: Maven Documentation

2024-06-02 Thread Tilman Hausherr
That's not helpful, because it's about syntax details, google "maven beginners" or "maven tutorial" and choose one that makes sense. This one is not bad: https://www.baeldung.com/maven (my first hits were on the apache site but these seemed too complex, despite

Maven Documentation

2024-06-02 Thread slipbits
I'm just getting into Maven and I'm trying to find a good book that describes the POM and Maven. I'm just going through the Apache Maven Project POM reference and things like: According to the POM 4.0.0 XSD, the |build| element is conceptually divided into two pa

Maven Based NetBeans Platform Application - questions

2024-04-05 Thread Andreas Rademeyer
Good day Some questions that I'm hoping someone can answer: *(1)* For an Ant Based Netbeans Platform Application • harness.dir and • nbplatform.active.dir can be set to point to a customized build harness and netbeans platform. What are the properties to be set for a *Maven*

Re: Netbeans 21 always showing wrong Java dependency for Maven project

2024-02-28 Thread Francesco Chicchiriccò
gt; > > > I am experiencing an annoying behavior with Maven projects: even > > though JDK 21 is correctly reported under project properties -> > > sources -> source/binary format and also under build -> compile (as > > set by Maven's pom.xml), Netbeans keeps

Re: Netbeans 21 always showing wrong Java dependency for Maven project

2024-02-28 Thread Michael Bien
Hi, On 28.02.24 11:23, Francesco Chicchiriccò wrote: Hi there, I am using Netbeans since 6.0 and still enjoying it as main development platform for Java: nice job! I am experiencing an annoying behavior with Maven projects: even though JDK 21 is correctly reported under project properties

Netbeans 21 always showing wrong Java dependency for Maven project

2024-02-28 Thread Francesco Chicchiriccò
Hi there, I am using Netbeans since 6.0 and still enjoying it as main development platform for Java: nice job! I am experiencing an annoying behavior with Maven projects: even though JDK 21 is correctly reported under project properties -> sources -> source/binary format and also under

Where do I place Maven keys -e and -X when running application in Netbeans

2024-02-05 Thread Greenberg, Gary
: %PARSER_ERROR[enc] ... Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (default-cli) on project etl_daemon: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1] To see the full stack trace of the errors, re-run Maven with the -e swi

Where do I specify maven debug keys

2024-01-31 Thread Greenberg, Gary
--- BUILD FAILURE Total time: 5.067 s Finished at: 2024-01-31T21:19:55-08:00 Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (default-cli) on pr

Re: Thought on handling different Maven .m2 folders

2024-01-27 Thread Neil C Smith
On Sat, 27 Jan 2024 at 09:13, Lars Bruun-Hansen wrote: > Another thought: Maven command execution shell still supports a > "$HOME/.mavenrc" file which is executed (sourced) by Maven before it > does anything else. It will be fired each and every time you execute > the "

Re: Thought on handling different Maven .m2 folders

2024-01-27 Thread Lars Bruun-Hansen
> For certain git branches, I want to use a different .m2 folder. Even if possible maybe revisit why you need this? In any case, Maven supports (since 3.3 or something) that you can have a local ".mvn" folder in your project. See this: https://maven.apache.org/configure.html This

Re: Thought on handling different Maven .m2 folders

2024-01-26 Thread Pieter van den Hombergh
, Steven M : > > In the maven Tools\Options\Java\Maven, there is a prompt for Global > Execution Options: > Currently I use -U -SkipTests -gs > C:\Users\\m2_for_project\.m2\settings -s C: \Users\\m2_for_project > \.m2\settings.xml > The settings.xml file contain a loca

Thought on handling different Maven .m2 folders

2024-01-26 Thread Nelligan, Steven M
In the maven Tools\Options\Java\Maven, there is a prompt for Global Execution Options: Currently I use -U -SkipTests -gs C:\Users\\m2_for_project\.m2\settings -s C: \Users\\m2_for_project \.m2\settings.xml The settings.xml file contain a localRepository tag which points to different

Re: Form designer issue with Maven NB app

2023-12-04 Thread Jerome Lelasseux
Found the problem:  I changed some package base names while doing the Maven migration, and forgot to process the .form files accordingly.  Silly me Le dimanche 3 décembre 2023 à 21:15:09 UTC+1, Jerome Lelasseux a écrit : Hi, I migrated my NB app from Ant to Maven, when I run the

Form designer issue with Maven NB app

2023-12-03 Thread Jerome Lelasseux
Hi, I migrated my NB app from Ant to Maven, when I run the app everything is fine. But in the IDE when I switch to the "Design" view of a graphical component (JDialog, JPanel ...) I get 2 problems with the form editor: 1/ form editor shows text components with the string resource pr

Re: Maven + NB platform app variants

2023-11-24 Thread Jerome Lelasseux
Thanks Patrick, that helps Le vendredi 24 novembre 2023 à 17:04:55 UTC+1, Patrik Karlström a écrit : I asked the very same thing earlier on this list and I ended up using standard maven profiles.It's good for excluding modules too, and adding closed source modules to an open s

Re: Maven + NB platform app variants

2023-11-24 Thread Patrik Karlström
I asked the very same thing earlier on this list and I ended up using standard maven profiles. It's good for excluding modules too, and adding closed source modules to an open source pom. The reference will be visible but not the content. Note that you have to select the correct profile in

Maven + NB platform app variants

2023-11-22 Thread Jerome Lelasseux
t A's cluster: cluster.path=${nbplatform.active.dir}/platform:../variantA/build/cluster I ported the app to Maven, but it's not clear to me how can achieve the same mechanism with Maven. Any recommandation? Jerome

Options Panels on NetBeans Platform with Maven

2023-11-21 Thread Charles Rivenbark
I created a new NetBeans Platform Application under the Maven category, added a new NetBeans Module under the -parent module, added a new Primary Options Panel under the new module and added a new Secondary Options Panel on the new Primary. The new module is listed in the Dependencies for the

Maven with shared sources on 2 modules

2023-07-12 Thread Alex O'Ree
I have two modules in maven that both produce slightly different configurations of a war file. Lets call them war1 and war2. War1 has all the html js, css, etc and base config. War2 uses the same html, css and most of the same js and some different configurations in web and context xml files

Re: Why Maven build app always recompiles ?

2023-06-03 Thread Pieter van den Hombergh
how should I change the my guava module (pom below) to avoid this > recompilation with the install goal ? > > > > http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" > http://maven.apache.org/POM/

Re: Why Maven build app always recompiles ?

2023-06-02 Thread Jerome Lelasseux
my NB platform app, if I open a single module and build it, it recompiles only when source files are modified, as expected. But when I run Build on the parent project, maven always recompiles all modules. Is it normal ? I do not know if this is related to the issue that you are observing, bu

Re: Migrating NB platform app to maven

2023-05-31 Thread Tim de Vries
pp (~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. So now I have my parent project,

Re: Why Maven build app always recompiles ?

2023-05-22 Thread Martin Desruisseaux
Hello Jerome Le 22/05/2023 à 22:53, Jerome Lelasseux a écrit : On my NB platform app, if I open a single module and build it, it recompiles only when source files are modified, as expected. But when I run Build on the parent project, maven always recompiles all modules. Is it normal ? I do

Re: Why Maven build app always recompiles ?

2023-05-22 Thread Jerome Lelasseux
ompilation. So how should I change the my guava module (pom below) to avoid this recompilation with the install goal ?  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 htt

Re: Why Maven build app always recompiles ?

2023-05-22 Thread Jerome Lelasseux
ot;changes detected, recompiling" for each child module. Same if I build a single child module and then build the parent project, it will detect some changes and recompile in that module. Jerome Le lundi 22 mai 2023 à 11:48:50 UTC+2, Eric Barboni a écrit : Hi,   Maven wil

RE: Why Maven build app always recompiles ?

2023-05-22 Thread Eric Barboni
Hi, Maven will build all children, but should be faster on the compilation plugin part you should have something like that : Nothing to compile - all classes are up to date. Best Regards Eric De : Jerome Lelasseux Envoyé : vendredi 19 mai 2023 21:04 À : NetBeans Mailing List

Ant > Maven migration script

2023-05-20 Thread Jerome Lelasseux
Below is a script that automates many of the Ant>Maven migration tasks for a NB platform app. I completed the migration of the build process, now I need to work on the installers/packaging. I discovered nbpackage, I'll have a look at it. Jerome GitHub - jjazzboss/NbMavenize: A s

Re: Migrating NB platform app to maven

2023-05-20 Thread Jerome Lelasseux
I answer my own question about the equivalent in Maven of the Ant release/modules directory. Use the nbmResources parameter of the nbm goal of the nbm plugin.  https://bits.netbeans.org/mavenutilities/nbm-maven-plugin/nbm-maven-plugin/nbm-mojo.html#nbmResources Jerome Le jeudi 18 mai

Why Maven build app always recompiles ?

2023-05-19 Thread Jerome Lelasseux
On my NB platform app, if I open a single module and build it, it recompiles only when source files are modified, as expected. But when I run Build on the parent project, maven always recompiles all modules. Is it normal ? Jerome App is here https://github.com/jjazzboss/JJazzLabTemp

Re: Migrating NB platform app to maven

2023-05-18 Thread Jerome Lelasseux
What is the recommended way to bundle native libs in a module with Maven ? With Ant I just put the libs in /release/modules/xx and I was able to find them via InstalledFileLocator.getDefault().locate(). Jerome PS: I finally managed to run my app with Maven. I'll publish my migration s

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\\ja

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

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

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

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     o

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 ki

Re: Maven indexing

2023-04-06 Thread Tim de Vries
. Pardon? I gave a recommendation on how to configure the Filesystem/OS for holding the Maven index/cache/repository. That's two layers below Netbeans and does not depend on patches/changes for Netbeans, I think? Cheers Andreas

Maven IT integration tests not recognized?

2023-03-26 Thread Alex O'Ree
Hi I was experimenting with surefire integration tests vs unit tests. I noticed that NB completely ignores the "it" folder src/it/java etc. Is there a workaround for this?

Re: Maven indexing

2023-03-14 Thread Tim de Vries
hanges. t...@tecreations.ca On 14/03/2023 7:54 p.m., Andreas Reichel wrote: Transparent compression with BTRFS/ZFS also helps a lot. Pardon? I gave a recommendation on how to configure the Filesystem/OS for holding the Maven index/cache/repository. That's two layers below Netbeans and doe

Re: Maven indexing

2023-03-14 Thread Andreas Reichel
/OS for holding the Maven index/cache/repository. That's two layers below Netbeans and does not depend on patches/changes for Netbeans, I think? Cheers Andreas >

Re: Maven indexing

2023-03-14 Thread Tim de Vries
You may. Submit changes. t...@tecreations.ca On 14/03/2023 7:54 p.m., Andreas Reichel wrote: On Wed, 2023-03-15 at 02:20 +0100, Michael Bien wrote: my .m2 folder is 4GB right now and I haven't cleared it for at least 2 years. Transparent compression with BTRFS/ZFS also helps a lot. Cheers A

Re: Maven indexing

2023-03-14 Thread Tim de Vries
2023 at 6:26 PM Michael Bien wrote: On 14.03.23 13:29, Emma Atkinson wrote: > I gave up on Maven a couple of years ago for the reasons already > given.  No matter what size partition I used it would be too small > within a year or so.  I used to grab the dependencies I n

Re: Maven indexing

2023-03-14 Thread Andreas Reichel
On Wed, 2023-03-15 at 02:20 +0100, Michael Bien wrote: > my .m2 folder is 4GB right now and I haven't cleared it for at least > 2 > years. Transparent compression with BTRFS/ZFS also helps a lot. Cheers Andreas

Re: Maven indexing

2023-03-14 Thread Tim de Vries
don't want it!). Android development for comparison will use up that space instantly as soon you press run and it downloads an OS image for the emulator and you probably want to test on more than one image. The maven central index contains information for every java lib ever released a

Re: Maven indexing

2023-03-14 Thread László Kishalmi
radle migration POC On Tue, Mar 14, 2023 at 6:26 PM Michael Bien wrote: > On 14.03.23 13:29, Emma Atkinson wrote: > > I gave up on Maven a couple of years ago for the reasons already > > given. No matter what size partition I used it would be too small > > within a year

Re: Maven indexing

2023-03-14 Thread Michael Bien
antly as soon you press run and it downloads an OS image for the emulator and you probably want to test on more than one image. The maven central index contains information for every java lib ever released and is post-extraction at about 5GB. That should be ok i think. I also do have some

Re: Maven indexing

2023-03-14 Thread Tim de Vries
If I may inject a thought? Maybe time to invest in a DVD-RW Drive and a bigger case. If you have three drives, you can add a floppy or DVD-Writer. So, a spindle of DVD's? Tim On 2023-03-14 7:20 p.m., Michael Bien wrote: On 14.03.23 13:29, Emma Atkinson wrote: I gave up on Maven a coup

Re: Maven indexing

2023-03-14 Thread Michael Bien
On 14.03.23 13:29, Emma Atkinson wrote: I gave up on Maven a couple of years ago for the reasons already given.  No matter what size partition I used it would be too small within a year or so.  I used to grab the dependencies I needed and switched off the Maven Index download in NB. if your

Re: Maven indexing

2023-03-14 Thread Michael Bien
On 14.03.23 18:17, Neil C Smith wrote: On Tue, 14 Mar 2023 at 17:01, László Kishalmi wrote: Also one day the Gradle plugin may be smart enough to use that Maven index for its own good. Like offering a dependency to add when you add an import statement for a class... That would be great. I

Re: Maven indexing

2023-03-14 Thread Neil C Smith
On Tue, 14 Mar 2023 at 17:01, László Kishalmi wrote: > Also one day the Gradle plugin may be smart enough to use that Maven index > for its own good. > Like offering a dependency to add when you add an import statement for a > class... That would be great. I started looking a w

Re: Maven indexing

2023-03-14 Thread László Kishalmi
Also one day the Gradle plugin may be smart enough to use that Maven index for its own good. Like offering a dependency to add when you add an import statement for a class... On Tue, Mar 14, 2023 at 6:28 AM Neil C Smith wrote: > On Tue, 14 Mar 2023 at 12:31, Emma Atkinson > wrote: > &

Re: Maven indexing

2023-03-14 Thread Neil C Smith
On Tue, 14 Mar 2023 at 12:31, Emma Atkinson wrote: > Recently (couple of years) I started using the Maven repository again but > through Gradle. Gradle does not load and decompress the whole index. Gradle > loads solely the dependencies (artifact : group : version) specifi

Re: Maven indexing

2023-03-14 Thread Emma Atkinson
I gave up on Maven a couple of years ago for the reasons already given. No matter what size partition I used it would be too small within a year or so. I used to grab the dependencies I needed and switched off the Maven Index download in NB. Recently (couple of years) I started using the Maven

Re: Maven indexing

2023-03-11 Thread Michael Bien
https://github.com/apache/netbeans/pull/5655 On 11.03.23 22:05, Glenn Holmer wrote: On 3/11/23 14:43, Michael Bien wrote: We could however, potentially tell maven-indexer to use a sub folder of tmp and clean that folder on IOException - just to be sure - as second fallback. i'll take a

  1   2   3   4   5   6   7   >