Add logic to delete resource also from AAI
[sdnc/oam.git] / admportal / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <modelVersion>4.0.0</modelVersion>
4
5     <parent>
6         <groupId>org.onap.ccsdk.parent</groupId>
7         <artifactId>binding-parent</artifactId>
8         <version>1.2.4</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.sdnc.oam</groupId>
13     <artifactId>admportal</artifactId>
14     <version>1.5.4-SNAPSHOT</version>
15     <packaging>pom</packaging>
16
17     <name>sdnc-oam :: admportal</name>
18     <description>Admin Portal</description>
19     <organization>
20         <name>ONAP</name>
21     </organization>
22
23     <properties>
24         <application.name>admportal</application.name>
25         <skip.SWM>true</skip.SWM>
26         <adm.base>/opt/app/admportal</adm.base>
27         <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
28         <build.number>${maven.build.timestamp}</build.number>
29         <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
30     </properties>
31         <dependencyManagement>
32             <dependencies>
33                 <dependency>
34                     <groupId>org.onap.ccsdk.sli.core</groupId>
35                     <artifactId>sli-core-artifacts</artifactId>
36                     <version>${ccsdk.sli.core.version}</version>
37                     <type>pom</type>
38                     <scope>import</scope>
39                 </dependency>
40             </dependencies>
41         </dependencyManagement>
42     <dependencies>
43         <dependency>
44             <groupId>org.onap.ccsdk.sli.core</groupId>
45             <artifactId>sli-common</artifactId>
46         </dependency>
47         <dependency>
48             <groupId>org.mariadb.jdbc</groupId>
49             <artifactId>mariadb-java-client</artifactId>
50             <version>${mariadb.connector.version}</version>
51         </dependency>
52         <dependency>
53             <groupId>org.antlr</groupId>
54             <artifactId>antlr4</artifactId>
55             <version>${antlr.version}</version>
56         </dependency>
57         <dependency>
58             <groupId>equinoxSDK381</groupId>
59             <artifactId>org.eclipse.osgi</artifactId>
60             <version>${equinox.osgi.version}</version>
61         </dependency>
62     </dependencies>
63
64     <build>
65         <plugins>
66             <plugin>
67                 <artifactId>maven-assembly-plugin</artifactId>
68                 <version>2.6</version>
69                 <executions>
70                     <execution>
71                         <id>create-zip</id>
72                         <goals>
73                             <goal>single</goal>
74                         </goals>
75                         <phase>package</phase>
76                         <configuration>
77                             <finalName>${application.name}.${project.version}</finalName>
78                             <attach>true</attach>
79                             <descriptors>
80                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
81                             </descriptors>
82                             <appendAssemblyId>false</appendAssemblyId>
83                             <appendAssemblyId>false</appendAssemblyId>
84                         </configuration>
85                     </execution>
86                 </executions>
87             </plugin>
88             <plugin>
89                 <groupId>org.apache.maven.plugins</groupId>
90                 <artifactId>maven-dependency-plugin</artifactId>
91                 <executions>
92                     <execution>
93                         <id>copy-dependencies</id>
94                         <goals>
95                             <goal>copy-dependencies</goal>
96                         </goals>
97                         <phase>prepare-package</phase>
98                         <configuration>
99                             <transitive>false</transitive>
100                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
101                             <overWriteReleases>false</overWriteReleases>
102                             <overWriteSnapshots>true</overWriteSnapshots>
103                             <overWriteIfNewer>true</overWriteIfNewer>
104                             <useRepositoryLayout>false</useRepositoryLayout>
105                             <addParentPoms>false</addParentPoms>
106                             <copyPom>false</copyPom>
107                             <scope>provided</scope>
108                         </configuration>
109                     </execution>
110                 </executions>
111             </plugin>
112         </plugins>
113     </build>
114 </project>