Versions Compared

Key

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

...

You also need to be a member of the group apcvs on people.apache.org.

Due to a bug in Maven there may be problems with the file permissions on the server after a snapshot has been published. Please read this page on how to fix your own files.

If someone else has not cleaned up after themselves you can run these commands on the shell to fix it. Important: don't run it all in one batch, as it uses the -f flag for rm. Make sure the files have been copied before you remove them.

Code Block
titleRestore file permissions on maven-metadata files in the current directory

cp maven-metadata.xml maven-metadata.xml.bak
cp maven-metadata.xml.md5 maven-metadata.xml.md5.bak
cp maven-metadata.xml.sha1 maven-metadata.xml.sha1.bak
chmod 664 maven-metadata.xml*.bak
# Stop here and check that the files have been copied and that the copies have the correct permissions
rm -f maven-metadata.xml
rm -f maven-metadata.xml.md5
rm -f maven-metadata.xml.sha1
mv maven-metadata.xml.bak maven-metadata.xml
mv maven-metadata.xml.md5.bak maven-metadata.xml.md5
mv maven-metadata.xml.sha1.bak maven-metadata.xml.sha1

Publishing websites

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:

...

You also need to be a member of the group maven on people.apache.org.

When publishing plugin docs, be sure to activate the reporting profile with -P reporting.

Publishing schemas

To publish a schema, first generate it, then scp it to people.apache.org.

No Format

/svn/maven/components/maven-model
$ mvn modello:xsd
...
$ scp  target/generated-site/xsd/maven-4.0.0.xsd  people.apache.org:/www/maven.apache.org/xsd/

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

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

  • maven-v3_0_0.xsd
  • maven-v4_0_0.xsd
  • maven-navigation-1.0.xsd (from Maven 1)

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

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