[
https://issues.apache.org/jira/browse/MJAR-271?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed MJAR-271.
-------------------------------
Resolution: Not A Problem
> Flag for maven-jar-plugin to prevent artifact attachment
> --------------------------------------------------------
>
> Key: MJAR-271
> URL: https://issues.apache.org/jira/browse/MJAR-271
> Project: Maven JAR Plugin
> Issue Type: Improvement
> Reporter: Raymond Augé
> Priority: Minor
>
> One use case (the important one for me) is when creating test-jar but not
> publishing it if that jar is only used for integration testing in the project
> itself.
> However there have been other times when I wished to create an extra jar for
> invoking some other plugin on it.
> envisioning: {{<attach>false</attach>}} (default to true of course)
> Precedent can be found with
> https://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html#attach
--
This message was sent by Atlassian Jira
(v8.20.1#820001)