Perhaps I don't understand what is meant by "not attaching" but if all you
want to do is skip deployment, the maven-deploy-plugin has this feature:
<configuration>
<skip>true</skip>
</configuration>
which can be added to the module you do not wish to deploy. We use this in
order to not deploy .ear files to our artifactory.
Regards, Gord Cody
On Fri, Aug 19, 2016 at 1:37 PM, Karl Heinz Marbaise <[email protected]>
wrote:
> Hi,
>
> On 19/08/16 03:36, Christopher wrote:
>
>> Hi Maven Users list,
>>
>> What's the best way to create a jar during a build without attaching it?
>>
>> Currently, our pom is configured to use the maven-jar-plugin to create it,
>> but that plugin attaches an artifact, which gets deployed. We don't want
>> that. That doesn't seem to be configurable.
>>
>
> Can you describe why you would like to create a jar which shouldn't be
> deployed ? May be we can enhance maven-jar-plugin to support such a use
> case?
>
>
> Kind regards
> Karl Heinz Marbaise
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Best Regards, Gord Cody
Release Manager Zafin Labs Americas Inc.
179 Colonnade Road-Suite 100, Ottawa ON, Canada
Phone: +1 (613) 216-2504 Fax: +1 (613) 688-1374 Mobile: +1 613-601-2734
Web: http://zafin.com Email: [email protected]
--
Zafin - Canada
--
http://zafin.com
<http://zafin.com/>
------------------------------
Connect with us
<http://www.youtube.com/user/ZafinGlobal>
<http://www.linkedin.com/company/Zafin> <http://twitter.com/Zafin>
News and Events
Zafin announces 100 person Center of Excellence in Toronto
<http://zafin.com/press-releases/zafin-announces-new-100-person-centre-excellence-toronto/>
For the 2nd consecutive year, Zafin named to the Deloitte Fast 50 and Fast
500 rankings
<http://zafin.com/press-releases/zafin-named-deloitte-technology-fast-50-fast-500-lists/>
<http://zafin.com/press-releases/zafin-ranks-16th-on-the-2014-deloitte-technology-fast-50-list/>