You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bas ter Brugge <ba...@gmail.com> on 2006/09/06 16:12:25 UTC

Strange 4K problem with exported POM

Hi all,

I have a problem deploying an artifact to our remote repository using Maven
2.0.4. I've configured a repository in the pom.xml of my project like below:

            <distributionManagement>
              <!-- use the following if you're not using a snapshot version.
-->
                  <repository>
                    <id>myrepo</id>
                    <name>myrepo</name>
                    <url>file://<path-to-remote-repository-on-server></url>
                  </repository>
            </distributionManagement>

When I run a mvn deploy, the build is deployed in the remote repository. All
files are present (the jar, the exported pom and the secure hashes and md5
files). The problem is that the exported POM is no valid XML. It is exactly
4096 bytes and the last characters are:

  <distributionManagement>
    <status>deployed</st

After the "</st" the file ends. Any idea what might be going on here?

Any help would be greatly appreciated.

Cheers,
Bas ter Brugge