Author: bago
Date: Sat Apr 28 07:39:07 2007
New Revision: 533349
URL: http://svn.apache.org/viewvc?view=rev&rev=533349
Log:
Changed repositories names so that central still refer to the original central
repository and simply disabled it by default.
The previous "central" has been renamed "apache.releases".
Removed declaration of pluginRepositories so to fallback to standard repository
from maven.
Updated HOWTO to include some more needed step.
Modified:
james/project/trunk/HOWTO.txt
james/project/trunk/parent/pom.xml
james/project/trunk/pom.xml
Modified: james/project/trunk/HOWTO.txt
URL:
http://svn.apache.org/viewvc/james/project/trunk/HOWTO.txt?view=diff&rev=533349&r1=533348&r2=533349
==============================================================================
--- james/project/trunk/HOWTO.txt (original)
+++ james/project/trunk/HOWTO.txt Sat Apr 28 07:39:07 2007
@@ -1,18 +1,21 @@
How to build and publish the website:
1. Install Apache Maven 2.0.6 and make its binary 'mvn' available on your
PATH.
- 2. Execute 'mvn -Plocal install'. This will generate the artifacts and
install them without
- trying to remove them from remote repositories ("local" profile).
- 3. Execute 'mvn -Plocal site'. This will generate the website for each module.
- 4. Test the built site in your browser from target/site
- 5. If everything looks OK, copy target/site to the checkout of
james/site/trunk/www folder
+ 2. Enter parent folder and execute 'mvn -Plocal install'. This will generate
the
+ artifacts and install them without trying to remove them from remote
repositories
+ (by using the "local" profile defined in the pom.xml).
+ 3. Enter the maven-skin folder and execute 'mvn -Plocal install'.
+ 4. Return to the root and execute 'mvn -Plocal site'. This will generate the
website for
+ each module.
+ 5. Test the built site in your browser from target/site
+ 6. If everything looks OK, copy target/site to the checkout of
james/site/trunk/www folder
server/target/site to the checkout of james/site/trunk/www/server folder
server/2.2.0/target/site to the checkout of
james/site/trunk/www/server/2.2.0 folder
- 6. If you are on windows make sure endlines are LF only.
- 7. Commit changes to SVN
- 8. Review generated pages on svn.apache.org/repos/asf/james/site/trunk/www
- 9. svn-up on minotaur
-10. Wait for the changes to replicate to the Apache web server or setup
140.211.11.10:80 as
+ 7. If you are on windows make sure endlines are LF only.
+ 8. Commit changes to SVN
+ 9. Review generated pages on svn.apache.org/repos/asf/james/site/trunk/www
+10. svn-up on minotaur
+11. Wait for the changes to replicate to the Apache web server or setup
140.211.11.10:80 as
a proxy to review the changes (described here:
http://www.apache.org/dev/project-site.html)
The logical tree of the poms is the following
Modified: james/project/trunk/parent/pom.xml
URL:
http://svn.apache.org/viewvc/james/project/trunk/parent/pom.xml?view=diff&rev=533349&r1=533348&r2=533349
==============================================================================
--- james/project/trunk/parent/pom.xml (original)
+++ james/project/trunk/parent/pom.xml Sat Apr 28 07:39:07 2007
@@ -184,6 +184,7 @@
</site>
</distributionManagement>
+ <!--
<pluginRepositories>
<pluginRepository>
<releases>
@@ -197,10 +198,21 @@
<url>http://repo1.maven.org/maven2</url>
</pluginRepository>
</pluginRepositories>
+ -->
<repositories>
<repository>
<id>central</id>
+ <url>http://repo1.maven.org/maven2</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>apache.releases</id>
<name>Apache Main M2 Repository</name>
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
<releases>
@@ -247,6 +259,16 @@
<repositories>
<repository>
<id>central</id>
+ <url>http://repo1.maven.org/maven2</url>
+ <releases>
+ <enabled>false</enabled>
+ </releases>
+ <snapshots>
+ <enabled>false</enabled>
+ </snapshots>
+ </repository>
+ <repository>
+ <id>apache.releases</id>
<name>Apache Main M2 Repository</name>
<url>http://people.apache.org/repo/m2-ibiblio-rsync-repository</url>
<releases>
Modified: james/project/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/james/project/trunk/pom.xml?view=diff&rev=533349&r1=533348&r2=533349
==============================================================================
--- james/project/trunk/pom.xml (original)
+++ james/project/trunk/pom.xml Sat Apr 28 07:39:07 2007
@@ -31,12 +31,8 @@
<groupId>org.apache.james</groupId>
<artifactId>james-parent</artifactId>
<version>1.1-SNAPSHOT</version>
- <relativePath>./parent/pom.xml</relativePath>
+ <relativePath>parent/pom.xml</relativePath>
</parent>
-
- <prerequisites>
- <maven>2.0.5</maven>
- </prerequisites>
<modules>
<module>server</module>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]