Chore: Add gerrit maven verify GHA workflow
[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.6.1</version>
9         <relativePath/>
10     </parent>
11
12     <groupId>org.onap.sdnc.oam</groupId>
13     <artifactId>admportal</artifactId>
14     <version>2.2.0-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             <version>${ccsdk.sli.version}</version>
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     </dependencies>
49
50     <build>
51         <plugins>
52             <plugin>
53                 <artifactId>maven-assembly-plugin</artifactId>
54                 <version>2.6</version>
55                 <executions>
56                     <execution>
57                         <id>create-zip</id>
58                         <goals>
59                             <goal>single</goal>
60                         </goals>
61                         <phase>package</phase>
62                         <configuration>
63                             <finalName>${application.name}.${project.version}</finalName>
64                             <attach>true</attach>
65                             <descriptors>
66                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
67                             </descriptors>
68                             <appendAssemblyId>false</appendAssemblyId>
69                             <appendAssemblyId>false</appendAssemblyId>
70                         </configuration>
71                     </execution>
72                 </executions>
73             </plugin>
74             <plugin>
75                 <groupId>org.apache.maven.plugins</groupId>
76                 <artifactId>maven-dependency-plugin</artifactId>
77                 <executions>
78                     <execution>
79                         <id>copy-dependencies</id>
80                         <goals>
81                             <goal>copy-dependencies</goal>
82                         </goals>
83                         <phase>prepare-package</phase>
84                         <configuration>
85                             <transitive>false</transitive>
86                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
87                             <overWriteReleases>false</overWriteReleases>
88                             <overWriteSnapshots>true</overWriteSnapshots>
89                             <overWriteIfNewer>true</overWriteIfNewer>
90                             <useRepositoryLayout>false</useRepositoryLayout>
91                             <addParentPoms>false</addParentPoms>
92                             <copyPom>false</copyPom>
93                             <scope>provided</scope>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98         </plugins>
99     </build>
100 </project>