xml-maven-plugin includes element

2018-03-26 Thread Delany
/drones.xsd xsd/globals.xsd xsd/(drones.xsd|globals.xsd) xsd/(*.xsd) Only this works: xsd/*.xsd So if I want a file from two different directories I have to unpack the whole parent directory. Please include a singular element. Thanks, Delany

shared components

2021-01-05 Thread Delany
version. Should I/can I do the same with shared components? Thanks, Delany

Re: Maven 3.6.3 configuration enquiry

2021-01-07 Thread Delany
Have you tried the Maven wrapper? https://www.baeldung.com/maven-wrapper Delany On Thu, 7 Jan 2021 at 20:26, Nitish Mittal wrote: > Hi team, > > We are already using maven 3.3.9 and for some projects we want to configure > 3.6.3 in the same set of build agents. Can you pleas

exclusive execution scheduling

2021-02-04 Thread Delany
ns? Would it be feasible to consider adding a further thread-safe check in the plugin architecture whereby a configuration could be set to enforce that no two executions with the same id will ever run simultaneously? Thanks, Delany

Re: exclusive execution scheduling

2021-02-05 Thread Delany
ould simply and easily prevent this situation, i.e. maintain a list of active executions in the session, and delay the start of an execution if it was configured to run exclusively. Does anyone else think it's worth a ticket? Thanks, Delany On Fri, 5 Feb 2021 at 12:56, Tommy Svensson wrot

Re: Resolve root directory in a multi-project build

2021-02-05 Thread Delany
Maybe for you Falko, but not my Jenkins server with Maven 3.6.3, or these other users https://issues.apache.org/jira/plugins/servlet/mobile#issue/MNG-5830 Delany On Fri, 5 Feb 2021, 22:25 Falko Modler, wrote: > I've been using maven.multiModuleProjectDirectory in various projects >

Re: Resolve root directory in a multi-project build

2021-02-06 Thread Delany
This only works if the parent is the root. If you extend to a third level of pom, it will report the rootlocation as the project directory. Delany On Sat, 6 Feb 2021 at 04:22, Alexander Kriegisch wrote: > I had some discussion with Karl Heinz Marbaise about > maven.multiModuleProjectDirec

Re: Resolve root directory in a multi-project build

2021-02-06 Thread Delany
It seems the goal assumes that child modules sit in nested directories. Unzip and run mvn validate in the root directory, and you'll see the root location for project sarek is incorrect. Delany On Sat, 6 Feb 2021 at 14:28, Alexander Kriegisch wrote: > Maybe I misunderstand you, but for

Re: Resolve root directory in a multi-project build

2021-02-06 Thread Delany
, the directory-of goal of directory-maven-plugin seems even more idiot-proof than highest-basedir, so im using that. Delany On Sun, 7 Feb 2021 at 03:29, Alexander Kriegisch wrote: > > It seems the goal assumes that child modules sit in nested > > directories. > > Well, that might be

Re: Plugin goals executed twice over in mvn site

2021-02-14 Thread Delany
Its an open issue https://issues.apache.org/jira/projects/MSITE/issues/MSITE-650?filter=allopenissues On Mon, 15 Feb 2021 at 05:27, LINUS FERNANDES wrote: > The following is my pom file located at: > > https://raw.githubusercontent.com/Fernal73/DSAlgos/master/pom.xml > > > Can you tell me what'

Re: Maven 4

2021-02-16 Thread Delany
Hi Maarten, Could Maven 4 be made available via the wrapper? Isn't this the preferred method of switching versions? Thanks, Delany On Tue, 16 Feb 2021 at 09:37, Maarten Mulders wrote: > Hi Alexander, > > Regardless of how you do it, please know that all options will give you &

extensions vs plugins

2021-02-18 Thread Delany
Hi, Can someone explain the tag found in plugins? https://maven.apache.org/guides/mini/guide-using-extensions.html It seems like instead of being a plugin that provides lifecycle enhancements using this tag, a lot of plugins should rather be extensions, that can optionally accept configuration o

Re: Resolve root directory in a multi-project build

2021-02-18 Thread Delany
jects all in the same > > directory is because Eclipse has issues with nested project > > structures. > > I see how that can be a pain in the ***. I was unaware of this problem, > being an IntelliJ IDEA user. > > -- > Alexander Kriegisch > https://scrum-master.de >

properties in maven-remote-resources-plugin

2021-02-23 Thread Delany
I don't want to hardcode the version number of the remote project into this plugin config, so I've used a property made available in a parent pom. But it's not being resolved. What am I doing wrong? maven-remote-resources-plugin process-remote-resourc

Re: properties in maven-remote-resources-plugin

2021-02-23 Thread Delany
It looks like the process goal has been abandoned and everyone is just using maven-dependency-plugin's unpack-dependencies goal. On Tue, 23 Feb 2021 at 13:34, Delany wrote: > I don't want to hardcode the version number of the remote

Re: properties in maven-remote-resources-plugin

2021-02-23 Thread Delany
ndb a dependency, I can use the *projects* property to access the version number. How do I do that? Thanks, Delany On Tue, 23 Feb 2021 at 22:46, Anthony Whitford wrote: > The tag is documented here: > https://maven.apache.org/guides/introduction/introduction-to-the-pom.html#properties

Re: properties in maven-remote-resources-plugin

2021-02-26 Thread Delany
o a good reference: > https://books.sonatype.com/mvnref-book/reference/resource-filtering-sect-properties.html > < > https://books.sonatype.com/mvnref-book/reference/resource-filtering-sect-properties.html > > > > Hope this helps, > > Anthony > > > > On F

Re: properties in maven-remote-resources-plugin

2021-03-09 Thread Delany
> this will permit > "dbs:commondb:${dep.dbs.commondb}" to get > the value replaced > > Notice that images are removed, then we don't understand what you're > trying to show > > Regards, > > Hervé > > Le samedi 27 février 2021, 08:03:33 CET De

Re: properties in maven-remote-resources-plugin

2021-04-09 Thread Delany
lways want these remote resources included whether I build individually or in a reactor. How can I get that? Thanks, On Tue, 9 Mar 2021 at 10:43, Delany wrote: > Ok, no images thank you. > So I was barking up the wrong tree using the properties tag in the plugin. > I still don'

Re: properties in maven-remote-resources-plugin

2021-04-09 Thread Delany
Solved. The remote project was packaging type pom. Perhaps a mention of this could be added to the documentation? Thanks, Delany On Fri, 9 Apr 2021 at 14:14, Delany wrote: > Hi. I'm able to use the maven-remote-resources-plugin when the source > project is included in the react

directed acyclic graph of the build

2021-04-13 Thread Delany
Hi How can I get a DAG of the build? I want to see how projects are being scheduled in a multithreaded build. Thanks, Delany

Re: directed acyclic graph of the build

2021-04-13 Thread Delany
ugin/issues/103 Delany On Tue, 13 Apr 2021 at 17:36, Tibor Digana wrote: > DAG of the POM. > I am using IntelliJ IDEA for such things but you can also use > maven-dependency-plugin which prints the dependencies in the console. > > On Tue, Apr 13, 2021 at 1:26 PM Delany wrote: > >

Re: maven-dependency-plugin unpack goal: do not overwrite existing files

2021-04-19 Thread Delany
Hi Amedee. Can you post the output of your command again, replacing "install" with "fr.jcgay.maven.plugins:buildplan-maven-plugin:list-phase" Delany On Mon, 19 Apr 2021 at 09:42, Amedee Van Gasse wrote: > I do not ever want maven-dependency-plugin:3.1.2:unpack to overwr

Re: Getting version upgrade advise to upgrade a BOM..

2021-04-29 Thread Delany
Is it this https://github.com/mojohaus/versions-maven-plugin/issues/395 Regards, Delany On Thu, 29 Apr 2021, 22:22 Niels Basjes, wrote: > Hi, > > I see quite a few situations where the dependencies for toolkit are > provided in the form of a dependency you must "

Re: Plugin execution order in same phase + profiles

2021-05-08 Thread Delany
is then invoked every time, it becomes deterministic. But since the execution phase isn't set, it doesn't do anything. Then in the event the profile is activated, it doesn't change the fact of whether the plugin is invoked or not) Cheers, Delany On Sat, 8 May 2021 at 17:03, Alexa

dynamic dependency list

2021-05-11 Thread Delany
Hi, I can ask Maven to build a partial set of projects, for example mvn clean deploy -amd -pl :fortythree I have another :zipper project to zip the artefacts of this last command and deploy it separately. But the set of artefacts might change depending on the command. So my question is how can I

Re: dynamic dependency list

2021-05-11 Thread Delany
How would the assembly plugin, or any plugin, configured in a project, know what selection of projects I have chosen to build in the reactor? Delany On Tue, 11 May 2021 at 14:09, Mantas Gridinas wrote: > Err Assembly plugin, not deploy. Disregard last message. > > On Tue, May 11, 2021

Re: maven-deploy-plugin:deploy-file Why a project is needed?

2021-06-02 Thread Delany
with some attention. Delany On Wed, 2 Jun 2021 at 08:19, Zos ROTHKO wrote: > Hello > > I want to deploy a file using the command below > > mvn org.apache.maven.plugins:maven-deploy-plugin:3.0.0-M1:deploy-file > -Durl=https://nexus.metrixware.com/repository/ > -Dreposito

Re: [ANN] Maven Resolver 1.7.1 released

2021-06-25 Thread Delany
Im just a user - I don't build maven or any plugins/extensions. How can I mandate the use of this dependency? Thanks, Delany On Thu, 17 Jun 2021 at 20:38, Michael Osipov wrote: > The Apache Maven team is pleased to announce the release of the Maven > Resolver version 1.7.1

surefire process checker

2021-07-14 Thread Delany
hi. Is this issue considered "resolved" or just "closed"? I can't tell by the discussion. https://issues.apache.org/jira/browse/SUREFIRE-1631 I'd like to enable it without having issues in Windows. Thanks, Delany

Re: Questions on what xml tags to use for pom.xml file for downloading isos

2021-07-26 Thread Delany
Did you try with this first? https://github.com/maven-download-plugin/maven-download-plugin Delany On Mon, 26 Jul 2021 at 21:27, christopher.mil...@gd-ms.com < christopher.mil...@gd-ms.com> wrote: > > > Hi, first post here. I'm new to Maven and its been quite some time s

analyse dependency collection times

2021-07-27 Thread Delany
Is there a guide or tool to make sense of the "Dependency collection stats" that `mvn -X` produces? Thanks, Delany

Re: [ANN] Apache Maven Enforcer Plugin + Extension 3.0.0 Released

2021-07-31 Thread Delany
See https://github.com/mojohaus/extra-enforcer-rules/issues/131#issuecomment-890329715 On Sun, 1 Aug 2021, 05:34 Alexander Kriegisch, wrote: > It looks like class EnforceBytecodeVersion is part of > org.codehaus.mojo:extra-enforcer-rules:1.3 which is a dependency in my > Enforcer plugin configur

3.8.2 transitive dependency insecure repo

2021-08-14 Thread Delany
ots ( http://oss.sonatype.org/content/repositories/jboss-snapshots, default, snapshots)] -> [Help 1] Shouldn't the maven-core dependency tree at least not contradict itself? Thanks, Delany http://maven.apache.org/POM/4.0.0"; xmlns:xsi=" http://www.w3.org/2001/XMLSchema-instance

Re: 3.8.2 transitive dependency insecure repo

2021-08-14 Thread Delany
=true` it resolves the parent from central Downloading from central: https://repo.maven.apache.org/maven2/org/jboss/weld/weld-parent/6/weld-parent-6.pom Thanks, Delany On Sat, 14 Aug 2021 at 10:30, Michael Osipov wrote: > Am 2021-08-14 um 09:25 schrieb Delany: > > The new o

Re: 3.8.2 transitive dependency insecure repo

2021-08-14 Thread Delany
://oss.sonatype.org/content/repositories/jboss-snapshots, default, snapshots)] -> [Help 1] For my purposes I don't need the flatten plugin resolving parents/transitive dependencies so I changed from all to direct. But maybe someone else would? Delany On Sat, 14 Aug 2021 at 16:41, Michae

Re: 3.8.2 transitive dependency insecure repo

2021-08-14 Thread Delany
Ok, sorry I didn't mention before you released, I wasn't sure of my setup. https://issues.apache.org/jira/browse/MNG-7214 Delany On Sat, 14 Aug 2021 at 20:56, Michael Osipov wrote: > Thank you very, very much for this edge case. > > Gosh, I hate all of this JBoss conglome

maven-surefire-plugin jdkToolchain meets forkCount

2021-08-26 Thread Delany
going on here, but i'm not in a position to go that extra mile and "Run Maven with -Dmaven.surefire.debug, and attach to the running process with a debugger." In a nutshell my question is "how can I build with a JDK 9 or above using a toolchain and without being limited to a single test fork?" Thanks, Delany

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

maven-jdeps-plugin multirelease impossible

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

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

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: 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: 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

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

2021-09-29 Thread Delany
n 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

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! > > Wh

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 >

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 JSR

WSDL @XmlRootElement annotation from jaxws-maven-plugin

2021-10-22 Thread Delany
why maven-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

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 I

Re: resume from

2021-11-25 Thread Delany
tiple-modules-4.html 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 e

Re: resume from

2021-11-25 Thread Delany
ease share your 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.

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

2021-11-28 Thread Delany
inal/netty-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

jxr fast aggregate

2021-12-09 Thread Delany
stay on version 2.3? Thanks, Delany

Re: Ambari build

2022-01-07 Thread Delany
27;s Maven 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 Cloude

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

Re: Ambari 2.7.6 build questions

2022-01-12 Thread Delany
en-plugin: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

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

2022-01-12 Thread Delany
aven repository and upload 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 li

Re: [ANN] Versions Maven Plugin 2.9.0 Released

2022-01-21 Thread Delany
n map 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

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. D

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: 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

Re: aggregator project types

2022-01-31 Thread Delany
d. And if it'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: >

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

martifact won't inherit project.build.outputTimestamp

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

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

2022-02-09 Thread Delany
then a more 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

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

2022-02-10 Thread Delany
uildcompare copied to /git/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 écri

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/

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

2022-02-25 Thread Delany
ens before 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, ple

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

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: 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

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

2022-04-02 Thread Delany
at and its 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

forking plugins

2022-04-11 Thread Delany
he plugins Im trying to run, with the mapstruct project itself, or with Maven? 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: >

long running threads from shade-plugin recently updated dep jdom2

2022-04-20 Thread Delany
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: How to retrieve target folder or jar paths from multi-module Maven project

2022-06-09 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

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

2022-06-10 Thread Delany
turn output 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 -DforceS

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: 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

require dependency declaration

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

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

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: 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: 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: 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 T

Re: Side effects of import scope?

2022-08-22 Thread Delany
gement 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: 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&#

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 somewhere

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 chec

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

2022-09-23 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: clean=3.1

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: 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 wr

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: jar aggregator projects

2022-11-07 Thread Delany
ost plugin 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 agg

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 at

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:~/team

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 documentation

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 a

  1   2   >