You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by be...@apache.org on 2008/08/28 21:47:28 UTC

svn commit: r689952 - in /maven/site/trunk/src/site: apt/developers/index.apt site.xml xdoc/source-repository.xml

Author: bentmann
Date: Thu Aug 28 12:47:27 2008
New Revision: 689952

URL: http://svn.apache.org/viewvc?rev=689952&view=rev
Log:
[MNGSITE-59] '2.0.x' link on 'Maven Developer Centre' page is broken.

Added:
    maven/site/trunk/src/site/xdoc/source-repository.xml   (with props)
Modified:
    maven/site/trunk/src/site/apt/developers/index.apt
    maven/site/trunk/src/site/site.xml

Modified: maven/site/trunk/src/site/apt/developers/index.apt
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/developers/index.apt?rev=689952&r1=689951&r2=689952&view=diff
==============================================================================
--- maven/site/trunk/src/site/apt/developers/index.apt (original)
+++ maven/site/trunk/src/site/apt/developers/index.apt Thu Aug 28 12:47:27 2008
@@ -41,8 +41,7 @@
 
   * {{{../continuous-integration.html}Continuous Integration}}
 
-  * Source Repository for Maven {{{../ref/2.0.9-SNAPSHOT/source-repository.html}2.0.x}}
-    or {{{../ref/2.1-SNAPSHOT/source-repository.html}2.1.x}}
+  * {{{../source-repository.html}Source Repository}}
 
   []
 

Modified: maven/site/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/site.xml?rev=689952&r1=689951&r2=689952&view=diff
==============================================================================
--- maven/site/trunk/src/site/site.xml (original)
+++ maven/site/trunk/src/site/site.xml Thu Aug 28 12:47:27 2008
@@ -1,22 +1,24 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
+<?xml version="1.0" encoding="UTF-8"?>
+
 <!--
-  Licensed to the Apache Software Foundation (ASF) under one
-  or more contributor license agreements.  See the NOTICE file
-  distributed with this work for additional information
-  regarding copyright ownership.  The ASF licenses this file
-  to you under the Apache License, Version 2.0 (the
-  "License"); you may not use this file except in compliance
-  with the License.  You may obtain a copy of the License at
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
 
   http://www.apache.org/licenses/LICENSE-2.0
 
-  Unless required by applicable law or agreed to in writing,
-  software distributed under the License is distributed on an
-  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-  KIND, either express or implied.  See the License for the
-  specific language governing permissions and limitations
-  under the License.
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
 -->
+
 <project name="Maven">
   <version position="none" />
   <body>
@@ -78,7 +80,8 @@
       <item name="How to Contribute" href="/guides/development/guide-helping.html"/>
       <item name="Maven Repository" href="/guides/mini/guide-maven-evangelism.html" />
       <item name="Getting Help" href="/users/getting-help.html" />
-     <item name="Issue Tracking" href="/issue-tracking.html" />
+      <item name="Issue Tracking" href="/issue-tracking.html" />
+      <item name="Source Repository" href="/source-repository.html" />
       <item name="The Maven Team" href="/team-list.html" />
     </menu>
   </body>

