[ http://jira.codehaus.org/browse/MNG-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_127560 ]
Lee Bieber commented on MNG-2551: --------------------------------- Looks like a pilot error on my part. I was deploying to the same repository as I was trying to retrieve the pom file from. So the best solution I can find is to set distribution management as this: <distributionManagement> <repository> <id>common-repository</id> <name>Common Repository</name> <url>file://${basedir}/target/deploy</url> </repository> </distributionManagement> > pom metadata file gets truncated during install into local repository > --------------------------------------------------------------------- > > Key: MNG-2551 > URL: http://jira.codehaus.org/browse/MNG-2551 > Project: Maven 2 > Issue Type: Bug > Components: Artifacts and Repositories > Affects Versions: 2.0.4 > Environment: Win XP, JDK 1.4 > Reporter: Sharmarke Aden > Assignee: Brian Fox > Attachments: pom-good.xml, pom.xml, shared-1.9.0.pom > > > When I attempt to install my project artifact to my local repository it seems > that sometimes an incomplete/truncated ".pom" is deployed to my local > repository. It's kind of weird because sometimes it happens and sometimes it > doesn't. Any thoughts as to what could cause this? Attached is my pom.xml and > the truncated pom meta data artifact deployed to my local repository. One > thing I found that's odd is that the size of the truncated pom generated is > consistently 4096 bytes. > p.s. my pom.xml is UTF-8 encoded and uses Unix style line delimiters. -- 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