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