Re: use 'mvn insall:install-file' to install jar file with pom.xml file,is there a way to produce pom.xml without '-DpomFile=path-to-pom'

2024-02-04 Thread Francois Marot
The pom.xml will be automatically produced even without the '-DpomFile' argument. But it will be very minimalist. PAssing your own pom allows to be explicit regarding the dependencies, the licences etc... Regards Le dim. 4 févr. 2024 à 11:52, sandisks...@gmail.com a écrit :

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 configurat

Cleaning the dependency-reduced-pom.xml ?

2023-02-02 Thread Niels Basjes
Hi, When using the maven-shade-plugin there are configurations that also generate a dependency-reduced-pom.xml file. When doing a mvn clean this file is not removed. I'm wondering what the correct approach is in this to make this file vanish on mvn clean. I've already put it in my

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 PJ Fanning
> The aim is not to include Jackson and other classes from transitive > dependencies of Avro but that the pom file for the new jar would include > the transitive dependencies from Avro. > > My PR is at https://github.com/apache/hadoop-thirdparty/pull/21 > > Neither the pom.xml nor t

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
or the new jar would include > the transitive dependencies from Avro. > > My PR is at https://github.com/apache/hadoop-thirdparty/pull/21 > > Neither the pom.xml nor the dependency-reduced-pom.xml have the transitive > dependencies listed. > > Would anyone be able to suggest how the de

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 PJ Fanning
The aim is not to include Jackson and other classes from transitive dependencies of Avro but that the pom file for the new jar would include the transitive dependencies from Avro. My PR is at https://github.com/apache/hadoop-thirdparty/pull/21 Neither the pom.xml nor the dependency-reduced-pom.xm

Re: How to produce a pom.xml that is guaranteed to fail, with specific error messages

2022-03-30 Thread David Karr
hetype" we use for > > new services. It doesn't use the Maven archetype process. There are > > particular areas in the pom.xml that is generated that really need to be > > modified by the developer to reflect their actual application. > > > > We could certainly

Re: How to produce a pom.xml that is guaranteed to fail, with specific error messages

2022-03-30 Thread David Karr
e.org/guides/mini/guide-creating-archetypes.html it > will probably do what you want. > Actually, I was mistaken. The service generation process does use a Maven archetype. > From: David Karr > Date: Wednesday, March 30, 2022 at 10:47 AM > To: Maven Users List > Subject: Ho

Re: How to produce a pom.xml that is guaranteed to fail, with specific error messages

2022-03-30 Thread Jörg Schaible
type process. There are > particular areas in the pom.xml that is generated that really need to be > modified by the developer to reflect their actual application. > > We could certainly put comments in the template that tell the developer > what sort of changes need to be made, but I wo

Re: How to produce a pom.xml that is guaranteed to fail, with specific error messages

2022-03-30 Thread Shipp, Scott
what you want. From: David Karr Date: Wednesday, March 30, 2022 at 10:47 AM To: Maven Users List Subject: How to produce a pom.xml that is guaranteed to fail, with specific error messages External Email I work in a large company on a large project with hundreds of services, most of which are Java

Re: How to produce a pom.xml that is guaranteed to fail, with specific error messages

2022-03-30 Thread Bernd Eckenfels
process. Gruss Bernd -- http://bernd.eckenfels.net Von: David Karr Gesendet: Wednesday, March 30, 2022 7:46:35 PM An: Maven Users List Betreff: How to produce a pom.xml that is guaranteed to fail, with specific error messages I work in a large company on a

How to produce a pom.xml that is guaranteed to fail, with specific error messages

2022-03-30 Thread David Karr
I work in a large company on a large project with hundreds of services, most of which are Java Maven projects. We have an "archetype" we use for new services. It doesn't use the Maven archetype process. There are particular areas in the pom.xml that is generated that really need

RE: Unable to resolve artifact error when trying to transfer ISO using pom.xml

2021-08-04 Thread christopher.mil...@gd-ms.com
- From: Greg Chabala Sent: Tuesday, August 3, 2021 3:57 PM To: Maven Users List Subject: Re: Unable to resolve artifact error when trying to transfer ISO using pom.xml External E-mail --- CAUTION: This email originated from outside GDMS. Do not click links or open attachments unless you

RE: Unable to resolve artifact error when trying to transfer ISO using pom.xml

