You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Marvin Froeder (JIRA)" <ji...@codehaus.org> on 2008/04/10 18:14:58 UTC
[jira] Created: (MSOURCES-34) Allow change artifact type
Allow change artifact type
--------------------------
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
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
[jira] Closed: (MSOURCES-34) Allow the artifact type to be changed
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ 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
[jira] Updated: (MSOURCES-34) Allow change artifact type
Posted by "Marvin Froeder (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSOURCES-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marvin Froeder updated MSOURCES-34:
-----------------------------------
Attachment: type.patch
Patch attached
> Allow change artifact type
> --------------------------
>
> 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
> 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
[jira] Updated: (MSOURCES-34) Allow the artifact type to be changed
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MSOURCES-34?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg updated MSOURCES-34:
------------------------------------
Assignee: Dennis Lundberg
Fix Version/s: 2.1
Summary: Allow the artifact type to be changed (was: Allow change artifact type)
> 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