You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Heiko Morgen (JIRA)" <ji...@codehaus.org> on 2009/10/15 11:19:26 UTC

[jira] Commented: (MSOURCES-51) Disable source plugin in derived pom

    [ http://jira.codehaus.org/browse/MSOURCES-51?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=194820#action_194820 ] 

Heiko Morgen commented on MSOURCES-51:
--------------------------------------

Found an alternative way to disable the bundling of the sources:

      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-source-plugin</artifactId>
        <inherited>false</inherited>
        <executions>
          <execution>
            <id>some-id</id>
            <phase>none</phase>
          </execution>
        </executions>
      </plugin>



> Disable source plugin in derived pom
> ------------------------------------
>
>                 Key: MSOURCES-51
>                 URL: http://jira.codehaus.org/browse/MSOURCES-51
>             Project: Maven 2.x Source Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0.4, 2.1
>            Reporter: Heiko Morgen
>
> We defined the sources plugin in a master.pom but I would like to disable/skip the bundling of the sources during development in a derived pom.
> See discussion http://www.nabble.com/How-do-I-turn-off-the-maven-source-plugin-altogether--td24739485.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira