[prev in list] [next in list] [prev in thread] [next in thread]
List: maven-user
Subject: Re: generate a POM with dependencies only?
From: Maxim Solodovnik <solomax666 () gmail ! com>
Date: 2017-05-04 3:09:07
Message-ID: CAJmbs8jeiYC2_xpGDeGmWz7t4-tZ-sTMQNR_yssjy7G_Ku63zQ () mail ! gmail ! com
[Download RAW message or body]
I would like to ask related question here
Is it possible to get dependency version?
I'm creating one big jar for all dependencies using assembly plugin, but
org.bouncycastle:bcprov-jdk15on cannot be repacked
So I need to manually track it's version :(
Would be great if I can get bcprov version and automatically set it using
xslt transformation
On Thu, May 4, 2017 at 1:39 AM, Richard Sand <rsand@idfconnect.com> wrote:
> Woohoo!
>
> Thanks Robert!
>
> -Richard
>
>
>
>
> ------ Original Message ------
> From: "Robert Scholte" <rfscholte@apache.org>
> To: "Maven Users List" <users@maven.apache.org>
> Sent: 5/3/2017 2:38:56 PM
> Subject: Re: generate a POM with dependencies only?
>
> Yes, http://www.mojohaus.org/flatten-maven-plugin/
>>
>> On Wed, 03 May 2017 20:37:52 +0200, Richard Sand <rsand@idfconnect.com>
>> wrote:
>>
>> Is there a plugin/goal that will generate a "reduced" POM for a project
>>> that only contains the dependencies, but none of the other build/profile
>>> or any other tags?
>>>
>>> May sound like a strange ask - but the scenario I'm facing is that I'm
>>> building a particular set of jars/wars/zips (using assembly plugin), and
>>> the POMs for these artifacts all rely on a heirarchy of parent POMs which
>>> have many dependencyManagement, build, and profile elements. My customers
>>> have their own internal Maven repositories, and are not connecting to my
>>> company's private repos, so their ask is that I provide the POM for each
>>> artifact we distribute in the zip file. So basically I want to give them a
>>> stripped down POM that only has the dependencies in it so that they can
>>> upload the artifacts into their internal repos and include them in their
>>> projects. They will never actually be building our artifacts.
>>>
>>> Best regards,
>>>
>>> Richard
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
WBR
Maxim aka solomax
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic