summaryrefslogtreecommitdiffstats
path: root/bpmn/so-bpmn-tasks/pom.xml
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2018-12-05 14:01:17 +0000
committerGerrit Code Review <gerrit@onap.org>2018-12-05 14:01:17 +0000
commitb6757920a3a86e750b378d57262d4155a1c2caff (patch)
tree89373b7ac8c33d322ede6d9cc95517f6a2ba0969 /bpmn/so-bpmn-tasks/pom.xml
parent12b82667b31640f815a973dc0762f78254165a52 (diff)
parent7f1a2052c6d793a1b77199ac8d98c08cf88df1d1 (diff)
Merge "Add support for naming service"
Diffstat (limited to 'bpmn/so-bpmn-tasks/pom.xml')
-rw-r--r--bpmn/so-bpmn-tasks/pom.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/bpmn/so-bpmn-tasks/pom.xml b/bpmn/so-bpmn-tasks/pom.xml
index 63a65cdc24..d66c97f81a 100644
--- a/bpmn/so-bpmn-tasks/pom.xml
+++ b/bpmn/so-bpmn-tasks/pom.xml
@@ -44,6 +44,36 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>io.swagger</groupId>
+ <artifactId>swagger-codegen-maven-plugin</artifactId>
+ <version>2.3.1</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>generate</goal>
+ </goals>
+ <configuration>
+ <inputSpec>${project.basedir}/src/main/resources/naming-service/swagger.json</inputSpec>
+ <apiPackage>org.onap.namingservice.api</apiPackage>
+ <modelPackage>org.onap.namingservice.model</modelPackage>
+ <invokerPackage>org.onap.namingservice.invoker</invokerPackage>
+ </configuration>
+ </execution>
+ </executions>
+ <configuration>
+ <inputSpec>${project.basedir}/src/main/resources/swagger.json</inputSpec>
+ <language>java</language>
+ <configOptions>
+ <sourceFolder>src/gen/java/main</sourceFolder>
+ <serializableModel>true</serializableModel>
+ </configOptions>
+ <output>${project.build.directory}/generated-sources</output>
+ <generateApis>false</generateApis>
+ <library>jersey2</library>
+ <generateSupportingFiles>false</generateSupportingFiles>
+ </configuration>
+ </plugin>
</plugins>
</build>
<dependencyManagement>