maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Digulla (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MSOURCES-11) When source plugin is used, it should make sure it is invoked during install
Date Sun, 14 Jan 2007 11:17:41 GMT
    [ http://jira.codehaus.org/browse/MSOURCES-11?page=comments#action_84963 ] 
            
Aaron Digulla commented on MSOURCES-11:
---------------------------------------

Have you tried this using a parent POM?

Ie. move this code to the parent pom and then try to build the child project. You won't get
a source JAR.

Also, it would be great if the source plugin would attach itself to the package phase automatically
because when I use, why would I want it to run at any other time? The default should be what
most users want.

> 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
>         Assigned To: Jason van Zyl
>             Fix For: 2.0.3
>
>
> 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

        

Mime
View raw message