[ https://issues.apache.org/jira/browse/MSOURCES-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17959406#comment-17959406 ]
Matthias Bünger commented on MSOURCES-34: ----------------------------------------- This project has moved from Jira to GitHub Issues. This issue was migrated to [apache/maven-source-plugin#114|https://github.com/apache/maven-source-plugin/issues/114]. > Allow the artifact type to be changed > ------------------------------------- > > Key: MSOURCES-34 > URL: https://issues.apache.org/jira/browse/MSOURCES-34 > Project: Maven Source Plugin (Moved to GitHub Issues) > Issue Type: Improvement > Affects Versions: 2.0.4 > Environment: Any > Reporter: velo > Assignee: Dennis Lundberg > Priority: Major > 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 was sent by Atlassian Jira (v8.20.10#820010)