You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2015/01/31 21:29:19 UTC
[jira] (MDEPLOY-7) deploy plugin leaves unnecessary information in
the deployed pom.xml
[ https://jira.codehaus.org/browse/MDEPLOY-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MDEPLOY-7:
---------------------------------
Fix Version/s: (was: 2.2)
> deploy plugin leaves unnecessary information in the deployed pom.xml
> --------------------------------------------------------------------
>
> Key: MDEPLOY-7
> URL: https://jira.codehaus.org/browse/MDEPLOY-7
> Project: Maven Deploy Plugin
> Issue Type: Bug
> Reporter: Jorg Heymans
> Assignee: Allan Ramirez
>
> ideally, during deployment, the deployed pom should be stripped of elements like <build> and <distributionManagement>
> IRC log :
> jorg Can someone enlighten me here : when i "deploy" an artifact (m2), why does the deployed plugin contain the <build> and <distributionmanagement> elements ?
> jorg s/plugin/artifact/
> jorg surely these elements are only relevant to the deployer ?
> jesse in the pom that is in the jar?
> jorg no the one that is deployed alongside the jar
> jorg shall I jira this ?
> jesse hm, I think that is a bug similar to the one with stuff in the META-INF/maven file too
> jorg yeah that's what i figured too
> jesse might as well bug it
> jdcasey jorg: we're not cleaning up that pom at all, just sending it on...but it's a good point
> jorg jdcasey: you mean about the maven version ?
> jdcasey I mean about the build/distributionManagement stuff...or anything that makes it into the POM that's deployed
> jorg oh ok , yup i think the pom should be stripped of anything not dependency related
> jorg i'm using deploy plugin v2.0
> jdcasey I think I agree that it should be stripped of the functional parts of the POM, but not the informational stuff...it will allow us to make a richer map of project info if we leave that stuff in
> jorg jdcasey: yes thinking of it that's what i meant .. anything build or deploy related can go
> jdcasey "don't ask *how" this got here, it just did." ;-)
> jorg hehe exactly
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)