per module repository settings

2024-06-25 Thread Delany
e selected modules. Effective pom shows the configuration is carried, but Maven/resolver ignores it. true never https://maven.apache.org/ref/3.9.8/maven-model/maven.html#class_snapshots The snapshot repository must remain enabled. Kind regards, Delany

Re: enforce module descriptions

2024-02-10 Thread Delany
Enforcer - I should have known. Thanks On Fri, 9 Feb 2024, 18:50 Konrad Windszus, wrote: > You can probably use > https://www.mojohaus.org/extra-enforcer-rules/requirePropertyDiverges.html > to enforce a distinct description per module. > > Konrad > > > On 9. Feb 2024,

Re: enforce module descriptions

2024-02-09 Thread Delany
Mail original - > De: "Delany" > À: "Maven Users List" > Envoyé: Jeudi 8 Février 2024 06:27:55 > Objet: enforce module descriptions > > Hi. I'm using enforcer to require a project description > https://maven.apache.org/enforcer/enforcer-rules/requir

enforce module descriptions

2024-02-08 Thread Delany
Hi. I'm using enforcer to require a project description https://maven.apache.org/enforcer/enforcer-rules/requireProperty.html But I also want to require a description for each module. The description is inherited so they will always have a description. Is this possible? Thanks, Delany

Re: deploying java app

2023-10-31 Thread Delany
Build with `mvn clean install -Pdispatch` Regards, Delany On Tue, 31 Oct 2023 at 17:33, Peter Carlson wrote: > I currently use the below commands to prepare my java application: > > mvn clean compil

Re: passing compiler args via a properties file

2023-09-24 Thread Delany
: > [With some more context from the original message.] > > Sun, 24 Sep 2023 15:45:49 +0200, /Stanimir Stamenkov/: > > Sun, 24 Sep 2023 15:45:49 +0200, /Delany/: > > > >> I can also quickly run a build to catch on issue > >> that I'm trying to eradicate by

passing compiler args via a properties file

2023-09-24 Thread Delany
line makes reviewing changes a pain. I don't really want to config the whole build with the compiler arguments. Is there a way to specify these in a properties file and have each argument on its own line? Kind regards, Delany

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-25 Thread Delany
Try this https://github.com/aspan/jaxb2-basics Delany On Thu, 24 Aug 2023 at 20:21, David Hoffer wrote: > That one works great as a general purpose XJC tool and supports JAXB4 but > unfortunately to use any of the plugin options > > -XtoString > -Xequals > -XhashCode > -X

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread Delany
This one has JAXB4 support https://github.com/phax/maven-jaxb2-plugin Delany On Tue, 22 Aug 2023 at 22:04, David Hoffer wrote: > I think that is based on: > > org.jvnet.jaxb2.maven2 > maven-jaxb2-plugin > > Which, I can't get to work with JDK17 and to be compatible with th

Re: JAXB2 Maven Plugin XJC Goal JDK17 Question

2023-08-22 Thread Delany
Try here https://stackoverflow.com/a/32336886/2746335 Delany On Tue, 22 Aug 2023 at 21:16, David Hoffer wrote: > I'm wanting to use the JAXB2 Maven Plugin's XJC goal in a JDK17 project. > I'm using version 3.1.0. I can get it to generate the Java code but can't > find any way to ad

Re: elegant way to disable Nexus staging/deployment in child POMs

2023-08-03 Thread Delany
inherited in other repos, put it in .\.mvn\maven.config Delany On Thu, 3 Aug 2023 at 03:45, Garret Wilson wrote: > On 8/1/2023 7:42 PM, Garret Wilson wrote: > > … > > Now the child POMs can turn off deployment by simply setting > > `maven.deploy.skip` to `false`, an

Re: elegant way to disable Nexus staging/deployment in child POMs

2023-07-31 Thread Delany
staging-plugin Maven Staging https://repository.apache.org/content/repositories/maven-${stage}/ When abstractions erode it becomes difficult to think. In this case though the idea of user settings was never a strong one. Delany On Mon, 31 Jul

Re: elegant way to disable Nexus staging/deployment in child POMs

2023-07-31 Thread Delany
m not a fan of https://issues.apache.org/jira/browse/MNG-5659 Delany On Mon, 31 Jul 2023 at 18:02, Garret Wilson wrote: > On 7/31/2023 3:07 AM, Delany wrote: > > Perhaps you're getting confused because you conflate 2 issues: > > … prevent general configuration like from being

