You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2006/02/20 21:02:33 UTC

[jira] Updated: (MDEPLOY-7) deploy plugin leaves unnecessary information in the deployed pom.xml

     [ http://jira.codehaus.org/browse/MDEPLOY-7?page=all ]

John Casey updated MDEPLOY-7:
-----------------------------

    Assign To:     (was: John Casey)

> deploy plugin leaves unnecessary information in the deployed pom.xml
> --------------------------------------------------------------------
>
>          Key: MDEPLOY-7
>          URL: http://jira.codehaus.org/browse/MDEPLOY-7
>      Project: Maven 2.x Deploy Plugin
>         Type: Bug

>     Reporter: Jorg Heymans

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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org