Re: deploying java app

2023-10-31 Thread Arnaud bourree
For me best solution is assembly plugin : https://maven.apache.org/plugins/maven-assembly-plugin/ You can chose dir format if you don't want zip or equivalent Arnaud Le mar. 31 oct. 2023, 17:01, Delany a écrit : > Hi Peter, > > Firstly, compile and package are part of the same lifecycle (the

Re: Questions about -dtest command line

2023-02-22 Thread Arnaud bourree
Hi, Not a response to your question. IMO, that's bad practice to use inheritance for test code factorization. Regardes, Arnaud Le mar. 21 févr. 2023, 21:32, DJ Kim a écrit : > Hi, I hope you are doing well. > > I had an issue with the command line -dTest=class#method, where it is an >

Re: How to add a library to the classpath

2023-01-05 Thread Arnaud bourree
Hi, Maven without pom.xml? Why don't you write shell script in this case? Arnaud Le ven. 6 janv. 2023, 04:30, Siddharth Jain a écrit : > 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 users to have to write a >

Re: Maven 4.0.0-aplha3 [MNG-7612] - Chained Local Repository

2022-12-16 Thread Arnaud bourree
LRM(LM2, SHARED) > etc > > For "branched development" see > https://maven.apache.org/resolver/local-repository.html#use-cases as that > would suit better for your use case.... > > HTH > T > > On Fri, Dec 16, 2022 at 6:13 PM Arnaud bourree > wrote: > > > Hel

Maven 4.0.0-aplha3 [MNG-7612] - Chained Local Repository

2022-12-16 Thread Arnaud bourree
Hello, I'm interested by [MNG-7612 ] - Chained Local Repository. In Jira, feature is described to be for IT testings, I suppose Maven plugin IT. Does it trully limited? Or can we image using it in others usecases? I've in mind share local repository

Re: Maven build hanging -- how to collect diagnostics?

2022-12-02 Thread Arnaud bourree
Thanks > john > > > [image: rg] <https://www.redpointglobal.com/> > > John Lilley > > Data Management Chief Architect, Redpoint Global Inc. > > 888 Worcester Street, Suite 200 Wellesley, MA 02482 > > *M: *+1 7209385761 <+1%207209385761> | john.lil...@r

Re: Maven build hanging -- how to collect diagnostics?

2022-12-01 Thread Arnaud bourree
Multi-tread maven run with -T2 is not the same as concurent maven build with 2 maven commands running simultaneously. Le ven. 2 déc. 2022, 04:41, Greg Chabala a écrit : > There's also https://issues.apache.org/jira/browse/MNG-2802 regarding > concurrent access to the local repository. It looks

Re: Mvn install fails

2022-11-14 Thread Arnaud bourree
Hi, Did you read Maven documentations, books about it? It looks you don't understand the philosophy. Why don't you follow suggestion from Greg Chabala to depend on jabx-api or jakarta xml-bind-api artifact? Keep It Simple Arnaud Le lun. 14 nov. 2022, 18:07, Raivo Rebane a écrit : > Hi > It

Re: Maven Deploy fails

2022-11-13 Thread Arnaud bourree
Hi, On Linux, the command: sudo update-alternative --list java List all installed jre/jdk and show the selected version. sudo upgrade-alternative --config To select an other version Arnaud Le dim. 13 nov. 2022, 15:20, Raivo Rebane a écrit : > Hi > > I tried as described in link You send me,

Re: Maven Deploy fails

2022-11-10 Thread Arnaud bourree
Hi You install in local repository, you dont deploy to nexus/artefactory repository. There is no url parameter. Arnaud Le jeu. 10 nov. 2022, 15:58, Raivo Rebane a écrit : > Hello > > My Maven deploy fails : > > mvn install:install-file -Durl=file://repo >

Re: How to share the same modules between different profiles

2022-09-30 Thread Arnaud bourree
odules are inherited from > spring-boot-starter so it is not possible to add the profiles there. > > Thai Le > > On Fri, 30 Sept 2022 at 02:26, Arnaud bourree > wrote: > > > Hi, > > > > Your pom agregator doesn't need to be aware about testing profiles, its > job >

Re: How to share the same modules between different profiles

2022-09-30 Thread Arnaud bourree
Hi, Your pom agregator doesn't need to be aware about testing profiles, its job is only agregating. The 70 poms should have a parent pom (bom) within your testing profile. Regardes, Arnaud Le jeu. 29 sept. 2022, 00:06, Delany a écrit : > Shouldn't matter. Please give full pom. > Delany > >

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

2022-09-24 Thread Arnaud bourree
Hi, Does yesterday dependency build on an other pc? Then it should be "deploy" to your company central repository (Artifactory, Nexus, ...) to be fetched from your pc. Using version range and snapshot is not good idea. It's better to use snapshot only. If you want incremental version from you

Re: Regarding error 980467

2022-08-15 Thread Arnaud bourree
Hi, Agreed with Greg, that's Linux Mint maintener issue. The apt-get explains version 3.6.3-1 is the last available. I don't know if Mint is based on Debian, but Debian' Buster last version is 3.6.3-1 and newer Debian versions provide 3.6.3-5. May be maintener needs help to wake-up Regardes,

Re: Maven plugin to replace text in file

2020-11-09 Thread Arnaud bourree
You want to reformat json file ... why not using jq in exec-maven-plugin ? Arnaud Le dim. 8 nov. 2020 à 19:14, David Hoffer a écrit : > Yeah I was trying to use com.google.code.maven-replacer-plugin but I don't > think that can replace with the variable content found in what is to be >

Re: Issue with assembly file-aggregator container descriptor hangler

2020-10-07 Thread Arnaud bourree
s.yaml Regards, Arnaud Le mer. 7 oct. 2020 à 12:00, Arnaud bourree a écrit : > Hello, > > I want to aggregate yaml files from my dependencies. > I did for the pom.xml: > > ... > > > com.acme > dep-a > 1.0 > info >

Issue with assembly file-aggregator container descriptor hangler

2020-10-07 Thread Arnaud bourree
Hello, I want to aggregate yaml files from my dependencies. I did for the pom.xml: ... com.acme dep-a 1.0 info yaml com.acme dep-b 1.0 info yaml ... ... org.apache.maven.plugins maven-dependency-plugin 3.1.2

Re: How maven select mirror where to download parent pom

2019-02-25 Thread Arnaud bourree
false never Properties resolution don't append yet when solved parent pom and then only my 'mirror' has understandable URI. I solved it by replacing variable by value. My issue is SOLVED Regards, Arnaud Le ven. 22 févr. 2019 à 18:17, Arnaud bourree

How maven select mirror where to download parent pom

2019-02-22 Thread Arnaud bourree
Hello, In my settings.xml, I've 3 mirrors: mirror *, !pending, !snapshots https://acme.com/content/groups/Public pending https://acme.com/content/repositories/Pending pending snapshots

Re: Influence property substitution

2018-08-16 Thread Arnaud bourree
Could ${ project.baseUri} help you? Source: http://maven.apache.org/ref/3.2.3/maven-model-builder/ Arnaud. Le mar. 14 août 2018 à 11:19, Christian Domsch a écrit : > Hi, > > we are facing an awkward problem with property substitution. The following > part is in our cargo-maven2-plugin

Re: Auto-increment semantic version number for CD pipeline with git and docker

2017-11-15 Thread Arnaud bourree
Hi, I like your blog post, but I need some clarification. On line 19, your pipeline snippet calls maven without goals ! 1/ Does it means: release:prepare goal? 2/ In your idea, do we add our project maven build lines before line 22? I order to take decision after some automatic tests validation.

Re: Setting java.library.path in surefire/maven/netbeans

2014-07-22 Thread Arnaud bourree
I used argLine-Djava.library.path=.../argLine without issue with Netbeans 8 and Surefire 2.17 Arnaud 2014-07-21 22:03 GMT+02:00 Alexander a...@j2anywhere.com: I would like to test my JAI enabled application, but seem to be getting errors when accessing the JAI components. I suspect this is

templating:filter-sources and chmod

2013-06-18 Thread Arnaud bourree
Hello, I'm looking at templating:filter-sources which look like resources:copy-resources. I'd like to chmod +x copied scripts to run shunit2 against them. Does anyone know to do it without ant-run? Regards, Arnaud.

Re: templating:filter-sources and chmod

2013-06-18 Thread Arnaud bourree
? Btw, as filtering generally just copies things from one place to another, I suppose you should just set the corresponding chmod+x on your original scripts? Cheers 2013/6/18 Arnaud bourree arnaud.bour...@gmail.com Hello, I'm looking at templating:filter-sources which look like

Re: templating:filter-sources and chmod

2013-06-18 Thread Arnaud bourree
Yes, that's explain why that looks resources:copy-resources with less functionality 2013/6/18 Stephen Connolly stephen.alan.conno...@gmail.com Don't use it for that use case. That goal's use case is templating java code On 18 June 2013 16:05, Arnaud bourree arnaud.bour...@gmail.com wrote

Re: merging xml files with xml plugin

2012-12-15 Thread Arnaud bourree
Hello, IMO, input xml document should list xml documents you want to merge and thanks to document() function you can include them in your output. Regards, Arnaud. 2012/12/14 Radim Kolar h...@filez.com: How to merge xml files with codehaus xml plugin? it runs xslt transform: one input file -

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
23, 2012 at 5:50 PM, Arnaud bourree arnaud.bour...@gmail.com wrote: Hello, How could we specify enforcer:enforce rules from command line? I want to run command line like following without updating any pom.xml: mvn enforcer:enforce -Drules=com.acme.UseAcmeParentPom The goal

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
that magic id though in a real world use case. /Anders On Thu, Oct 25, 2012 at 10:01 AM, Arnaud bourree arnaud.bour...@gmail.com wrote: On my side, I put configuration in plugins section and not in pluginManagment one. build plugins plugin

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
Anders Hammar and...@hammar.net: I can't say for sure as you don't provide a link to your pom, but I'm fairly sure you've configured it wrong. It should work. /Anders On Thu, Oct 25, 2012 at 2:13 PM, Arnaud bourree arnaud.bour...@gmail.com wrote: I try without sucess: [INFO] Scanning

Re: Specify enforcer:enforce rules from command line

2012-10-25 Thread Arnaud bourree
didn't you use the xml snippet I sent you? It is correct while the one you've created is wrong. /Anders On Thu, Oct 25, 2012 at 4:56 PM, Arnaud bourree arnaud.bour...@gmail.com wrote: project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance

Re: Specify enforcer:enforce rules from command line

2012-10-24 Thread Arnaud bourree
to the build lifecycle so it should be configured in the pom. But I guess an enhancement ticket with a patch could change that? :-) /Anders On Tue, Oct 23, 2012 at 5:50 PM, Arnaud bourree arnaud.bour...@gmail.com wrote: Hello, How could we specify enforcer:enforce rules from command line? I want

Specify enforcer:enforce rules from command line

2012-10-23 Thread Arnaud bourree
Hello, How could we specify enforcer:enforce rules from command line? I want to run command line like following without updating any pom.xml: mvn enforcer:enforce -Drules=com.acme.UseAcmeParentPom The goal of this enforcer:enforce rule is to check that Acme's developers write pom.xml which

Re: avoiding parent pom version number duplication

2010-10-26 Thread Arnaud bourree
2010/10/26 Babak Farhang farh...@gmail.com: Hi everyone, I have a nested, multi-module project in which every module's pom inherits from a root pom. I'd like to find a way to avoid duplicating the parent pom version number in every submodule. The aim is to keep the version number for these

Re: Could we configure mapper in maven-resources-plugin?

2010-04-26 Thread Arnaud bourree
2010/4/23 Arnaud bourree: Hello Could we configure mapper in maven-resources-plugin? I try without success the following: plugin   artifactIdmaven-resources-plugin/artifactId   version2.4.2/version   executions      execution         idcopy-with-mapper/id         phasepre-integration

Could we configure mapper in maven-resources-plugin?

2010-04-23 Thread Arnaud bourree
Hello Could we configure mapper in maven-resources-plugin? I try without success the following: plugin artifactIdmaven-resources-plugin/artifactId version2.4.2/version executions execution idcopy-with-mapper/id phasepre-integration-test/phase