Re: Multi-module build, emulating Ant build...

2023-11-06 Thread Joseph Kessselman
Right. Copypaste of the plugin doesn't work because Maven is declarative. One instance of exec-maven-plugin with multiple s, each having its own ID (since the default is to collide) and its own set of arguments, appears to be what's intended. Unfortunately only the first seems to be

Re: Multi-module build, emulating Ant build...

2023-11-06 Thread Joseph Kessselman
(To clarify: Reason I'm asking is that the example of exec:java puts all the parameters in rather than in , and I'm not clear on whether I can have for multiple runs, or move the arguments into the , or something else to avoid repeating quite so much boilerplate.) On 11/6/2023 7:14 PM,

Re: Multi-module build, emulating Ant build...

2023-11-06 Thread Joseph Kessselman
Turns out Stylebook does have a front-end driver that I don't have source for, so I'm just invoking it via exec:java for now. I'll clean up later. At least it gets rid of the platform-specific script and puts the pom in charge of everything. Quick question re exec-maven-plugin: Is it possible

[ANN] Apache Maven Surefire 3.2.2 Released

2023-11-06 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the availability of the Apache Maven Surefire 3.2.2 https://maven.apache.org/surefire/ Release Notes - Maven Surefire - Version 3.2.2 ** Bug * [SUREFIRE-2205] - Mojo documentation links are broken * [SUREFIRE-2207] - Fails with modular

[ANN] Apache Maven Plugin Tools 3.10.2 Released

2023-11-06 Thread Slawomir Jaranowski
The Apache Maven team is pleased to announce the release of the Apache Maven Plugin Tools, version 3.10.2 https://maven.apache.org/plugin-tools/ Release Notes - Maven Plugin Tools - Version 3.10.2 ** Bug * [MPLUGIN-484] - Downgrade plexus-xml to 3.0.0 ** Dependency upgrade *

[ANN] Maven Javadoc Plugin 3.6.2 released

2023-11-06 Thread Michael Osipov
The Apache Maven team is pleased to announce the release of the Maven Javadoc Plugin, version 3.6.2. This module generates browsable HTML pages from Java source code. https://maven.apache.org/plugins/maven-javadoc-plugin/ You should specify the version in your project's plugin configuration:

[ANN] Maven Resolver 2.0.0-alpha-1 released

2023-11-06 Thread Tamás Cservenák
Howdy, The Apache Maven team is pleased to announce the release of the Maven Resolver 2.0.0-alpha-1. https://maven.apache.org/resolver-archives/resolver-2.0.0-alpha-1/ This is a *PREVIEW* release of upcoming Maven Resolver 2.0.0 meant for users of Resolver to pick it up and adapt code if

Re: what means "The following artifacts could not be resolved: org.dom4j:dom4j:jar:2.1.3 (present, but unavailable)"

2023-11-06 Thread Sylwester Lachiewicz
Hi, please check what You have in .m2/repository/org/dom4j/dom4j/2.1.3 in file _remote.repositories There will be references to the repo from where this artifact has been downloaded. BR Sylwester pon., 6 lis 2023 o 16:57 Tamás Cservenák napisał(a): > Howdy, > > Well, let me step back for a

Re: what means "The following artifacts could not be resolved: org.dom4j:dom4j:jar:2.1.3 (present, but unavailable)"

2023-11-06 Thread Tamás Cservenák
Howdy, Well, let me step back for a moment: Maven2 did ignore "origin" and it caused various problems that were very hard to diagnose. Hence, Maven3 (from start, or almost, but very early) did implement the "enhanced" local repository, that does track origin. In short, these kinds of errors

Re: what means "The following artifacts could not be resolved: org.dom4j:dom4j:jar:2.1.3 (present, but unavailable)"

2023-11-06 Thread Francois Marot
Hello Arno and Tamas and thank you for the detailed and very interesting explanation. One question arises though: is there any way to make Maven ignore the origin ? Have a good day François Le lun. 6 nov. 2023 à 13:20, Tamás Cservenák a écrit : > Howdy, > > The Maven local repository

Re: what means "The following artifacts could not be resolved: org.dom4j:dom4j:jar:2.1.3 (present, but unavailable)"

2023-11-06 Thread Tamás Cservenák
Howdy, The Maven local repository contains two kinds of artifacts lumped together: - cached ones from remote - locally built and installed This message matters the cached ones: "present but unavailable" means following: - file IS present (so it was cached) - but is unavailable, as it was cached

what means "The following artifacts could not be resolved: org.dom4j:dom4j:jar:2.1.3 (present, but unavailable)"

2023-11-06 Thread Arno Schatz
Hi, I am trying to use the offline mode (mvn -o clean install) and getting the error message "The following artifacts could not be resolved: org.dom4j:dom4j:jar:2.1.3 (present, but unavailable)" for very many dependencies. My main computer and a VM share the same file system. The VM is