[ https://issues.apache.org/jira/browse/MNG-6959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17155474#comment-17155474 ]
Michael Osipov commented on MNG-6959: ------------------------------------- [~rfscholte], this one is for you. > Add "maven.jar.skip" property > ----------------------------- > > Key: MNG-6959 > URL: https://issues.apache.org/jira/browse/MNG-6959 > Project: Maven > Issue Type: Improvement > Reporter: Rupert Madden-Abbott > Priority: Minor > > The following properties are available from various plugins: > * maven.test.skip > * maven.install.skip > * maven.deploy.skip > For consistency, please can we also have maven.jar.skip? > There is a skipIfEmpty parameter but there is no way to set it via a property. > This is helpful in keeping a standard CI build script across multiple > projects e.g. running mvn install, and keeping build specific various in the > pom.xml. > Current workaround is to configure the jar plugin with a phase of none but > this is less consistent with the method of skipping other default plugins. -- This message was sent by Atlassian Jira (v8.3.4#803005)