]> source.dussan.org Git - archiva.git/commitdiff
simplify enunciate generation
authorOlivier Lamy <olamy@apache.org>
Fri, 5 Oct 2012 14:50:56 +0000 (14:50 +0000)
committerOlivier Lamy <olamy@apache.org>
Fri, 5 Oct 2012 14:50:56 +0000 (14:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1394555 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-rest/archiva-rest-api/pom.xml
pom.xml

index 9219e33569035e59aff231729c29705fcf748d10..c36541d75704be2f0dadaf34b3ef82c0da78764d 100644 (file)
@@ -31,8 +31,7 @@
   <name>Archiva Web :: REST support :: Api</name>
 
   <properties>
-    <enunciate.version>1.26.1</enunciate.version>
-    <enunciate.debug>false</enunciate.debug>
+    <enunciate.docsDir>${project.build.outputDirectory}/rest-docs-archiva-rest-api</enunciate.docsDir>
   </properties>
 
   <dependencies>
       </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>
         </configuration>
       </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>
   </build>
 
-</project>
+</project>
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 0c4233acfabf7d766b8994d32072809eb9520338..fdb8d926c80fdd15a17de257b8bfab66add7c540 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -26,7 +26,7 @@
   <parent>
     <groupId>org.apache.archiva</groupId>
     <artifactId>archiva-parent</artifactId>
-    <version>9</version>
+    <version>10-SNAPSHOT</version>
     <relativePath />
   </parent>
 
@@ -92,7 +92,7 @@
     <httpclient.core.version>4.2.2</httpclient.core.version>
     <javaxMailVersion>1.4</javaxMailVersion>
     <jettyVersion>8.1.7.v20120910</jettyVersion>
-    <jacksonVersion>1.9.9</jacksonVersion>
+
     <!-- restore when we will be able to use a derby in memory database -->
     <redbackTestJdbcUrl>jdbc:derby:memory:users-test;create=true</redbackTestJdbcUrl>
     <redbackTestJdbcDriver>org.apache.derby.jdbc.EmbeddedDriver</redbackTestJdbcDriver>