Add (un)deploy actions in xapp mgr controller
[portal/ric-dashboard.git] / xapp-mgr-client / pom.xml
index 2659dbf..ad034ad 100644 (file)
@@ -27,7 +27,7 @@ limitations under the License.
                <artifactId>ric-dash-parent</artifactId>
                <version>1.0.0-SNAPSHOT</version>
        </parent>
-        <groupId>org.oranosc.ric.xappmgr.client</groupId>
+       <groupId>org.oranosc.ric.xappmgr.client</groupId>
        <artifactId>xapp-mgr-client</artifactId>
        <name>RIC xApp Manager client</name>
        <version>0.0.10-SNAPSHOT</version>
@@ -93,7 +93,7 @@ limitations under the License.
                        <plugin>
                                <groupId>io.swagger</groupId>
                                <artifactId>swagger-codegen-maven-plugin</artifactId>
-                               <version>2.2.3</version>
+                               <version>2.4.5</version>
                                <executions>
                                        <execution>
                                                <goals>
@@ -167,6 +167,45 @@ limitations under the License.
                                        </execution>
                                </executions>
                        </plugin>
+                       <!-- Skip the deploy-jar-to-nexus step -->
+                       <plugin>
+                               <groupId>org.apache.maven.plugins</groupId>
+                               <artifactId>maven-deploy-plugin</artifactId>
+                               <!-- Spring sets the <version>2.8</version> -->
+                               <configuration>
+                                       <skip>true</skip>
+                               </configuration>
+                       </plugin>
                </plugins>
+               <pluginManagement>
+                       <plugins>
+                               <!--This plugin's configuration is used to store Eclipse m2e settings 
+                                       only. It has no influence on the Maven build itself. -->
+                               <plugin>
+                                       <groupId>org.eclipse.m2e</groupId>
+                                       <artifactId>lifecycle-mapping</artifactId>
+                                       <version>1.0.0</version>
+                                       <configuration>
+                                               <lifecycleMappingMetadata>
+                                                       <pluginExecutions>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>io.swagger</groupId>
+                                                                               <artifactId>swagger-codegen-maven-plugin</artifactId>
+                                                                               <versionRange>[1.0,)</versionRange>
+                                                                               <goals>
+                                                                                       <goal>generate</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore/>
+                                                                       </action>
+                                                               </pluginExecution>
+                                                       </pluginExecutions>
+                                               </lifecycleMappingMetadata>
+                                       </configuration>
+                               </plugin>
+                       </plugins>
+               </pluginManagement>
        </build>
 </project>