[ http://jira.codehaus.org/browse/MNG-2551?page=comments#action_75046 ] 
            
Joost den Boer commented on MNG-2551:
-------------------------------------

Not sure what you mean.

I had this problem with my project when it was on version 0.3. After the 
buildserver ran, the pom was trunkated after 4096 bytes.
After I changed my project version to 0.4-SNAPSHOT, the problem did not occur 
anymore. I did not change a version of any dependend artifact.

Still, I think this problem is worth looking at.
I notices when following the build process by looking at the files created, 
that in the beginning of the build process, the pom.xml is put in the 
destination directory. At that point it is ok, has it's original site and is 
complete.
After the build has finished and the .jar and .sha1, md5 files are present, the 
pom.xml is trunkated to 4096 bytes. So it must be caused by something at the 
end of the build process. Could it be related to creating the .sha1 and md5 
files ?

> 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, Artifacts
>    Affects Versions: 2.0.4
>         Environment: Win XP, JDK 1.4
>            Reporter: Sharmarke Aden
>         Attachments: 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

        

Reply via email to