You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by ni...@apache.org on 2018/12/28 03:00:32 UTC

[servicecomb-pack] 01/01: SCB-1094 Fixed the java doc build error in tcc-inventroy module

This is an automated email from the ASF dual-hosted git repository.

ningjiang pushed a commit to branch SCB-1094
in repository https://gitbox.apache.org/repos/asf/servicecomb-pack.git

commit 2ee773b09941c7eadea58c84c81b737731b8ea39
Author: Willem Jiang <ji...@huawei.com>
AuthorDate: Fri Dec 28 11:00:09 2018 +0800

    SCB-1094 Fixed the java doc build error in tcc-inventroy module
---
 demo/tcc-spring-demo/inventory/pom.xml | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/demo/tcc-spring-demo/inventory/pom.xml b/demo/tcc-spring-demo/inventory/pom.xml
index f4b8a85..224946a 100644
--- a/demo/tcc-spring-demo/inventory/pom.xml
+++ b/demo/tcc-spring-demo/inventory/pom.xml
@@ -114,6 +114,17 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <!-- Add the dependency of interceptor api for javadoc generation -->
+      <id>release</id>
+      <dependencies>
+        <dependency>
+          <groupId>javax.interceptor</groupId>
+          <artifactId>javax.interceptor-api</artifactId>
+          <version>1.2</version>
+        </dependency>
+      </dependencies>
+    </profile>
   </profiles>
 
 </project>