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