Added: maven/site/trunk/src/site/xdoc/source-repository.xml
URL: http://svn.apache.org/viewvc/maven/site/trunk/src/site/xdoc/source-repository.xml?rev=689952&view=auto
==============================================================================
--- maven/site/trunk/src/site/xdoc/source-repository.xml (added)
+++ maven/site/trunk/src/site/xdoc/source-repository.xml Thu Aug 28 12:47:27 2008
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements.  See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership.  The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing,
+software distributed under the License is distributed on an
+"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+KIND, either express or implied.  See the License for the
+specific language governing permissions and limitations
+under the License.
+-->
+
+<document>
+  <properties>
+    <title>Source Repository</title>
+    <author>Benjamin Bentmann</author>
+  </properties>
+  <body>
+    <section name="Source Repository">
+      <p>
+        Maven projects use <a href="http://subversion.tigris.org/">Subversion</a> to manage their source code.
+        Instructions on Subversion use can be found in the online book
+        <a href="http://svnbook.red-bean.com/">Version Control with Subversion</a>.
+      </p>
+      <subsection name="Web Access">
+        <p>
+          The following list shows the links to the online source repositories for the various development branches of
+          the Maven core:
+        </p>
+        <source>
+<a href="http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x">http://svn.apache.org/viewvc/maven/components/branches/maven-2.0.x</a>&#xA0;<!-- protected space to force line break -->
+<a href="http://svn.apache.org/viewvc/maven/components/branches/maven-2.1.x">http://svn.apache.org/viewvc/maven/components/branches/maven-2.1.x</a>&#xA0;<!-- protected space to force line break -->
+<a href="http://svn.apache.org/viewvc/maven/components/trunk">http://svn.apache.org/viewvc/maven/components/trunk</a></source>
+        <p>
+          The source repositories for the various plugins are listed in the documentation of the respective plugin,
+          reachable via the <a href="plugins/index.html">plugin index</a>.
+        </p>
+      </subsection>
+      <subsection name="Anonymous Access">
+        <p>
+          The source can be checked out anonymously from SVN with one of these commands depending on the development
+          line you are looking for:
+        </p>
+        <source>
+$ svn checkout http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x maven-2.0.x
+$ svn checkout http://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x maven-2.1.x
+$ svn checkout http://svn.apache.org/repos/asf/maven/components/trunk maven-3.0.x</source>
+      </subsection>
+      <subsection name="Developer Access">
+        <p>
+          Everyone can access the Subversion repository via HTTP, but committers must checkout the Subversion
+          repository via HTTPS to gain write access:
+        </p>
+        <source>
+$ svn checkout http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x maven-2.0.x
+$ svn checkout http://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x maven-2.1.x
+$ svn checkout http://svn.apache.org/repos/asf/maven/components/trunk maven-3.0.x</source>
+        <p>
+          To commit changes to the repository, execute the following command to commit your changes (<code>svn</code> will
+          prompt you for your password):
+        </p>
+        <source>
+$ svn commit --username your-username -m "A message"</source>
+      </subsection>
+      <subsection name="Access from behind a Firewall">
+        <p>
+          For those users who are stuck behind a corporate firewall which is blocking HTTP access to the Subversion
+          repository, you can try to access it via the developer connection:
+        </p>
+        <source>
+$ svn checkout http://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x maven-2.0.x
+$ svn checkout http://svn.apache.org/repos/asf/maven/components/branches/maven-2.1.x maven-2.1.x
+$ svn checkout http://svn.apache.org/repos/asf/maven/components/trunk maven-3.0.x</source>
+      </subsection>
+      <subsection name="Access through a Proxy">
+        <p>
+          The Subversion client can go through a proxy, if you configure it to do so. First, edit your <code>servers</code>
+          configuration file to indicate which proxy to use. The file's location depends on your operating system. On
+          Linux or Unix it is located in the directory <code>~/.subversion</code>. On Windows it is in <code>%APPDATA%\Subversion</code>
+          (try <code>echo %APPDATA%</code>, note this is a hidden directory).
+        </p>
+        <p>
+          There are comments in the file explaining what to do. If you don't have that file, get the latest Subversion
+          client and run any command; this will cause the configuration directory and template files to be created.
+        </p>
+        <p>
+          Example: Edit the <code>servers</code> file and add something like:
+        </p>
+        <source>
+[global]
+http-proxy-host = your.proxy.name
+http-proxy-port = 3128</source>
+      </subsection>
+    </section>
+  </body>
+</document>

Propchange: maven/site/trunk/src/site/xdoc/source-repository.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/site/trunk/src/site/xdoc/source-repository.xml
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision