aboutsummaryrefslogtreecommitdiffstats
path: root/aai-core/pom.xml
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-06-27 09:19:22 -0400
committerVenkata Harish K Kajur <vk250x@att.com>2017-06-27 13:50:15 -0400
commit323c3c56919bf25a3df9bffffd9bf5bc66fd5017 (patch)
tree57809bcebe23c3e62315b5fec78792f32c0b631d /aai-core/pom.xml
parenteff9232ffe36022d63e6a70df7a3f0165015bbc8 (diff)
[AAI-12] Add the swagger documentation for onap
Change-Id: If2ebc7acd38c3a268c1461b05f1b7ff1bc0c8548 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-core/pom.xml')
-rw-r--r--aai-core/pom.xml124
1 files changed, 124 insertions, 0 deletions
diff --git a/aai-core/pom.xml b/aai-core/pom.xml
index 22d6daf8..fb0b985d 100644
--- a/aai-core/pom.xml
+++ b/aai-core/pom.xml
@@ -22,7 +22,126 @@
<sonar.jacoco.reportPath>${project.build.directory}/coverage-reports/jacoco.exec</sonar.jacoco.reportPath>
<sonar.jacoco.reportMissing.force.zero>false</sonar.jacoco.reportMissing.force.zero>
<sonar.projectVersion>${project.version}</sonar.projectVersion>
+ <gendoc.version>v10</gendoc.version>
+ <aai.wiki.link>https://wiki.onap.org/</aai.wiki.link>
</properties>
+ <profiles>
+ <profile>
+ <id>generateXsd</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <mainClass>org.openecomp.aai.util.GenerateXsd</mainClass>
+ <systemProperties>
+ <systemProperty>
+ <key>gen_version</key>
+ <value>${gendoc.version}</value>
+ </systemProperty>
+ <systemProperty>
+ <key>gen_type</key>
+ <value>XSD</value>
+ </systemProperty>
+ <systemProperty>
+ <key>yamlresponses_url</key>
+ <value></value>
+ </systemProperty>
+ <systemProperty>
+ <key>yamlresponses_label</key>
+ <value></value>
+ </systemProperty>
+ </systemProperties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>generateYaml</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <mainClass>org.openecomp.aai.util.GenerateXsd</mainClass>
+ <systemProperties>
+ <systemProperty>
+ <key>gen_version</key>
+ <value>${gendoc.version}</value>
+ </systemProperty>
+ <systemProperty>
+ <key>gen_type</key>
+ <value>YAML</value>
+ </systemProperty>
+ <systemProperty>
+ <key>yamlresponses_url</key>
+ <value>${aai.wiki.link}</value>
+ </systemProperty>
+ <systemProperty>
+ <key>yamlresponses_label</key>
+ <value>Response codes found in [response codes]</value>
+ </systemProperty>
+ </systemProperties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
+ <id>generateHtml</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.1.1</version>
+ <executions>
+ <execution>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>java</goal>
+ </goals>
+ <configuration>
+ <mainClass>org.openecomp.aai.util.swagger.GenerateSwagger</mainClass>
+ <systemProperties>
+ <property>
+ <key>aai.generate.version</key>
+ <value>${gendoc.version}</value>
+ </property>
+ <property>
+ <key>aai.wiki.link</key>
+ <value>${aai.wiki.link}</value>
+ </property>
+ </systemProperties>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
<dependencies>
<dependency>
<groupId>org.onap.aai.aai-common</groupId>
@@ -190,6 +309,11 @@
<version>2.1.4</version>
</dependency>
<dependency>
+ <groupId>com.fasterxml.jackson.dataformat</groupId>
+ <artifactId>jackson-dataformat-yaml</artifactId>
+ <version>2.1.4</version>
+ </dependency>
+ <dependency>
<groupId>xml-apis</groupId>
<artifactId>xml-apis</artifactId>
<version>1.0.b2</version>