]> source.dussan.org Git - archiva.git/commitdiff
use snippet from pom for rest dependencies to use
authorOlivier Lamy <olamy@apache.org>
Thu, 1 Mar 2012 17:41:04 +0000 (17:41 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 1 Mar 2012 17:41:04 +0000 (17:41 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1295695 13f79535-47bb-0310-9956-ffa450edef68

archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm

index d562f3e51a8947b7186ac0b73d17d05f227969f0..17161dbdc0119ce57d0e9888aeb21483e6ac415c 100644 (file)
@@ -71,29 +71,15 @@ Using REST Services
 
   Dependencies to add in order to use those REST Services
 
-+-------------------------
-
-    <dependency>
-      <groupId>org.apache.archiva</groupId>
-      <artifactId>archiva-rest-api</artifactId>
-      <version>${project.version}
-    </dependency>
-
-    if you use CXF:
-
-    <dependency>
-      <groupId>org.apache.cxf</groupId>
-      <artifactId>cxf-bundle-jaxrs</artifactId>
-      <version>2.4.2</version>
-      <exclusions>
-        <exclusion>
-          <groupId>org.eclipse.jetty</groupId>
-          <artifactId>jetty-server</artifactId>
-        </exclusion>
-      </exclusions>
-    </dependency>
-
-+-------------------------
+%{snippet|id=rest-dependencies|url=https://svn.apache.org/repos/asf/archiva/trunk/pom.xml}
+
+  Current versions use in Apache Archiva:
+
+   * $\{project.version}: ${project.version}
+
+   * $\{cxfVersion}: ${cxfVersion}
+
+   * $\{jacksonVersion}: ${jacksonVersion}
 
 * Security Framework Services: