Does anyone know of any good documentation on 'Open Source Best Practices with Maven'

For example, in my POM, I want to set up

  <distributionManagement>
<downloadUrl>http://localhost:8081/nexus/content/groups/public</downloadUrl>
    <repository>
      <uniqueVersion>false</uniqueVersion>
      <id>nexus-kolotyluk</id>
      <name>Local Release Repository</name>
<url>http://localhost:8081/nexus/content/repositories/releases</url>
      <layout>default</layout>
    </repository>
    <snapshotRepository>
      <id>nexus-kolotyluk</id>
      <name>Local Snapshot Repository</name>
<url>http://localhost:8081/nexus/content/repositories/snapshots</url>
      <layout>default</layout>
    </snapshotRepository>
  </distributionManagement>

But that is my local repository on my development computer.

If I want to push my project to Maven Central some day, I don't think I want this in my POM.

Should I put this in a parent POM, or inside a <profile> of my settings.xml file?

If I put it in a parent POM, then I need to push that to Maven Central too, so that does not sound like a good idea.

Cheer, Eric

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to