[ 
https://issues.apache.org/jira/browse/MSOURCES-87?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Heinz Marbaise closed MSOURCES-87.
---------------------------------------
    Resolution: Not A Problem
      Assignee: Karl Heinz Marbaise

First you should use the most [up-to-date version 
2.4|http://maven.apache.org/plugins/maven-source-plugin/] apart from that the 
property to skip is named: {{source.skip}} instead of {{maven.source.skip}} 
which is inconsistent (This will be fixed with release 3.0.0). 
The documentation shows the [appropriate 
documentation|http://maven.apache.org/plugins/maven-source-plugin/jar-mojo.html#skipSource]
 how to skip the creation of the source jar file. So i will close this issue, 
cause the documentation contains the appropriate information. If you are the 
opinion that the documentation does not contain enough information please open 
an other issue and suggest the appropriate information you would like to have 
there.

> How to skip building foo-sources.jar
> ------------------------------------
>
>                 Key: MSOURCES-87
>                 URL: https://issues.apache.org/jira/browse/MSOURCES-87
>             Project: Maven Source Plugin
>          Issue Type: Documentation
>    Affects Versions: 2.2.1
>            Reporter: Christian Brunotte
>            Assignee: Karl Heinz Marbaise
>            Priority: Minor
>
> I use the following in one of my projects:
> <properties>
>         <maven.sources.skip>true</maven.sources.skip>
>         <maven.javadoc.skip>true</maven.javadoc.skip>
>         <maven.install.skip>true</maven.install.skip>
>         <maven.deploy.skip>true</maven.deploy.skip>
> </properties>
> All but maven.sources.skip does not work. When looking for existing issues I 
> found MSOURCES-55 and MSOURCES-56 but the documentation lacks any references 
> to "skip" in the Configuration and Usage pages.
> So how can skip the building of foo-sources.jar?
> (just to save some seconds of my time, it does not hurt otherwise)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to