Re: elegant way to disable Nexus staging/deployment in child POMs

2023-07-31 Thread Delany
modules (although your IDE might be unhappy about it). You want convenience, but not too convenient! But you can't have your cake and eat it. For super-secret configuration, rely on configuring the build environment via settings.xml. Delany On Mon, 31 Jul 2023 at 03:05, Garret Wilson wrote

Re: elegant way to disable Nexus staging/deployment in child POMs

2023-07-30 Thread Delany
If its that risky not to use profiles then it shouldn't be in the root parent pom at all. Do like one would for signing: rely on the environment to be setup for that purpose, i.e. put it in settings.xml You can still have the guts of it in the pom. Delany On Sun, 30 Jul 2023 at 21:46, Garret

Re: elegant way to disable Nexus staging/deployment in child POMs

2023-07-30 Thread Delany
What happens if you add this to the pluginManagement/plugin section? false Delany On Sun, 30 Jul 2023 at 20:29, Garret Wilson wrote: > I have a "root" POM which I use as the inheritance ancestor of all my > projects: https://github.com/globalmentor/globalmentor-root >

Re: Confused about how to override a transient artifact version

2023-07-29 Thread Delany
4.0.2 true classpath:depgraph/depgraph.json -Kfdp -Goverlap=false -Gstart=30 -Gsep=+10,10 dot true true false false * Delany On Sat, 29 Jul 2023 at 01:29, David Karr wrote

Re: Maven 3.3.9 allows overriding readonly parameters for plugins

2023-07-16 Thread Delany
Hi Nikos, That goal is only intended to be configured from project.build.resources. You can rather use https://maven.apache.org/plugins/maven-resources-plugin/copy-resources-mojo.html https://issues.apache.org/jira/browse/MRESOURCES-293 Delany On Sun, 16 Jul 2023, 17:19 Nikos Dragazis, wrote

Re: Multi-module Maven projects and Scala-aware artifact IDs

2023-06-12 Thread Delany
Bouncycastle does similar, e.g. bcprov-jdk15to18-173.jar <https://www.bouncycastle.org/download/bcprov-jdk15to18-173.jar> https://www.bouncycastle.org/latest_releases.html Delany On Mon, 12 Jun 2023 at 18:51, Greg Chabala wrote: > > > > Has anyone faced this before? >

Re: Maven 3.9.2 - Could not acquire read lock

2023-05-27 Thread Delany
xus.classworlds.launcher.Launcher.main (Launcher.java:348) 15:33:02 Suppressed: java.lang.IllegalStateException: Attempt 1: Could not acquire write lock for 'C:\ws\targ-2.2.16\.m2\repository\.locks\com.segway~segway-build~1-SNAPSHOT.lock' in 120 SECONDS Delany On Sat, 27 May 2023 at 08:28, Dan

Re: Maven Artifact Resolver not seeing latest plugins on Maven Central on my machine

