maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Heinz Marbaise (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (MJAR-183) Move LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
Date Sat, 23 Apr 2016 12:02:12 GMT

    [ https://issues.apache.org/jira/browse/MJAR-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15255239#comment-15255239
] 

Karl Heinz Marbaise edited comment on MJAR-183 at 4/23/16 12:01 PM:
--------------------------------------------------------------------

For testings purposes I have created a special Maven Core (current master of maven) where
i removed the whole mapping information in the {{default-bindings.xml}} for {{maven-jar-plugin}}
and tried to compile a usual test project which of course failed. After adding {{maven-jar-plugin}}
with {{<extensions>true</extensions>}} is simply works.
To write an integration tests within the {{maven-jar-plugin}} seemed to be impossible cause
turning of plugin bindings from the life cycle are only possible using the correct id's which
are also uses by the bindings in maven-jar-plugin which results in not working the whole.


was (Author: khmarbaise):
I have create a special Maven Core where i removed the whole mapping information in the {{default-bindings.xml}}
for maven-jar-plugin and tried to compile a usual test project which of course failed. After
adding maven-jar-plugin with {{<extensions>true</extensions>}} is simply works.
To write an integration tests within the maven-jar-plugin seemed to be impossible cause turning
of plugin bindings from the life cycle are only possible using the correct id's which are
also uses by the bindings in maven-jar-plugin which results in not working the whole.

> Move LifecycleMapping and ArtifactHandler from maven-core to target packaging plugin
> ------------------------------------------------------------------------------------
>
>                 Key: MJAR-183
>                 URL: https://issues.apache.org/jira/browse/MJAR-183
>             Project: Maven JAR Plugin
>          Issue Type: Improvement
>            Reporter: Robert Scholte
>
> Maven Core shouldn't be aware of this kind of information, instead the maven-jar-plugin
should specify and maintain the {{LifecycleMapping}} and {{ArtifactHandler}} by itself. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message