simplify enunciate generation

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394555 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Olivier Lamy 2012-10-05 14:50:56 +00:00
parent a80460a041
commit 2aed326efb
2 changed files with 4 additions and 45 deletions

View File

@ -31,8 +31,7 @@
<name>Archiva Web :: REST support :: Api</name> <name>Archiva Web :: REST support :: Api</name>
<properties> <properties>
<enunciate.version>1.26.1</enunciate.version> <enunciate.docsDir>${project.build.outputDirectory}/rest-docs-archiva-rest-api</enunciate.docsDir>
<enunciate.debug>false</enunciate.debug>
</properties> </properties>
<dependencies> <dependencies>
@ -102,20 +101,6 @@
</exclusions> </exclusions>
</dependency> </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> </dependencies>
<build> <build>
@ -179,33 +164,7 @@
</configuration> </configuration>
</plugin> </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}/rest-docs-archiva-rest-api</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> </plugins>
</build> </build>
</project> </project>

View File

@ -26,7 +26,7 @@
<parent> <parent>
<groupId>org.apache.archiva</groupId> <groupId>org.apache.archiva</groupId>
<artifactId>archiva-parent</artifactId> <artifactId>archiva-parent</artifactId>
<version>9</version> <version>10-SNAPSHOT</version>
<relativePath /> <relativePath />
</parent> </parent>
@ -92,7 +92,7 @@
<httpclient.core.version>4.2.2</httpclient.core.version> <httpclient.core.version>4.2.2</httpclient.core.version>
<javaxMailVersion>1.4</javaxMailVersion> <javaxMailVersion>1.4</javaxMailVersion>
<jettyVersion>8.1.7.v20120910</jettyVersion> <jettyVersion>8.1.7.v20120910</jettyVersion>
<jacksonVersion>1.9.9</jacksonVersion>
<!-- restore when we will be able to use a derby in memory database --> <!-- restore when we will be able to use a derby in memory database -->
<redbackTestJdbcUrl>jdbc:derby:memory:users-test;create=true</redbackTestJdbcUrl> <redbackTestJdbcUrl>jdbc:derby:memory:users-test;create=true</redbackTestJdbcUrl>
<redbackTestJdbcDriver>org.apache.derby.jdbc.EmbeddedDriver</redbackTestJdbcDriver> <redbackTestJdbcDriver>org.apache.derby.jdbc.EmbeddedDriver</redbackTestJdbcDriver>