2023-05-24 Thread Delany
Try renaming `C:\Users\user\.m2\repository\` Does the issue persist? Delany On Wed, 24 May 2023, 18:04 Garret Wilson, wrote: > I'm writing to this list on the advice of Andrzej Jarmoniuk on [Versions > Maven Plugin Issue > #959](https://github.com/mojohaus/versions/issues/959). I

Re: plugin of a plugin

2023-04-15 Thread Delany
Thanks, I keep forgetting about its custom nature. I've asked before, but do you think its possible for Maven to validate the configuration elements like Intellij does?

plugin of a plugin

2023-04-14 Thread Delany
spotbugs:check? Kind regards, Delany

Re: maven-3.9.1 sees Could not acquire write lock for 'artifact:g:a:v

2023-03-24 Thread Delany
:56 at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628) 01:14:56 at java.lang.Thread.run (Thread.java:829) On Fri, 24 Mar 2023 at 18:42, Tamás Cservenák wrote: > Delany, > > Had you chance to test it? > > T > > On Fri, Mar 24, 2023, 13:06 Delany wrote:

Re: maven-3.9.1 sees Could not acquire write lock for 'artifact:g:a:v

2023-03-24 Thread Delany
Thanks Tamas I got it and tested locally, but I had to role back the update to wrapper-maven.properties because of https://issues.apache.org/jira/browse/MWRAPPER-107 There so many ways to do this, so might get around to it this weekend. Delany On Fri, 24 Mar 2023 at 18:42, Tamás Cservenák wrote

Re: maven-3.9.1 sees Could not acquire write lock for 'artifact:g:a:v

2023-03-24 Thread Delany
Tamas, can I have a baked zip pls? I've hit this twice today, e.g. 12:12:48 [ERROR] Could not acquire write lock for 'artifact:net.bytebuddy:byte-buddy-agent:1.12.13' 12:12:48 java.lang.IllegalStateException: Could not acquire write lock for 'artifact:net.bytebuddy:byte-buddy-agent:1.12.13'

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Delany
} - - - com.myco.app:foo-core:test-jar:tests - - Delany On Thu, 16 Feb 2023 at 12:53, Olivier Lamy wrote: > On Thu, 16 Feb 2023 at 20:07, Delany wrote: > > > > Hi Stephane, > > > > You can do like this > > > > > >

Re: maven-surefire-plugin add artifact as additionalClasspathElement

2023-02-16 Thread Delany
Hi Stephane, You can do like this maven-surefire-plugin 3.0.0-M9 org.apache.commons commons-email 1.5 On Thu, 16 Feb 2023 at 11:25, Stephane Passignat wrote: >

Re: Maven 3.9.0: Unable to parse maven.config file options: Unrecognized option: --settings .mvn/settings.xml

2023-02-06 Thread Delany
Why would you do that though, and not --settings=.mvn/settings.xml The intention is to disallow spaces. The fact that spaces are allowed on command line is unfortunate. Delany On Mon, 6 Feb 2023 at 14:39, Nils Breunese wrote: > Thanks for the link. When I replace this: > > --errors

Re: Speed up build times in local and CI

2023-02-03 Thread Delany
-20220113.055723-2.jar -Dotel.service.name=maven -Dotel.instrumentation.maven.mojo.enabled=false and tack it onto my build commands. There's an OpenTelemetry plugin for Jenkins so I can get to the results on Jaeger for all past builds without having to retain the workspace. Delany On Fri, 3 Feb 2023 at 15:12

Re: Cleaning the dependency-reduced-pom.xml ?

2023-02-02 Thread Delany
I used to remove it with a dedicated clean plugin execution, but that's slow and noisy, so I moved it to ${project.build.directory}/.dependency-reduced-pom.xml Delany On Thu, 2 Feb 2023 at 10:54, Niels Basjes wrote: > Hi, > > When using the maven-shade-plugin there are configurations

Re: MalformedInputException: Input length = 1

2023-01-20 Thread Delany
Hi Tom, You can turn off filtering if you don't need it. The docs suggest having separate folders for plaintext/binary resources https://maven.apache.org/plugins/maven-resources-plugin/examples/filter.html

Re: Re: How to add a library to the classpath

2023-01-06 Thread Delany
The way to separate multiple classpaths is to have multiple poms. You can make another child module (so that it inherits the base dependencies) and add the extra dependencies and the exec:java to THAT module. Delany On Fri, 6 Jan 2023 at 18:55, Siddharth Jain wrote: > Hi All, > &g

Re: How to add a library to the classpath

2023-01-06 Thread Delany
Could this help? https://maven.apache.org/plugins/maven-dependency-plugin/build-classpath-mojo.html Delany On Fri, 6 Jan 2023 at 05:30, Siddharth Jain wrote: > thanks. unfortunately this is exactly what i don't want to do. i am looking > for a command line solution. i don't want my

Re: Maven assembly plugin - Proxies not working with mirrors

2022-12-22 Thread Delany
Sorry not familiar with proxies. Make sure there isn't a bug at https://issues.apache.org/jira/projects/MNG/issues/MNG-7642?filter=allopenissues Delany On Thu, 22 Dec 2022 at 15:34, Abhinav Sharma wrote: > I have tried with maven 3.8.6 as well. Same error comes. > > On Thu, 22 Dec, 20

Re: Maven assembly plugin - Proxies not working with mirrors

2022-12-22 Thread Delany
Use Maven v3.8.6 if you can Abhinav Delany On Thu, 22 Dec 2022 at 14:17, Abhinav Sharma wrote: > Hi, > I am using maven 3.8.2 with java 11 in my system, with remotes configured > for jfrog artifactory. > > With both mirror and proxy added, mvn is ignoring the proxies and faili

preferred garbage collector

2022-12-11 Thread Delany
jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED Here is my prof script someone might find it useful #!/bin/sh -m "$@" & sh -c 'jconsole -interval=1 "$@" &' _ "$!"; fg Then invoke a build with ./prof mvn verify Kind regards, Delany

Re: PluginManager.verifyReportPlugin NoSuchMethod

2022-11-24 Thread Delany
Try d...@maven.apache.org On Thu, 24 Nov 2022 at 15:01, Alex O'Ree wrote: > Hello > > I was rummaging around in the maven pdf plugin internals which used to have > the ability to append maven site reporting plugin content into PDFs. I > noticed it was calling the following: > > return

Re: Polyglot usage of components/Dependency graph API

2022-11-22 Thread Delany
Try d...@maven.apache.org On Tue, 22 Nov 2022 at 16:23, Patrick Plenefisch wrote: > Hi, > How can I query a specific dependency's *resolved* transitive dependencies > inside a class executed by a mojo? I have access to session and project, > and that's it. > I looked at DependencyGraphBuilder

Re: Mvn install fails

2022-11-14 Thread Delany
It always is :) On Tue, 15 Nov 2022 at 09:24, Raivo Rebane wrote: > Hi > > Thank for help. I succseed. I was bored by Ubuntu and don't mention > Chabalas letter. It's really simple > > Regards > > Raivo > > On 14.11.22 19:30, Arnaud bourree wrote: > > Hi, > > > > Did you read Maven

Re: Maven Deploy fails

2022-11-13 Thread Delany
Not a Maven issue, but if you didn't install the JDK then you'll have to add it with `sudo update-alternatives --install` If the JAVA_HOME env var is set Maven will use that instead. Delany On Mon, 14 Nov 2022 at 09:29, Raivo Rebane wrote: > Hi > > raivo@Hydra:~/teamengine$ su

Re: jar aggregator projects

2022-11-08 Thread Delany
Oh, make no mistake I use aggregator POMs for that reason. But I ALSO have many aggregators that are just containers with . They need their own artifactId, and their own directory (technically not a requirement, but in practice no-one wants 2 poms in one directory). Delany On Tue, 8 Nov 2022

Re: jar aggregator projects

2022-11-07 Thread Delany
configuration I have applies to all my modules. Kind regards, Delany On Fri, 4 Nov 2022 at 16:08, Thai Le wrote: > I'm curious about the usecase of this. > > Thai Le > > On Fri, Nov 4, 2022, 09:30 Delany wrote: > > > Hi. Why can I only have pom aggregator project

jar aggregator projects

2022-11-04 Thread Delany
Hi. Why can I only have pom aggregator projects and not jar aggregator projects? Is this still the case in Maven 4? Thanks, Delany

Re: How to share the same modules between different profiles

2022-09-28 Thread Delany
Shouldn't matter. Please give full pom. Delany On Wed, 28 Sep 2022, 23:15 Thai Le, wrote: > Thanks for your input. That's the first thing I tried. Unfortunately, if I > do that none of the modules recognized the profiles. > > On Wed, Sep 28, 2022, 17:08 Delany wrote: >

Re: How to share the same modules between different profiles

2022-09-28 Thread Delany
Why did you duplicate modules in the profiles? Just leave them under project. Delany On Wed, 28 Sep 2022, 21:32 Thai Le, wrote: > Hello, > > I have an aggregator pom with 70 modules to be built. > > 4.0.0 > company > packaging-pom > 1 > pom >70 modu

Re: Dependencies - need help/advice: Getting the latest version of a specific (not all) dependencies

2022-09-24 Thread Delany
> Finally I opened app2-0.0.1-SNAPSHOT.jar and looked for the included app1-0.0.1-SNAPSHOT.jar file. What does this mean? On Sat, 24 Sept 2022 at 00:05, Bruno Melloni wrote: > First, you are right... I misread. When I look at the maven plugins in > pluginManagement I see v2 and v3:

Re: Maven Wrapper: Using it with override settings.xml

2022-09-13 Thread Delany
There's also a --global-setting parameter, so you could specify the repository in one and the server details in the other. Their content is merged with the user settings taking precedence. Delany On Tue, 13 Sept 2022 at 13:30, Sverre Moe wrote: > That means you have to ch

Re: Maven Wrapper: Using it with override settings.xml

2022-09-13 Thread Delany
I used to place them in /.mvn/settings.xml but khmarbaise advised against, so I inject the settings.xml file in via a Jenkins plugin Delany On Tue, 13 Sept 2022 at 11:33, Sverre Moe wrote: > But I still need to provide the settings.xml on all servers, and to all > users from som

Re: maven-shade-plugin: excluding transitive dependencies from shade jar but having them appear in the pom.xml for the shade jar?

2022-09-04 Thread Delany
hi PJ. You can do like this: true org.apache.avro:avro Kind regards, Delany On Sun, 4 Sept 2022 at 19:05, PJ Fanning wrote: > Hi everyone, > Apologies if this has been answered before but I searched around and > couldn't find an answer. > For Apache Hadoop, I'm look

Re: Side effects of import scope?

2022-08-22 Thread Delany
Management and leave them out of the bom? Alternatively, if dependencyManagement should remain unresolved, why not import the properties, allowing them to be overwritten by the importing project? Regards, Delany On Mon, 22 Aug 2022 at 14:28, wrote: > saying "publish these properties in a

Re: Side effects of import scope?

2022-08-19 Thread Delany
>> I don't see how any property from the imported model could affect the >> importing model >> > OK, good to know. It also can't be overwritten from the importing model, so what purpose does it serve to publish these properties in a bom? Regards, Delany On Thu, 18 Aug

Re: Class defined on module path not found when running integration tests

2022-07-31 Thread Delany
Can you try running it directly without maven/failsafe Use https://maven.apache.org/plugins/maven-dependency-plugin/usage.html#dependency:build-classpath Delany On Sun, 31 Jul 2022 at 08:11, Ryan Lubke wrote: > Hey Folks, > > I’ve been looking into this issue for a couple of days now

Re: how to get latest plugin-version using mvn versions:display-plugin-updates?

2022-07-27 Thread Delany
What version of Maven are you running, and, more importantly, what version of the versions-maven-plugin? Are you invoking it like this: mvn org.codehaus.mojo:versions-maven-plugin:2.11.0:display-plugin-updates -U Delany On Wed, 27 Jul 2022 at 15:59, Stephan Wissel wrote: > AFAIK -U upda

Re: how to get latest plugin-version using mvn versions:display-plugin-updates?

2022-07-25 Thread Delany
Always force an update with the -U switch. Delany On Tue, 26 Jul 2022, 06:55 Stephan Wissel, wrote: > When I run > > mvn versions:display-plugin-updates > > on my project, I get the result: > > [*INFO*] All plugins with a version specified are using the latest &

Re: require dependency declaration

2022-07-13 Thread Delany
? The dependency is not part of the model, so why is it available? The impact of turning this off in the next Maven is that incorrectly configured projects might fail to build. Far reaching consequences, but completely just and reasonable and forward thinking. Delany On Wed, 13 Jul 2022 at 15:21

require dependency declaration

2022-07-13 Thread Delany
taking whatever they need from maven local repository without a Thanks Delany

Re: Maven Wrapper merge issues during release

2022-06-27 Thread Delany
Are u running Windows? Use another mvn to perform the update. Delany On Mon, 27 Jun 2022, 22:31 John Patrick, wrote: > Anyone having issues with maven wrapper, when you upgrade the jar as part > of a release? > > i.e. > develop branch > .mvn/wrapper/maven-wrapper.jar is 3.1

passing properties to junit

2022-06-14 Thread Delany
junit.jupiter.tempdir.cleanup.mode.default=on_success org.apache.logging.log4j.simplelog.StatusLogger.level=info With -X I can see this leaves the default mode "unmodified". There is no mention of the junit directory in the logs. Thanks, Delany

Re: How to retrieve target folder or jar paths from multi-module Maven project

2022-06-10 Thread Delany
t multiple build directories? > > On Fri, Jun 10, 2022, 09:04 Delany wrote: > > > Building on this, you could try this bash script. It is very slow > > > > while read -r pom; do mvn help:evaluate > > -Dexpression=project.build.directory -q -DforceStdout -f $

Re: How to retrieve target folder or jar paths from multi-module Maven project

2022-06-10 Thread Delany
Building on this, you could try this bash script. It is very slow while read -r pom; do mvn help:evaluate -Dexpression=project.build.directory -q -DforceStdout -f $pom && echo; done < <(find . -iname pom.xml) On Thu, 9 Jun 2022 at 21:20, Bernd Eckenfels wrote: > The Maven Help Plugin has some

long running threads from shade-plugin recently updated dep jdom2

2022-04-20 Thread Delany
.java:1128) at java.util.concurrent.ThreadPoolExecutor$Worker.run( java.base@11.0.14.1/ThreadPoolExecutor.java:628) at java.lang.Thread.run(java.base@11.0.14.1/Thread.java:829) Thanks Delany

Re: Shading, relocation and modules?

2022-04-12 Thread Delany
Hi Niels, I don't see an existing resource transformer for module-info https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html Did you see this? https://stackoverflow.com/a/58097561/2746335 Delany On Tue, 12 Apr 2022 at 11:16, Niels Basjes wrote: > Tha

forking plugins

2022-04-12 Thread Delany
un, with the mapstruct project itself, or with Maven? Thanks, Delany

Re: Remove SNAPSHOT from all sub-modules, but honor version

2022-04-02 Thread Delany
still too much work to manually edit version you can try an xslt transform sudo apt install libsaxonb-java xmlstartlet sponge while read pom; do saxonb-xslt -s:$pom -xsl:/tmp/remove-snapshot.xslt | xmlstarlet fo | sponge $pom; done < <(find . -iname pom.xml) Delany /tmp/remove-sn

Re: My maven failed to download the plug-in

2022-03-17 Thread Delany
also help. Images are removed on this mailing list. Regards, Delany On Thu, 17 Mar 2022 at 09:13, 2313835217 <2313835...@qq.com.invalid> wrote: > I had an error downloading the plugin while using Maven > > The error is Clean up the broken artifacts data and reload the projec

ci properties not working

2022-03-14 Thread Delany
artifact org.apache.maven:maven:pom:4.0.0-alpha-1-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 25, column 11 I use CI friendly properties without a problem in my own project. What am I missing? Thanks, Delany

Re: Run all tests (also in dependent modules), fail build at end

2022-02-26 Thread Delany
I understand your use case Alex, just not your process. As this is the users list Im not about to solve the issue of a missing --fail-all-at-end switch, but I could try to think of workarounds. Delany On Sat, 26 Feb 2022 at 09:32, Alexander Kriegisch wrote: > Delany, > > you are c

Re: Run all tests (also in dependent modules), fail build at end

2022-02-25 Thread Delany
then does, and its not unreasonable to expect development to work within that constraint. Delany On Fri, 25 Feb 2022 at 19:40, Alexander Kriegisch wrote: > Thanks for digging, Delany. However, I am failing to see how this is > meant to solve my problem. Could you elaborate, please? > -- &g

Re: Run all tests (also in dependent modules), fail build at end

2022-02-25 Thread Delany
Alexander, here it is: https://github.com/raydac/mvn-finisher Delany On Mon, 7 Feb 2022 at 08:17, Delany wrote: > Someone already wrote an "at end maven plugin". I used it for a while but > removed it. Can't for the life of me find it in > github/google/confluence/git l

Re: martifact won't inherit project.build.outputTimestamp

2022-02-10 Thread Delany
t/maven/target/maven-3.8.4-SNAPSHOT.buildcompare Is there really an "apache-maven-3.8.4-SNAPSHOT.buildinfo" available at Central? Regards, Delany On Thu, 10 Feb 2022 at 04:46, Hervé BOUTEMY wrote: > Le mercredi 9 février 2022, 09:31:00 CET Delany a écrit : > > Hi

Re: martifact won't inherit project.build.outputTimestamp

2022-02-09 Thread Delany
in-depth explanation could be included in that documentation. BTW the build commands you gave suggest that artifact:compare will use the local Maven repository as its reference repo. Isn't this a more sensible default? Thanks, Delany On Wed, 9 Feb 2022 at 09:25, Hervé BOUTEMY wrote: > Hi Del

martifact won't inherit project.build.outputTimestamp

2022-02-08 Thread Delany
${maven.build.timestamp} Thanks, Delany

Re: Run all tests (also in dependent modules), fail build at end

2022-02-06 Thread Delany
Someone already wrote an "at end maven plugin". I used it for a while but removed it. Can't for the life of me find it in github/google/confluence/git log. Sorry! Delany On Mon, 7 Feb 2022 at 04:38, Alexander Kriegisch wrote: > >> In case you are ready to make you own plugi

Re: aggregator project types

2022-01-31 Thread Delany
t's not, don't you agree that it should be? Regards, Delany On Tue, 1 Feb 2022 at 08:19, Mantas Gridinas wrote: > Seems reasonable to be honest. I would make a guess that aggregators with > their own sources would need to decide what to do with their children: > should they be treated a

Re: aggregator project types

2022-01-31 Thread Delany
Yes but why? Why should I have to make separate projects just for the purpose of aggregating other projects? This isn't the case in g*. Delany On Tue, 1 Feb 2022 at 00:47, Nils Breunese wrote: > You can create a multi-module project, with one of the modules using its > sibling m

aggregator project types

2022-01-31 Thread Delany
Can someone remind me why a type JAR project can't have modules? Is it unreasonable to expect a JAR project to produce its own JAR artifact, and then act as an aggregator of other projects? Thanks, Delany

Re: Maven Book recommendation

2022-01-27 Thread Delany
Hi Bruno. The online Maven documentation is excellent - took me a while to get comfortable navigating it though. What I'd like from Maven for myself and people learning is to maintain a curated list of open source projects that use Maven. I've learnt a lot from other github projects. Delany

Re: [ANN] Versions Maven Plugin 2.9.0 Released

2022-01-21 Thread Delany
org.apache.maven.plugins:maven-release-plugin:2.5.3 org.apache.maven.plugins:maven-javadoc-plugin:null at which point it hangs using all of a CPU core and no network. What's up here? Thanks, Delany On Fri, 21 Jan 2022 at 12:05, Stefan Seifert wrote: > Hi, > > The Mojo team is pleased to announce th

Re: Build fails due to dependency not found (removed) even if a most recent one is available...

2022-01-12 Thread Delany
the JAR to it with a simplified pom (one with reduced or no dependencies) Regards, Delany On Wed, 12 Jan 2022 at 16:18, Roberto Simoni wrote: > Thanks Delany, but just for my knowledge, why maven is not able to > determine that because you are using the newer library, you can avoid >

Re: Ambari 2.7.6 build questions

2022-01-12 Thread Delany
ugin:3.2.1:jar -N` Educated guess is that m2e-lastUpdated is generated by the Eclipse m2e plugin. As you will see in the _remote.repositories files, these are generated by the Maven resolver. Both can be deleted safely. Delany On Wed, 12 Jan 2022 at 13:02, Marc Hoppins wrote: > Thanks. Yo

Re: Ambari 2.7.6 build questions

2022-01-12 Thread Delany
Hi Marc, The "2.1.4" line should be left out. Clearly the authors are not following standard practice for managing dependencies, so do not assume that they know what they're doing. Change the version in the dependencyManagement section if you need it to be v2.1.4. Delany On Wed, 1

Re: Build fails due to dependency not found (removed) even if a most recent one is available...

2022-01-11 Thread Delany
Hi Robert. Further down that page you can read about exclusions. So you can make X depend on L but with an exclusion: Z 2.0.0 L Z Delany On Tue, 11 Jan 2022 at 19:40, Roberto Simoni wrote: > Hi everyone, I have a question for you. > In my company,

Re: Ambari build

2022-01-07 Thread Delany
configuration page. Delany On Fri, 7 Jan 2022 at 14:16, Marc Hoppins wrote: > Hi all, > > This is a stock ambari 2.7.6 build attempt on Ubuntu 18.04. I am not a > java entity but I am interested in understanding how these tools operate > with a view to getting away from Cloudera. W

jxr fast aggregate

2021-12-09 Thread Delany
ersion 2.3? Thanks, Delany

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-11-28 Thread Delany
-transport-4.1.65.Final.jar https://repo1.maven.org/maven2/org/redisson/redisson/3.15.6/redisson-3.15.6.jar https://repo1.maven.org/maven2/org/yaml/snakeyaml/1.27/snakeyaml-1.27.jar Delany On Fri, 8 Oct 2021 at 10:05, Delany wrote: > Thanks Tamás. > Since I use the wrapper, I was thinking t

