LENS-1484: Fix enunciate plugin issue(i.e. failing with maven 3.5.2)

Project: http://git-wip-us.apache.org/repos/asf/lens/repo
Commit: http://git-wip-us.apache.org/repos/asf/lens/commit/0240f6b4
Tree: http://git-wip-us.apache.org/repos/asf/lens/tree/0240f6b4
Diff: http://git-wip-us.apache.org/repos/asf/lens/diff/0240f6b4

Branch: refs/heads/master
Commit: 0240f6b42bab3af859cbd26eb942c041f639f573
Parents: dcbe18e
Author: rajub <raju.bairishe...@lazada.com>
Authored: Mon Jan 8 14:05:02 2018 +0800
Committer: rajub <raju.bairishe...@lazada.com>
Committed: Mon Jan 8 14:05:02 2018 +0800

----------------------------------------------------------------------
 pom.xml | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lens/blob/0240f6b4/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d20f105..a50aed3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,6 +73,7 @@
     <subethasmtp.version>3.1.7</subethasmtp.version>
     <liquibase.version>3.0.7</liquibase.version>
     <spring.shell.version>1.1.0.RELEASE</spring.shell.version>
+    <javax.api.version>1.3</javax.api.version>
 
     <c3p0.version>0.9.5</c3p0.version>
     <hsqldb.version>2.2.9</hsqldb.version>
@@ -90,7 +91,7 @@
     <jaxb2.basics.plugin.version>0.9.5</jaxb2.basics.plugin.version>
     <jaxb2.fluent.plugin.version>3.0</jaxb2.fluent.plugin.version>
     <exec.plugin.version>1.2.1</exec.plugin.version>
-    <enunciate.plugin.version>2.5.0</enunciate.plugin.version>
+    <enunciate.plugin.version>2.6.0</enunciate.plugin.version>
     <reports.plugin.version>2.7</reports.plugin.version>
     <javadoc.plugin.version>2.10.3</javadoc.plugin.version>
     <surefire.plugin.version>2.15</surefire.plugin.version>
@@ -579,6 +580,13 @@
           <groupId>com.webcohesion.enunciate</groupId>
           <artifactId>enunciate-maven-plugin</artifactId>
           <version>${enunciate.plugin.version}</version>
+          <dependencies>
+          <dependency>
+            <groupId>javax.annotation</groupId>
+            <artifactId>javax.annotation-api</artifactId>
+            <version>${javax.api.version}</version>
+          </dependency>
+          </dependencies>
         </plugin>
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>

Reply via email to