maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Latombe <vincent.lato...@gmail.com>
Subject Re: Only deploying dependencies instead of the whole pom
Date Tue, 09 Jun 2015 17:38:28 GMT
I think http://www.mojohaus.org/flatten-maven-plugin/ should help

Vincent

2015-06-09 19:27 GMT+02:00 Pascal Rapicault <pascal@rapicault.net>:

> My question that was not really clear.
> Let's say that I have a multi module build that produces a number of jars.
> The pom.xml for these modules use a number of specific plug-ins which are
> necessary for my build to produce the appropriate jars. From the point of
> view of the consumers of my jars, these plugins and configurations are
> details that he/she should not see.
>
> So the question is, how would I go to produce a pom.xml that does not
> include all the plugins configuration for each jar ?
>
>
>
>
>
> On 06/09/2015 01:07 PM, Anders Hammar wrote:
>
>> An artifact with a packaging of "pom". And that was possible in Maven 2 as
>> well.
>>
>> /Anders
>>
>> On Tue, Jun 9, 2015 at 6:52 PM, Pascal Rapicault <pascal@rapicault.net>
>> wrote:
>>
>>  Hey,
>>>
>>> Someone told me that in recent versions of Maven, it is possible to
>>> publish a pom that only includes dependencies (basically strip all the
>>> information about plugin configuration).
>>>
>>> What is the configuration to achieve that?
>>>
>>> Thanks,
>>>
>>> Pascal
>>>
>>> ---------------------------------------------------------------------
>>> 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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message