Replace mysql with mariadb
[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/maven-v4_0_0.xsd">
4
5     <parent>
6         <groupId>org.onap.sdnc.oam</groupId>
7         <artifactId>sdnc-oam</artifactId>
8         <version>1.3.0-SNAPSHOT</version>
9     </parent>
10
11     <modelVersion>4.0.0</modelVersion>
12     <packaging>pom</packaging>
13     <groupId>org.onap.sdnc.oam</groupId>
14     <artifactId>admportal</artifactId>
15
16     <version>1.3.0-SNAPSHOT</version>
17
18     <name>Admin Portal</name>
19     <description>Admin Portal</description>
20
21     <properties>
22         <application.name>admportal</application.name>
23         <skip.SWM>true</skip.SWM>
24         <adm.base>/opt/app/admportal</adm.base>
25         <maven.build.timestamp.format>yyMMdd-HHmmss</maven.build.timestamp.format>
26         <build.number>${maven.build.timestamp}</build.number>
27         <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
28     </properties>
29
30     <dependencies>
31         <dependency>
32             <groupId>org.onap.ccsdk.sli.core</groupId>
33             <artifactId>sli-common</artifactId>
34             <version>${sdnctl.sli.version}</version>
35         </dependency>
36         <dependency>
37             <groupId>org.mariadb.jdbc</groupId>
38             <artifactId>mariadb-java-client</artifactId>
39             <version>${mariadb.connector.version}</version>
40         </dependency>
41         <dependency>
42             <groupId>org.antlr</groupId>
43             <artifactId>antlr4</artifactId>
44             <version>${antlr.version}</version>
45             <type>jar</type>
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
105     <organization>
106         <name>AT&amp;T</name>
107     </organization>
108 </project>
109