THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
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 | ||||||
---|---|---|---|---|---|---|
| ||||||
<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 | ||||||
---|---|---|---|---|---|---|
| ||||||
<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:
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<settings> ... <servers> <server> <username>yourApacheUsername</username> <id>apache.website</id> </server> </servers> ... </settings> |
...