[ http://jira.codehaus.org/browse/MSOURCES-11?page=comments#action_80754 ] 
            
Aaron Digulla commented on MSOURCES-11:
---------------------------------------

Note: The executions (see link above) only work if they are in the POM of every 
module of your project.

Just defining this once in the parent pom doesn't work.


> When source plugin is used, it should make sure it is invoked during install
> ----------------------------------------------------------------------------
>
>                 Key: MSOURCES-11
>                 URL: http://jira.codehaus.org/browse/MSOURCES-11
>             Project: Maven 2.x Sources Plugin
>          Issue Type: Improvement
>            Reporter: Aaron Digulla
>
> I have a really hard time to make the source plugin work. When I just run 
> "mvn install", the source plugin is ignored.
> I tried to use executions 
> (http://garbuz.com/sm/content.php/articles/maven2_deploying_sources/) but 
> that also doesn't work reliably.
> The only stable way I found so far is:
> mvn source:jar install
> but that's tedious. Isn't it possible to configure the plugin by default in 
> such a way that, when it is used in the POM, it will be invoked automatically 
> during "mvn install", "mvn deploy", etc?

-- 
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

        

Reply via email to