Re: resume from

2021-11-25 Thread Delany
feedback if you are using it. > Martin > > [1] https://github.com/mthmulders/homebrew-maven-snapshot > [2] https://community.chocolatey.org/packages/maven-snapshot > > Op do 25 nov. 2021 om 13:42 schreef Delany : > > > Thanks Mantas, I think I figured it out. There's nothing

Re: resume from

2021-11-25 Thread Delany
Delany On Thu, 25 Nov 2021 at 11:36, Mantas Gridinas wrote: > If you're working with maven 3 you can check the miniguide "Guide to > Woeking with multiple modules". Reactor should sort out your modules in > such way that dependency modules are built earlier in the reactor but

resume from

2021-11-25 Thread Delany
Hi. How does --resume-from actually work? Is there any information cached between builds somewhere? I made some sweeping changes to a 500+ modules reactor. As I fix the build errors in each project, I use -rf to continue without restarting each time. I finally get to the end of the build thinking

WSDL @XmlRootElement annotation from jaxws-maven-plugin

2021-10-22 Thread Delany
-jaxb2-plugin must be run. Googling WSDL root xml element doesn't reveal much. Does this sound familiar? Thanks, Delany https://github.com/mojohaus/jaxws-maven-plugin/issues https://www.mojohaus.org/jaxws-maven-plugin/index.html

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-08 Thread Delany
Thanks Tamás. Since I use the wrapper, I was thinking there's a case for Maven wrapper variants. But I guess this is what containers are all about anyway. Delany On Thu, 7 Oct 2021 at 11:32, Tamás Cservenák wrote: > Hi Delany, > > from Sisu website: "Sisu is a modular JSR330-b

Re: Local repository accessed by multiple Maven instances - how is it solved ?

2021-10-07 Thread Delany
e? Thanks, Delany On Wed, 6 Oct 2021 at 22:18, Michael Osipov wrote: > Am 2021-10-06 um 21:05 schrieb Francois Marot: > > Michael, I do not agree. As a user and maintainer of the build chain in > my > > company, I think Maven would really benefit from an out of the box &g

Re: Global pre-installation of Maven extensions w/out ~/.m2/lib/ext

2021-09-30 Thread Delany
It's here https://maven.apache.org/examples/maven-3-lifecycle-extensions.html Delany On Thu, 30 Sep 2021, 16:56 Austin Witt, wrote: > > /usr/share/maven/lib/ext > > That would be perfect! Is that documented somewhere? I never saw mention of > that before today! > > What is

Re: Global pre-installation of Maven extensions w/out ~/.m2/lib/ext

2021-09-30 Thread Delany
are honoured, but not if the same config has been configured in a pom. You can also add the extensions for the system to /usr/share/maven/lib/ext Thanks, Delany On Thu, 30 Sept 2021 at 07:45, Austin Witt wrote: > I wish to install a Maven extension - Takari's Concurrent Safe Local > Repo

Re: Best practice to update dependency versions for *many* projects to the current version

