Use released Honolulu M3 version of CCSDK artifacts
[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>2.1.1</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.sdnc.oam</groupId>
13     <artifactId>admportal</artifactId>
14     <version>2.0.1-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
32     <dependencyManagement>
33         <dependencies>
34             <dependency>
35   <groupId>org.onap.ccsdk.sli.core</groupId>
36   <artifactId>sli-core-artifacts</artifactId>
37   <version>${ccsdk.sli.core.version}</version>
38   <type>pom</type>
39   <scope>import</scope>
40             </dependency>
41         </dependencies>
42     </dependencyManagement>
43     <dependencies>
44         <dependency>
45             <groupId>org.onap.ccsdk.sli.core</groupId>
46             <artifactId>sli-common</artifactId>
47         </dependency>
48         <dependency>
49             <groupId>org.mariadb.jdbc</groupId>
50             <artifactId>mariadb-java-client</artifactId>
51             <version>${mariadb.connector.version}</version>
52         </dependency>
53         <dependency>
54             <groupId>org.antlr</groupId>
55             <artifactId>antlr4</artifactId>
56             <version>${antlr.version}</version>
57         </dependency>
58     </dependencies>
59
60     <build>
61         <plugins>
62             <plugin>
63                 <artifactId>maven-assembly-plugin</artifactId>
64                 <version>2.6</version>
65                 <executions>
66                     <execution>
67                         <id>create-zip</id>
68                         <goals>
69                             <goal>single</goal>
70                         </goals>
71                         <phase>package</phase>
72                         <configuration>
73                             <finalName>${application.name}.${project.version}</finalName>
74                             <attach>true</attach>
75                             <descriptors>
76                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
77                             </descriptors>
78                             <appendAssemblyId>false</appendAssemblyId>
79                             <appendAssemblyId>false</appendAssemblyId>
80                         </configuration>
81                     </execution>
82                 </executions>
83             </plugin>
84             <plugin>
85                 <groupId>org.apache.maven.plugins</groupId>
86                 <artifactId>maven-dependency-plugin</artifactId>
87                 <executions>
88                     <execution>
89                         <id>copy-dependencies</id>
90                         <goals>
91                             <goal>copy-dependencies</goal>
92                         </goals>
93                         <phase>prepare-package</phase>
94                         <configuration>
95                             <transitive>false</transitive>
96                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
97                             <overWriteReleases>false</overWriteReleases>
98                             <overWriteSnapshots>true</overWriteSnapshots>
99                             <overWriteIfNewer>true</overWriteIfNewer>
100                             <useRepositoryLayout>false</useRepositoryLayout>
101                             <addParentPoms>false</addParentPoms>
102                             <copyPom>false</copyPom>
103                             <scope>provided</scope>
104                         </configuration>
105                     </execution>
106                 </executions>
107             </plugin>
108         </plugins>
109     </build>
110 </project>