You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2009/02/24 23:07:19 UTC

[jira] Closed: (MSOURCES-34) Allow the artifact type to be changed

     [ http://jira.codehaus.org/browse/MSOURCES-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MSOURCES-34.
-----------------------------------

    Resolution: Fixed

Fixed in r747570.
The patch didn't apply anymore, but the changes were easy to make by hand.

> Allow the artifact type to be changed
> -------------------------------------
>
>                 Key: MSOURCES-34
>                 URL: http://jira.codehaus.org/browse/MSOURCES-34
>             Project: Maven 2.x Source Plugin
>          Issue Type: Improvement
>    Affects Versions: 2.0.4
>         Environment: Any
>            Reporter: Marvin Froeder
>            Assignee: Dennis Lundberg
>             Fix For: 2.1
>
>         Attachments: type.patch
>
>
> At current time the type generated by this plugin is hard coded:
> AbstractSourceJarMojo line 177:
>                 projectHelper.attachArtifact( project, "java-source", getClassifier(), outputFile );
> If this "java-source" is moved to some getType it will allow me to extends this abstract class instead of duplicating this source.
> Then I use org.ops4j.maven-inherit-plugin.
> I can provide patch if required.
> VELO

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