2021-08-04 Thread christopher.mil...@gd-ms.com
r not. Thanks -Original Message- From: Greg Chabala Sent: Tuesday, August 3, 2021 3:10 PM To: Maven Users List Subject: Re: Unable to resolve artifact error when trying to transfer ISO using pom.xml External E-mail --- CAUTION: This email originated from outside GDMS. Do not click

Re: Unable to resolve artifact error when trying to transfer ISO using pom.xml

2021-08-03 Thread Greg Chabala
top level repositories tag, not > in distributionManagement. > > On Tue, Aug 3, 2021 at 2:00 PM christopher.mil...@gd-ms.com < > christopher.mil...@gd-ms.com> wrote: > >> >> Sorry, I forgot to include the Nexus repo in the pom.xml >> >> >

Re: Unable to resolve artifact error when trying to transfer ISO using pom.xml

2021-08-03 Thread Greg Chabala
exus repo in the pom.xml > > > > false > ID_GOES_HERE > ID_GOES_HERE > Nexus_repo_url_copied_here> > default > > > > > I'm copying the URL directly from the Nexus repo directly into the > tags. > > thanks > > &g

RE: Unable to resolve artifact error when trying to transfer ISO using pom.xml

2021-08-03 Thread christopher.mil...@gd-ms.com
Sorry, I forgot to include the Nexus repo in the pom.xml false ID_GOES_HERE ID_GOES_HERE Nexus_repo_url_copied_here> default I'm copying the URL directly from the Nexus repo directly into the tags. thanks -Original Message- From: Greg

Re: Unable to resolve artifact error when trying to transfer ISO using pom.xml

2021-08-03 Thread Greg Chabala
Your ISO will not be in Central. If it is, you can tell us the coordinates. You need your Nexus repository configured in the pom.xml so that Maven can find the artifacts. On Tue, Aug 3, 2021 at 1:25 PM christopher.mil...@gd-ms.com < christopher.mil...@gd-ms.com> wrote: > > I was a

Unable to resolve artifact error when trying to transfer ISO using pom.xml

2021-08-03 Thread christopher.mil...@gd-ms.com
I was able to get a working pom.xml in our development environment, however when I transferred this pom to an production, air-gapped environment, it continues to output the following error: unable to resolve artifact I am not a software developer, I'm a system engineer and a lot o

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

2021-07-28 Thread Greg Chabala
eg Chabala > Sent: Tuesday, July 27, 2021 4:10 PM > To: Maven Users List > Subject: Re: Questions on what xml tags to use for pom.xml file for > downloading isos > > > External E-mail --- CAUTION: This email originated from outside GDMS. Do > not click links or open attach

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

2021-07-28 Thread christopher.mil...@gd-ms.com
eg Chabala Sent: Tuesday, July 27, 2021 4:10 PM To: Maven Users List Subject: Re: Questions on what xml tags to use for pom.xml file for downloading isos External E-mail --- CAUTION: This email originated from outside GDMS. Do not click links or open attachments unless you recognize the

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

2021-07-27 Thread Greg Chabala
cies and I'm still not understanding, Vs what I have > currently mark up tags that pertain to the ISOs that I want to download > under and tags. > > > > -Original Message- > From: Greg Chabala > Sent: Tuesday, July 27, 2021 1:31 PM > To: Maven Users List &

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

2021-07-27 Thread christopher.mil...@gd-ms.com
- From: Greg Chabala Sent: Tuesday, July 27, 2021 1:31 PM To: Maven Users List Subject: Re: Questions on what xml tags to use for pom.xml file for downloading isos External E-mail --- CAUTION: This email originated from outside GDMS. Do not click links or open attachments unless you rec

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

2021-07-27 Thread Greg Chabala
26, 2021 4:18 PM > To: Maven Users List > Subject: Re: Questions on what xml tags to use for pom.xml file for > downloading isos > > > External E-mail --- CAUTION: This email originated from outside GDMS. Do > not click links or open attachments unless you re

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

2021-07-27 Thread christopher.mil...@gd-ms.com
Sent: Monday, July 26, 2021 4:18 PM To: Maven Users List Subject: Re: Questions on what xml tags to use for pom.xml file for downloading isos External E-mail --- CAUTION: This email originated from outside GDMS. Do not click links or open attachments unless you recognize the sender and

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

2021-07-27 Thread christopher.mil...@gd-ms.com
ssage- From: Greg Chabala Sent: Monday, July 26, 2021 5:56 PM To: Maven Users List Subject: Re: Questions on what xml tags to use for pom.xml file for downloading isos External E-mail --- CAUTION: This email originated from outside GDMS. Do not click links or open attachments unles

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 since > I've used XML. > >

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

