diff options
author | Olivier Lamy <olamy@apache.org> | 2011-10-06 14:37:26 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2011-10-06 14:37:26 +0000 |
commit | 305de319c815cec122b5f2a51370077df9f201d5 (patch) | |
tree | 04a1e497a6fb9836ee6e1a9028ba603834c641a9 /archiva-docs | |
parent | 319783cb76b01bd8f119fdfaafbd867284ac0c21 (diff) | |
download | archiva-305de319c815cec122b5f2a51370077df9f201d5.tar.gz archiva-305de319c815cec122b5f2a51370077df9f201d5.zip |
add pom sample for dependencies to use for rest services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179648 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-docs')
-rw-r--r-- | archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm | 27 |
1 files changed, 27 insertions, 0 deletions
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 56c627891..e1f86c282 100644 --- a/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm +++ b/archiva-docs/src/site/apt/adminguide/webservices/rest.apt.vm @@ -69,5 +69,32 @@ Using REST Services 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 + ++------------------------- + + <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> + ++------------------------- + + |