kasakrisz commented on a change in pull request #20: AMBARI-24969 - Infra 
Manager: REST api cleanup
URL: https://github.com/apache/ambari-infra/pull/20#discussion_r238059613
 
 

 ##########
 File path: ambari-infra-manager-it/pom.xml
 ##########
 @@ -182,6 +211,53 @@
         <directory>src/test/resources</directory>
       </testResource>
     </testResources>
+    <plugins>
+      <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.parent.basedir}/ambari-infra-manager/src/main/resources/swagger/swagger.yaml</inputSpec>
+              <language>java</language>
+              <generateApiTests>false</generateApiTests>
+              <generateModelTests>false</generateModelTests>
+              <output>${generated-sources-path}</output>
+              <configOptions>
+                <sourceFolder>${generated-sources-java-path}</sourceFolder>
+                <apiPackage>org.apache.ambari.infra.client.api</apiPackage>
+                
<modelPackage>org.apache.ambari.infra.client.model</modelPackage>
+                
<invokerPackage>org.apache.ambari.infra.client.invoker</invokerPackage>
+                <dateLibrary>java8</dateLibrary>
 
 Review comment:
   I've just run the integration tests with java11 and it works after adding 
`javax.annotation:javax.annotation-api` and `javax.xml.bind:jaxb-api`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to