diff options
Diffstat (limited to 'nokiav2/generatedapis/pom.xml')
-rw-r--r-- | nokiav2/generatedapis/pom.xml | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/nokiav2/generatedapis/pom.xml b/nokiav2/generatedapis/pom.xml index a62606cf..d9498a26 100644 --- a/nokiav2/generatedapis/pom.xml +++ b/nokiav2/generatedapis/pom.xml @@ -36,6 +36,8 @@ </properties> <build> <plugins> +<!-- +Release AAI <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> @@ -64,6 +66,7 @@ </execution> </executions> </plugin> +--> <plugin> <groupId>io.swagger</groupId> <artifactId>swagger-codegen-maven-plugin</artifactId> @@ -90,6 +93,46 @@ </configuration> </execution> <execution> + <id>msb</id> + <goals> + <goal>generate</goal> + </goals> + <configuration> + <inputSpec>${basedir}/src/main/resources/msb.json</inputSpec> + <language>java</language> + <library>retrofit2</library> + <output>${project.build.directory}/generated-sources/msb</output> + <apiPackage>org.onap.msb.api</apiPackage> + <modelPackage>org.onap.msb.model</modelPackage> + <configOptions> + <generateSupportingFiles>false</generateSupportingFiles> + <sourceFolder>src/gen/java/main</sourceFolder> + <withXml>true</withXml> + <useRxJava2>true</useRxJava2> + </configOptions> + </configuration> + </execution> + <execution> + <id>aai</id> + <goals> + <goal>generate</goal> + </goals> + <configuration> + <inputSpec>${basedir}/src/main/resources/aai.yaml</inputSpec> + <language>java</language> + <library>retrofit2</library> + <output>${project.build.directory}/generated-sources/aai</output> + <apiPackage>org.onap.aai.api</apiPackage> + <modelPackage>org.onap.aai.model</modelPackage> + <configOptions> + <generateSupportingFiles>false</generateSupportingFiles> + <sourceFolder>src/gen/java/main</sourceFolder> + <withXml>true</withXml> + <useRxJava2>true</useRxJava2> + </configOptions> + </configuration> + </execution> + <execution> <id>cbamlcn</id> <goals> <goal>generate</goal> |