2021-09-02 Thread Delany
Mantas, why dont you use properties for versions? I found that some plugins don't pick up artifact versions from dependencyManagement, breaking the uniformity that depmng supposedly offers. Properties ensure a single source of truth. Delany On Thu, 2 Sept 2021 at 17:35, Mantas Gridinas wrote

Re: Best practice to update dependency versions for *many* projects to the current version

2021-09-02 Thread Delany
/versions-maven-plugin/ Delany On Thu, 2 Sept 2021 at 16:40, Bruno wrote: > I have been developing in Java almost from the beginning, but have not > used Maven for much more than a few personal test apps. I am now about > to migrate nearly 100 applications to Maven and I am a bit concerne

Re: Maven enforcer plugin regarding child module's groupId

2021-08-31 Thread Delany
Instead of policing deviations with a rule, why not make this possible at the outset? ${project.parent.groupId}.${project.parent.artifactId} Delany On Tue, 31 Aug 2021 at 16:29, David Hoffer wrote: > I'd love to see that added to the included rules in the enforcer plugin. > &

Re: Maven enforcer plugin regarding child module's groupId

2021-08-31 Thread Delany
Good question. There seems no way to do this dynamically in Maven 3.x Delany On Mon, 30 Aug 2021 at 20:45, David Hoffer wrote: > How to enforce that child modules append to the parent groupId per the > Maven > Guide to Naming Conventions > <http://maven.apache.org/guides/mi

maven-jdeps-plugin multirelease impossible

2021-08-27 Thread Delany
jdeps plugin is impossible? Thanks, Delany NB way to end a friday I know, but at least it is written

Re: maven-surefire-plugin jdkToolchain meets forkCount

2021-08-27 Thread Delany
Yes it looks that way. I changed the system jdk to 16 and now I can pick a jdk with the toolchains plugin and without any surefire config. Its basically https://issues.apache.org/jira/browse/MTOOLCHAINS-28 all over again but with surefire-plugin Want a ticket? Delany On Thu, 26 Aug 2021 at 17:50

  1   2   >