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


> 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
>     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 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to