maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BJ Hargrave (Jira)" <j...@apache.org>
Subject [jira] [Commented] (MNG-6936) Flag for maven-jar-plugin to prevent artifact attachment
Date Tue, 09 Jun 2020 19:41:00 GMT

    [ https://issues.apache.org/jira/browse/MNG-6936?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17129743#comment-17129743
] 

BJ Hargrave commented on MNG-6936:
----------------------------------

maven-source-plugin provides the <attach> configuration. maven-jar-plugin should offer
this configuration.

 

https://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html#attach

> Flag for maven-jar-plugin to prevent artifact attachment
> --------------------------------------------------------
>
>                 Key: MNG-6936
>                 URL: https://issues.apache.org/jira/browse/MNG-6936
>             Project: Maven
>          Issue Type: Improvement
>            Reporter: Raymond Augé
>            Priority: Major
>
> 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.3.4#803005)

Mime
View raw message