Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

First on the agenda is to enable you to download snapshot versions from the Apache snapshot repository. Add a profile for your Apache related settings in your settings.xml like this:

Code Block
xmlxml
titleEnable snapshot downloading in settings.xml
xml
<settings>
  ...
  <profiles>
    <profile>
      <id>apache</id>
      <repositories>
        <repository>
          <id>apache.snapshots</id>
          <url>http://people.apache.org/maven-snapshot-repository/</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>apache.snapshots</id>
          <url>http://people.apache.org/maven-snapshot-repository/</url>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  ...
</settings>

...

To publish a snapshot of some part of Maven you need to tell Maven what your Apache username is. This is how you do it:

Code Block
xmlxml
titleEnable snapshot publishing in settings.xml
xml
<settings>
  ...
  <servers>
    <server>
      <username>yourApacheUsername</username>
      <id>apache.snapshots</id>
    </server>
  </servers>
  ...
</settings>

...

To publish a website for some part of Maven you need to tell Maven what your Apache username is. This is how you do it:

xml
Code Block
xml
titleEnable website publishing in settings.xml
xml
<settings>
  ...
  <servers>
    <server>
      <username>yourApacheUsername</username>
      <id>apache.website</id>
    </server>
  </servers>
  ...
</settings>

...

The schemas should be published to http://maven.apache.org/xsd/Image Removed

The schemas currently in /www/maven.apache.org are:

...

These files should be removed, and symlinks added to the actual files in /xsd.

See: http://www.nabble.com/Publishing-schemas-t2566129s177.htmlImage Removed for discussion