Update to latest Frankfurt parent pom version
[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.5.10-SNAPSHOT</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.sdnc.oam</groupId>
13     <artifactId>admportal</artifactId>
14     <version>1.8.5-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     </dependencies>
58
59     <build>
60         <plugins>
61             <plugin>
62                 <artifactId>maven-assembly-plugin</artifactId>
63                 <version>2.6</version>
64                 <executions>
65                     <execution>
66                         <id>create-zip</id>
67                         <goals>
68                             <goal>single</goal>
69                         </goals>
70                         <phase>package</phase>
71                         <configuration>
72                             <finalName>${application.name}.${project.version}</finalName>
73                             <attach>true</attach>
74                             <descriptors>
75                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
76                             </descriptors>
77                             <appendAssemblyId>false</appendAssemblyId>
78                             <appendAssemblyId>false</appendAssemblyId>
79                         </configuration>
80                     </execution>
81                 </executions>
82             </plugin>
83             <plugin>
84                 <groupId>org.apache.maven.plugins</groupId>
85                 <artifactId>maven-dependency-plugin</artifactId>
86                 <executions>
87                     <execution>
88                         <id>copy-dependencies</id>
89                         <goals>
90                             <goal>copy-dependencies</goal>
91                         </goals>
92                         <phase>prepare-package</phase>
93                         <configuration>
94                             <transitive>false</transitive>
95                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
96                             <overWriteReleases>false</overWriteReleases>
97                             <overWriteSnapshots>true</overWriteSnapshots>
98                             <overWriteIfNewer>true</overWriteIfNewer>
99                             <useRepositoryLayout>false</useRepositoryLayout>
100                             <addParentPoms>false</addParentPoms>
101                             <copyPom>false</copyPom>
102                             <scope>provided</scope>
103                         </configuration>
104                     </execution>
105                 </executions>
106             </plugin>
107         </plugins>
108     </build>
109 </project>