aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-docs/src/site/apt
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-04-29 11:15:55 +1000
committerOlivier Lamy <olamy@apache.org>2014-04-29 11:15:55 +1000
commitdf3686ce18a8a5f4aa4b8c9ee9c8d6593a56c947 (patch)
treed79fe6bda3c699608a81cf6e401ef9db0a75ce80 /archiva-docs/src/site/apt
parent1ed9836628a77bb25179ee89edf201fdd004f2f4 (diff)
downloadarchiva-df3686ce18a8a5f4aa4b8c9ee9c8d6593a56c947.tar.gz
archiva-df3686ce18a8a5f4aa4b8c9ee9c8d6593a56c947.zip
fix snippet url due to git move
Diffstat (limited to 'archiva-docs/src/site/apt')
-rw-r--r--archiva-docs/src/site/apt/adminguide/customising-security.apt2
-rw-r--r--archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt4
-rw-r--r--archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm16
3 files changed, 11 insertions, 11 deletions
diff --git a/archiva-docs/src/site/apt/adminguide/customising-security.apt b/archiva-docs/src/site/apt/adminguide/customising-security.apt
index ec3846069..b7a99dd9d 100644
--- a/archiva-docs/src/site/apt/adminguide/customising-security.apt
+++ b/archiva-docs/src/site/apt/adminguide/customising-security.apt
@@ -74,7 +74,7 @@ security.policy.password.rule.nowhitespace.enabled=true
Values from sources
-%{snippet|id=configuration-files-list|ignoreDownloadError=true|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml}
+%{snippet|id=configuration-files-list|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml}
diff --git a/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt b/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt
index 78f898d5d..ac352911d 100644
--- a/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt
+++ b/archiva-docs/src/site/apt/adminguide/repositories-content-storage.apt
@@ -50,7 +50,7 @@ Repositories Metadata Content Storage
A default Jackrabbit configuration is provided :
-%{snippet|id=default-repository|ignoreDownloadError=true|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/plugins/metadata-store-jcr/src/main/resources/org/apache/archiva/metadata/repository/jcr/repository.xml}
+%{snippet|id=default-repository|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/archiva-modules/plugins/metadata-store-jcr/src/main/resources/org/apache/archiva/metadata/repository/jcr/repository.xml}
You can use your own configuration by adding a file repository.xml in $\{appserver.base}/conf.
@@ -58,7 +58,7 @@ Repositories Metadata Content Storage
If you want to change this default location, you must edit the file WEB-INF/applicationContext.xml, uncomment/edit lines and change with your values:
-%{snippet|id=jcr-location|ignoreDownloadError=true|url=http://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml}
+%{snippet|id=jcr-location|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml}
* Cassandra
diff --git a/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm b/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm
index 7ff4e5178..91471710b 100644
--- a/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm
+++ b/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm
@@ -42,42 +42,42 @@ Using REST Services
Authentication headers for connect to your Archiva instance :
-%{snippet|id=authz-header|ignoreDownloadError=true|url=https://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/AbstractArchivaRestTest.java}
+%{snippet|id=authz-header|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/AbstractArchivaRestTest.java}
Get a Search Service Client :
-%{snippet|id=cxf-searchservice-creation|ignoreDownloadError=true|url=https://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/AbstractArchivaRestTest.java}
+%{snippet|id=cxf-searchservice-creation|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/AbstractArchivaRestTest.java}
Quick Search
-%{snippet|id=quick-search|ignoreDownloadError=true|url=https://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/SearchServiceTest.java}
+%{snippet|id=quick-search|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/SearchServiceTest.java}
Search Artifacts Version : to search all availables version with a groupId and artifactId and packaging (if empty jar is used)
-%{snippet|id=searchservice-artifact-versions|ignoreDownloadError=true|url=https://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/SearchServiceTest.java}
+%{snippet|id=searchservice-artifact-versions|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/SearchServiceTest.java}
Search Service with a classifier :
-%{snippet|id=searchservice-with-classifier|ignoreDownloadError=true|url=https://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/SearchServiceTest.java}
+%{snippet|id=searchservice-with-classifier|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/SearchServiceTest.java}
Search Service with a classifier :
-%{snippet|id=searchservice-with-classifier|ignoreDownloadError=true|url=https://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/SearchServiceTest.java}
+%{snippet|id=searchservice-with-classifier|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/SearchServiceTest.java}
Copy Artifact from a repository to an other one :
For some reasons you want to use a test repository before moving your artifacts to a repository used by final users.
To achieve this, you can use a service which can copy an artifact from a repository to an other one
-%{snippet|id=copy-artifact|ignoreDownloadError=true|url=https://svn.apache.org/repos/asf/archiva/trunk/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/CopyArtifactTest.java}
+%{snippet|id=copy-artifact|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/archiva-modules/archiva-web/archiva-rest/archiva-rest-services/src/test/java/org/apache/archiva/rest/services/CopyArtifactTest.java}
To know all the possible options, you can refer to the javadoc of SearchRequest class.
Dependencies to add in order to use those REST Services
-%{snippet|id=rest-dependencies|ignoreDownloadError=true|url=https://svn.apache.org/repos/asf/archiva/trunk/pom.xml}
+%{snippet|id=rest-dependencies|ignoreDownloadError=true|url=https://raw.githubusercontent.com/apache/archiva/master/pom.xml}
Current versions use in Apache Archiva: