diff options
author | Olivier Lamy <olamy@apache.org> | 2012-10-04 22:49:11 +0000 |
---|---|---|
committer | Olivier Lamy <olamy@apache.org> | 2012-10-04 22:49:11 +0000 |
commit | ded769cba91cd39284ee296eae35e8459158f1c9 (patch) | |
tree | 2fcc2a4880fe2d82b969e3bda527f66c0ca12c35 /archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml | |
parent | a329b5ae3c42796e1ab45fda021cb3a159a63120 (diff) | |
download | archiva-ded769cba91cd39284ee296eae35e8459158f1c9.tar.gz archiva-ded769cba91cd39284ee296eae35e8459158f1c9.zip |
[MRM-1683] Automatic generation of REST Api documentation.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394312 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml')
-rw-r--r-- | archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml index e0956c400..199485f35 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml @@ -28,6 +28,11 @@ <packaging>bundle</packaging> <name>Archiva Web :: REST support :: Api</name> + <properties> + <enunciate.version>1.26.1</enunciate.version> + <enunciate.debug>false</enunciate.debug> + </properties> + <dependencies> <dependency> <groupId>org.apache.archiva</groupId> @@ -94,6 +99,21 @@ </exclusion> </exclusions> </dependency> + + <dependency> + <groupId>org.codehaus.enunciate</groupId> + <artifactId>enunciate-core</artifactId> + <scope>provided</scope> + <version>${enunciate.version}</version> + </dependency> + + <dependency> + <groupId>org.codehaus.jackson</groupId> + <artifactId>jackson-xc</artifactId> + <version>${jacksonVersion}</version> + <scope>provided</scope> + </dependency> + </dependencies> <build> @@ -136,6 +156,34 @@ </execution> </executions> </plugin> + + + <plugin> + <groupId>org.codehaus.enunciate</groupId> + <artifactId>maven-enunciate-plugin</artifactId> + <version>${enunciate.version}</version> + <executions> + <execution> + <phase>process-classes</phase> + <goals> + <goal>docs</goal> + </goals> + </execution> + </executions> + <configuration> + <docsDir>${project.build.outputDirectory}/docs</docsDir> + <configFile>src/enunciate/enunciate.xml</configFile> + <compileDebug>${enunciate.debug}</compileDebug> + </configuration> + <dependencies> + <dependency> + <groupId>org.codehaus.enunciate</groupId> + <artifactId>enunciate-docs</artifactId> + <version>${enunciate.version}</version> + </dependency> + </dependencies> + </plugin> + </plugins> </build> |