2021-07-26 Thread Greg Chabala
I agree with NIck's suggestion on fixing the property names. Also, when I run this, the isos are ... > When you run what? Your exact command invocation would help. A pom.xml does not run like a script, it is shared configuration for any number of plugin invocations. Your configur

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

2021-07-26 Thread Nick Stolwijk
Hi, I think you need to fix the parameter resolution: ${depStagingArea/pcs} should be ${depStagingArea}/pcs Hth, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your t

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

2021-07-26 Thread christopher.mil...@gd-ms.com
Hi, first post here. I'm new to Maven and its been quite some time since I've used XML. We are trying to using Maven to either upload and download artifacts from a Nexus repository Vs doing it manually. I've been trying various things, until I got the following to finally work for a multi i

Re: test-compile, -f ../../pom.xml, and modules

2021-06-09 Thread Andres Almiray
build commands from the root, in case you'd like said commands to be invoked on the "nearest" POM then pass in the -gn flag, that is for a project structure such as . ├── mvnw ├── mvnw.cmd ├── pom.xml ├── pomchecker-ant-tasks │ ├── pom.xml │ └── src │

test-compile, -f ../../pom.xml, and modules

2021-06-08 Thread Laird Nelson
real" Java module (with a src/main/java/module-info.java file) using the maven-compiler-plugin at version 3.8.1 and JDK 11. I have a convenient little alias that runs Maven with -f $(findup pom.xml) where findup is: #!/bin/bash find-up () { path=$(pwd) while [[ "$path" != &quo

Re: Using Apache Maven, what is the simplest way to include /lib/ directory in the classpath in the pom.xml

2020-10-17 Thread Jürgen Weber
he maven classpath when it compiles .java classes > and builds a .jar? > > The directory is not in my git repo or any directory under my IDE project > files. > > I have a requirement to create a pom.xml that will reference the current > project,

Re: Using Apache Maven, what is the simplest way to include /lib/ directory in the classpath in the pom.xml

2020-10-16 Thread Greg Chabala
t; http://bernd.eckenfels.net > > ____ > > Von: /dev /local/ca > > Gesendet: Friday, October 16, 2020 10:24:50 AM > > An: users@maven.apache.org > > Betreff: Using Apache Maven, what is the simplest way to include > > /lib/ directory i

Re: Using Apache Maven, what is the simplest way to include /lib/ directory in the classpath in the pom.xml

2020-10-16 Thread /dev /local/ca
Maven, what is the simplest way to include > /lib/ directory in the classpath in the > pom.xml > > What is the simplest way to specify a directory (and all jars underneath > this directory) to be in the maven classpath when it compiles .java classes > and builds a .jar? &

Re: Using Apache Maven, what is the simplest way to include /lib/ directory in the classpath in the pom.xml

2020-10-16 Thread Bernd Eckenfels
) Gruss Bernd -- http://bernd.eckenfels.net Von: /dev /local/ca Gesendet: Friday, October 16, 2020 10:24:50 AM An: users@maven.apache.org Betreff: Using Apache Maven, what is the simplest way to include /lib/ directory in the classpath in the pom.xml What is the

Using Apache Maven, what is the simplest way to include /lib/ directory in the classpath in the pom.xml

2020-10-16 Thread /dev /local/ca
What is the simplest way to specify a directory (and all jars underneath this directory) to be in the maven classpath when it compiles .java classes and builds a .jar? The directory is not in my git repo or any directory under my IDE project files. I have a requirement to create a pom.xml that

Fwd: [versions-maven-plugin] how to update version property in pom.xml?

2020-08-15 Thread 张云飞
Here is my pom.xml: 1. mvn versions:update-properties works fine , the properties updated 2. mvn versions:use-next-snapshots not work [INFO] --- versions-maven-plugin:2.8.1:use-next-snapshots (default-cli) @ test-mymvnversion --- [INFO] Incremental version changes allowed [INFO] Ignoring

Re: Enforce rules defined outside the pom.xml or its parent

2019-04-06 Thread martindaloia
ult config and/or already defined in the pom.xml of the artifact being built. From the point of view of validations performed during the CI pipeline, it would be great to have those rules configured outside the pom.xml of the project and apply them to every build that needs to be deployed into th

Re: Enforce rules defined outside the pom.xml or its parent

2019-03-27 Thread Anthony Whitford
M, Martin D'Aloia wrote: > > Hello, > > Is it possible to enforce a set of rules defined outside the pom.xml being > built (i.e. not defined in the current pom or in a parent pom)? > > Ideally, I would like to define maven-enforcer-plugin rules in an external > pom.xml an

Re: Enforce rules defined outside the pom.xml or its parent

2019-03-27 Thread Bernd Eckenfels
with your own plugin or tools like jqassist can be run in CI Jobs also. Gruß Bernd -- https://Bernd.eckenfels.net Von: Martin D'Aloia Gesendet: Mittwoch, März 27, 2019 6:46 PM An: users@maven.apache.org Betreff: Enforce rules defined outside the pom.xml o

Enforce rules defined outside the pom.xml or its parent

2019-03-27 Thread Martin D'Aloia
Hello, Is it possible to enforce a set of rules defined outside the pom.xml being built (i.e. not defined in the current pom or in a parent pom)? Ideally, I would like to define maven-enforcer-plugin rules in an external pom.xml and evaluate them over the pom.xml being build in order to not

Re: Usage of dependency-reduced-pom.xml from maven-shade-plugin in a multi-module/reactor project

2019-03-18 Thread Kyle Marek
Building the shaded module separately was my workaround for a few days. My current workaround is to specify the intra-module dependency in my parent pom under dependencyManagement with a list of exclusions for the artifacts I am shading into it. Effectively I am manually "reducing" the dependency s

Re: Usage of dependency-reduced-pom.xml from maven-shade-plugin in a multi-module/reactor project

2019-03-18 Thread Francois MAROT
Hi Nikki, Regarding your question, I'm not sure of what is a "reactor of reactor"... by 2 separate "projects" I mean 2 different build. Hence 2 different "reactor". As I understand it, the reactor is the sum of all Maven modules participating in the build. Usually in the case of a multi-modules Ma

Re: Usage of dependency-reduced-pom.xml from maven-shade-plugin in a multi-module/reactor project

2019-03-18 Thread Nikki Novak
cient work-around ? Would that satisfy the separate-projects rule ? Or no ? Thanks, Nick From: Francois MAROT Sent: Sunday, March 17, 2019 10:38 PM To: users@maven.apache.org Subject: Re: Usage of dependency-reduced-pom.xml from maven-shade-plugin in a multi-m

Re: Usage of dependency-reduced-pom.xml from maven-shade-plugin in a multi-module/reactor project

2019-03-17 Thread Francois MAROT
Hello Kyle, to my knowledge your analysis is good, you are correct. Sorry but I did not take the time to read your pom excerpt but I have been using the shade plugin for quite some time now and concluded that shaded artifacts must be leafs in the Maven modules tree. By "leaf" I mean no artifact in

Re: Usage of dependency-reduced-pom.xml from maven-shade-plugin in a multi-module/reactor project

2019-03-16 Thread Nikki Novak
AM To: users@maven.apache.org Subject: Usage of dependency-reduced-pom.xml from maven-shade-plugin in a multi-module/reactor project I am having a dependency conflict issue in a project I am working on. Specifically, a dependency of a dependency of a dependency depends on Jersey 1.9 for intern

Usage of dependency-reduced-pom.xml from maven-shade-plugin in a multi-module/reactor project

2019-03-15 Thread Kyle Marek
each project independently for now? My test case and details follow. Please note that I am demonstrating the issue and left relocations and artifact includes/excludes out of the maven-shade-plugin configuration. See: # POM files kma...@kyle.internal.gigabyteproductions.net ~/src/shadetest $ cat po

Re: Handling emails in pom.xml

2019-01-19 Thread Maxim Solodovnik
n, 17 Dec 2018 at 22:46, Maxim Solodovnik > >> > wrote: > >> > > >> >> Maybe I should write to some other mailing list? > >> >> > >> >> On Mon, 10 Dec 2018 at 16:11, Maxim Solodovnik > > >> >> wrote: > >> >>

Re: Handling emails in pom.xml

2019-01-19 Thread Robert Scholte
ut wrong links ... >>> >>> According to Frederich's investigation available here [3] this was >>> working with previous versions of maven report plugin >>> I'm OK with changing the pom.xml, but unfortunately it seems both ways >>> are wrong :( &

Re: Handling emails in pom.xml

2019-01-18 Thread Maxim Solodovnik
have modified pom [1] to have both prefixed > >>> and > >>> non prefixed emails > >>> The result is here: [2] as you can see prefixed emails are correctly > >>> being displayed as mailto: links, but has wrong text > >>> Not prefixed has v

Re: Handling emails in pom.xml

2019-01-18 Thread Robert Scholte
y being displayed as mailto: links, but has wrong text Not prefixed has valid text, but wrong links ... According to Frederich's investigation available here [3] this was working with previous versions of maven report plugin I'm OK with changing the pom.xml, but unfortunately it seems bot

Re: Handling emails in pom.xml

2019-01-18 Thread Maxim Solodovnik
correctly >> being displayed as mailto: links, but has wrong text >> Not prefixed has valid text, but wrong links ... >> >> According to Frederich's investigation available here [3] this was >> working with previous versions of maven report plugin >> I'

Re: Handling emails in pom.xml

2018-12-17 Thread Maxim Solodovnik
d emails are correctly being > displayed as mailto: links, but has wrong text > Not prefixed has valid text, but wrong links ... > > According to Frederich's investigation available here [3] this was working > with previous versions of maven report plugin > I'm OK with ch

Re: Handling emails in pom.xml

2018-12-10 Thread Maxim Solodovnik
... According to Frederich's investigation available here [3] this was working with previous versions of maven report plugin I'm OK with changing the pom.xml, but unfortunately it seems both ways are wrong :( [1] https://github.com/apache/openmeetings/blob/master/pom.xml#L150

Re: Handling emails in pom.xml

2018-12-10 Thread Andreas Sewe
Hi Maxim, > Recently I noticed the issue with site generation [1] > > > mailto:mailaddrr AFAIK, the element takes just the plain e-mail address, not a (mailto) URI: j...@example.com See [1] for a longer example. Hope that helps. Andreas [1]

Handling emails in pom.xml

2018-12-09 Thread Maxim Solodovnik
Hello All, Recently I noticed the issue with site generation [1] mailto:mailaddrr Section is not being properly processed after switching to maven report plugin 3.0 (please see [2]) What is the proper way to get well formatted emails? [1] https://github.com/devacfr/reflow-mav

Re: maven - pom.xml file

2018-07-24 Thread Thomas Broyer
mrangelo.fed...@gmail.com> wrote: > > > Hi, > > > > I am new to maven and I would like have a complete reference about the > way > > to write myself a pom.xml file. > > > > How course I interested to know : > > > >- the list of the all ele

Re: maven - pom.xml file

2018-07-24 Thread Karl Heinz Marbaise
have a complete reference about the way to write myself a pom.xml file. How course I interested to know : - the list of the all elements ( ) that can be used.. - Their order in writing them - And how they can be nested... As well it can be strange, I was not able to find this informat

Re: maven - pom.xml file

2018-07-24 Thread Angelo Moreschini
gelo Moreschini < mrangelo.fed...@gmail.com> wrote: > Hi, > > I am new to maven and I would like have a complete reference about the way > to write myself a pom.xml file. > > How course I interested to know : > >- the list of the all elements ( ) that can be used..

maven - pom.xml file

2018-07-24 Thread Angelo Moreschini
Hi, I am new to maven and I would like have a complete reference about the way to write myself a pom.xml file. How course I interested to know : - the list of the all elements ( ) that can be used.. - Their order in writing them - And how they can be nested... As well it can be

Re: How to hide internal build details from deployed pom.xml ?

2018-04-22 Thread Mark Prins
You can deploy artifacts using a custom, cleaned up pom that doesn't have a build section -- Disclaimer; This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don't understand.

Re: How to hide internal build details from deployed pom.xml ?

2018-04-21 Thread pierre.viret
configuration in pluginManagement. I'm looking for a way to hide these> > > details from the pom.xml delivered with our artefacts> > >> > > Bonjour,> > > This might be as simple as (a) having a grandparent pom.xml with your> > corporate information etc

Re: How to hide internal build details from deployed pom.xml ?

2018-04-19 Thread Laird Nelson
On Thu, Apr 19, 2018 at 9:24 PM wrote: > We have a maven project with many modules and a complex structure. The > master pom inherited by all the modules is filled up with plugin > configuration in pluginManagement. I’m looking for a way to hide these > details from the pom.xml de

Re: How to hide internal build details from deployed pom.xml ?

2018-04-19 Thread Eric B
he > master pom inherited by all the modules is filled up with plugin > configuration in pluginManagement. I’m looking for a way to hide these > details from the pom.xml delivered with our artefacts: the applications > using our libraries are not interested in the internal configuration of o

How to hide internal build details from deployed pom.xml ?

2018-04-19 Thread pierre.viret
Hi We have a maven project with many modules and a complex structure. The master pom inherited by all the modules is filled up with plugin configuration in pluginManagement. I'm looking for a way to hide these details from the pom.xml delivered with our artefacts: the applications usin

Re: [POM.xml][SKIP] - logical test

2018-01-10 Thread Jeff MAURY
You have to deal with properties to do that or a groovy script that will see to props ᐧ On Tue, Jan 9, 2018 at 10:45 AM, loic bourgeois < loic.bourge...@sgss.socgen.com> wrote: > Hello, > > In my pom.xml I want to skip some steps. The skip run fine but I would like > to skip so

[POM.xml][SKIP] - logical test

2018-01-09 Thread loic bourgeois
Hello, In my pom.xml I want to skip some steps. The skip run fine but I would like to skip sometime with a test between two conditions like: contition1 & condition2 or contition1 || condition2 Is it possible ? If yes how (there is a specific syntaxe). Regards, -- Sent from: http://m

Re: Changing the maven project version without changing the pom.xml.

2017-11-29 Thread Eric B
://maven.apache.org/maven-ci-friendly.html I'm still working out the kinks and details for my own projects as well. Thanks Eric On Nov 29, 2017 4:28 AM, "Mayur Kankanwadi" wrote: > Hi All, > > I am trying to accomplish setting the maven project version without > changing the pom.xm

Changing the maven project version without changing the pom.xml.

2017-11-29 Thread Mayur Kankanwadi
Hi All, I am trying to accomplish setting the maven project version without changing the pom.xml, so that the same pom.xml can be used across various branches and the maven build is intelligent enough to figure out the version name itself. For this I am currently implementing a maven plugin which

Re: Download an artifact and its dependencies without a pom.xml

2017-03-02 Thread Manfred Moser
- https://loci.wisc.edu/software > ImageJ2 lead, Fiji maintainer - https://imagej.net/User:Rueden > > > On Thu, Mar 2, 2017 at 9:50 AM, Curtis Rueden wrote: > >> Hi everyone, >> >> Is there an easy way to download an artifact and its dependencies to a >>

Re: Download an artifact and its dependencies without a pom.xml

2017-03-02 Thread Curtis Rueden
> Hi everyone, > > Is there an easy way to download an artifact and its dependencies to a > folder locally? > > * dependency:get will download a single artifact without needing a pom.xml. > * dependency:copy-dependencies will copy the dependencies of the current > project to a t

Download an artifact and its dependencies without a pom.xml

2017-03-02 Thread Curtis Rueden
Hi everyone, Is there an easy way to download an artifact and its dependencies to a folder locally? * dependency:get will download a single artifact without needing a pom.xml. * dependency:copy-dependencies will copy the dependencies of the current project to a target location. But can these

Re: Read git email in pom.xml

2016-08-12 Thread swapnil barwat
am using artifactory maven > plugin > >> which has license configuration. This allows you to config violation > >> recipients" in pom.xml where you can mention the email address to whom > >> you > >> want to send mail. It works like a charm if you configur

Re: Read git email in pom.xml

2016-08-12 Thread lando
e: > >> I have a requirement where i need to send license volition mail to the >> owner (whoever is committed the code). I am using artifactory maven plugin >> which has license configuration. This allows you to config violation >> recipients" in pom.xml where you

Re: Read git email in pom.xml

2016-08-12 Thread lando
ode). I am using artifactory maven plugin > which has license configuration. This allows you to config violation > recipients" in pom.xml where you can mention the email address to whom you > want to send mail. It works like a charm if you configure email address > there. But

Read git email in pom.xml

2016-08-11 Thread swapnil barwat
I have a requirement where i need to send license volition mail to the owner (whoever is committed the code). I am using artifactory maven plugin which has license configuration. This allows you to config violation recipients" in pom.xml where you can mention the email address to whom you wa

Re: iText 4.2.0 - Could a software licence be changed from MPL/LGPL to AGPL by simply redistributing the pom.xml?

2016-01-21 Thread Mirko Friedenhagen
r MPL :-O > > * He showed me itext-4.2.0.jar/META-INF/maven/com.lowagie/itext/pom.xml > clearly displaying a MPL/LGPL licence > * I pointed him to > http://search.maven.org/#artifactdetails%7Ccom.lowagie%7Citext%7C4.2.0%7Cpom > clearly displaying a AGPL V3 licence > > But the &g

Re: iText 4.2.0 - Could a software licence be changed from MPL/LGPL to AGPL by simply redistributing the pom.xml?

2016-01-19 Thread Anton Tanasenko
red to its original state [2]. [1] http://sourceforge.net/p/itext/code/6803/log/?path=/tags/iText_4_2_0/src/ant/pom.xml [2] http://sourceforge.net/p/itext/code/4107/tree/tags/iText_4_2_0/src/ant/pom.xml 2016-01-20 2:38 GMT+02:00 Dan Tran : > For my case, my Legal folks as my team to remove i

Re: iText 4.2.0 - Could a software licence be changed from MPL/LGPL to AGPL by simply redistributing the pom.xml?

2016-01-19 Thread Dan Tran
indeed under MPL :-O > > * He showed me itext-4.2.0.jar/META-INF/maven/com.lowagie/itext/pom.xml > clearly displaying a MPL/LGPL licence > * I pointed him to > http://search.maven.org/#artifactdetails%7Ccom.lowagie%7Citext%7C4.2.0%7Cpom > clearly displaying a AGPL V3 licence >

iText 4.2.0 - Could a software licence be changed from MPL/LGPL to AGPL by simply redistributing the pom.xml?

2016-01-19 Thread Siegfried Goeschl
moved to AGPL V3 - I suggested to remove the library but the developer insisted that the library was indeed under MPL :-O * He showed me itext-4.2.0.jar/META-INF/maven/com.lowagie/itext/pom.xml clearly displaying a MPL/LGPL licence * I pointed him to http://search.maven.org/#artifactdetails

RE: What is the best way to get the single jar and pom.xml from multiple maven modules?

2015-11-03 Thread Robert Patrick
ah [mailto:bhavesh.s...@bitwiseglobal.com] Sent: Tuesday, November 03, 2015 4:16 PM To: users@maven.apache.org Subject: What is the best way to get the single jar and pom.xml from multiple maven modules? Hi, I have 4 maven modules A, B, C, D which are interdependent. The project D is dependent on C and C in tu

What is the best way to get the single jar and pom.xml from multiple maven modules?

2015-11-03 Thread Bhavesh K Shah
Hi, I have 4 maven modules A, B, C, D which are interdependent. The project D is dependent on C and C in turn is dependent on A & B. I have written pom.xml for all projects accordingly. My end goal is to generate single jar out of this 4 modules and corresponding single pom.xml. The

Re: Parent version is ignored if referenced parent pom.xml available from local filesystem in maven 3.3.x

2015-09-24 Thread Denis Golovin
Sep 24, 2015 at 1:27 PM, Stephen Connolly < > stephen.alan.conno...@gmail.com> wrote: > >> Regression filed and fixed... you are just waiting for the next >> release in the 3.3.x line >> >> On 24 September 2015 at 19:40, Denis Golovin wrote: >> >

Re: Parent version is ignored if referenced parent pom.xml available from local filesystem in maven 3.3.x

2015-09-24 Thread Denis Golovin
oject structure: > > > > test-module > > |-pom.xml > > |-child1 > > |-pom.xml > > > > test-module/pom.xml > > > > > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > > http://maven.apache.org/xsd/maven-4.0.0.xsd

Re: Parent version is ignored if referenced parent pom.xml available from local filesystem in maven 3.3.x

2015-09-24 Thread Stephen Connolly
Regression filed and fixed... you are just waiting for the next release in the 3.3.x line On 24 September 2015 at 19:40, Denis Golovin wrote: > I have simple project structure: > > test-module > |-pom.xml > |-child1 > |-pom.xml > > test-module/pom.xml > >

Parent version is ignored if referenced parent pom.xml available from local filesystem in maven 3.3.x

2015-09-24 Thread Denis Golovin
I have simple project structure: test-module |-pom.xml |-child1 |-pom.xml test-module/pom.xml http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"; xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSche

Re: Use 2 pom.xml files with different names

2015-08-11 Thread Daniel Johnson (danijoh2)
I would expect this behavior that Martin has shown. Create a pom.xml and pom2.xml, and run 'mvn clean install -f pom2.xml’, you will see pom2.xml get installed into local maven repository. As Martin shows, pom.xml or pom2.xml name is not what is copied to repository, but instead the

Re: Use 2 pom.xml files with different names

2015-08-11 Thread Martin Hoeller
Hi! Am Mon, 10 Aug 2015 19:23:51 +0300 schrieb Alex Ditu : > I cannot test right now, but it can be tested very simple: in a simple > project, rename pom.xml and run install/deploy, and see if it works. > If it is ok, then is smth that I've done wrong. Else maybe it is the > des

Re: Use 2 pom.xml files with different names

2015-08-11 Thread Jörg Schaible
Hi Alex, Alex Ditu wrote: > Ok, look what I am trying to achieve: I have a project with 2 > profileDeployments (it produces 2 types of artifacts: a jar and a war) > but from the same sources. So, I did the following thing: I have > written 2 pom.xml files with 2 different names

Re: [EXTERNAL] Use 2 pom.xml files with different names

2015-08-10 Thread Mark Derricutt
On 11 Aug 2015, at 3:25, Alex Ditu wrote: > No, but is irrelevant, because the search on the install phase is purely > based on the name pom.xml (it dosent take into account the -f option, or > the pom's content). later I will look into the sources for a better > understanding.

Re: Use 2 pom.xml files with different names

2015-08-10 Thread Alex Ditu
install phase it is trying to install pom.xml in .m2, not otherPom.xml like it should. I cannot test right now, but it can be tested very simple: in a simple project, rename pom.xml and run install/deploy, and see if it works. If it is ok, then is smth that I've done wrong. Else maybe it is t

RE: Use 2 pom.xml files with different names

2015-08-10 Thread Sander Verhagen
eing said: it's working for me. We deploy and release these modules, and these are the POM files: · pom.xml // parent the following modules · pom-onpremises.xml // parent.relativePath=./pom.xml · pom-hosted.xml I don’t think I did much out of the ordinary to make t

RE: [EXTERNAL] Re: Use 2 pom.xml files with different names

2015-08-10 Thread Alex Ditu
No, but is irrelevant, because the search on the install phase is purely based on the name pom.xml (it dosent take into account the -f option, or the pom's content). later I will look into the sources for a better understanding. On Aug 10, 2015 6:20 PM, "Justin Georgeson" wrote:

RE: [EXTERNAL] Re: Use 2 pom.xml files with different names

2015-08-10 Thread Justin Georgeson
Do you have the same groupId, artifactId, and version specified in both POM files? > -Original Message- > From: Alex Ditu [mailto:ditu.alexan...@gmail.com] > Sent: Monday, August 10, 2015 10:17 AM > To: Maven Users List > Subject: [EXTERNAL] Re: Use 2 pom.xml files with

Re: Use 2 pom.xml files with different names

2015-08-10 Thread Alex Ditu
So the answer is: one cannot use a pom file with a different name than 'pom.xml'. In such case, why the -f option exists? On Aug 10, 2015 6:13 PM, "Benson Margulies" wrote: > On Mon, Aug 10, 2015 at 11:04 AM, Alex Ditu > wrote: > > I know how to solve my

Re: Use 2 pom.xml files with different names

2015-08-10 Thread Benson Margulies
h 2 >> > profileDeployments (it produces 2 types of artifacts: a jar and a war) >> > but from the same sources. So, I did the following thing: I have >> > written 2 pom.xml files with 2 different names (for example: pom.xml >> > and pom2.xml). When I want to bui

Re: Use 2 pom.xml files with different names

2015-08-10 Thread Alex Ditu
gt; > Ok, look what I am trying to achieve: I have a project with 2 > > profileDeployments (it produces 2 types of artifacts: a jar and a war) > > but from the same sources. So, I did the following thing: I have > > written 2 pom.xml files with 2 different names (for example: pom.xm

Re: Use 2 pom.xml files with different names

2015-08-10 Thread Barrie Treloar
On 10 August 2015 at 23:22, Alex Ditu wrote: > Ok, look what I am trying to achieve: I have a project with 2 > profileDeployments (it produces 2 types of artifacts: a jar and a war) > but from the same sources. So, I did the following thing: I have > written 2 pom.xml files with

Re: Use 2 pom.xml files with different names

2015-08-10 Thread Ron Wheeler
I am trying to achieve: I have a project with 2 profileDeployments (it produces 2 types of artifacts: a jar and a war) but from the same sources. So, I did the following thing: I have written 2 pom.xml files with 2 different names (for example: pom.xml and pom2.xml). When I want to build the .jar

  1   2   3   4   5   6   7   8   9   10   >