Replace JDBC connector
[ccsdk/distribution.git] / dgbuilder / 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.ccsdk.distribution</groupId>
7         <artifactId>distribution-root</artifactId>
8         <version>0.2.0-SNAPSHOT</version>
9     </parent>
10
11         <modelVersion>4.0.0</modelVersion>
12         <packaging>pom</packaging>
13         <groupId>org.onap.ccsdk.distribution</groupId>
14         <artifactId>distribution-dgbuilder</artifactId>
15
16         <version>0.2.0-SNAPSHOT</version>
17
18         <name>Distribution - dgbuilder</name>
19         <description>Directed Graph Builder</description>
20
21         <properties>
22                 <application.name>dgbuilder</application.name>
23                 <skip.SWM>true</skip.SWM>
24                 <adm.base>/opt/app/dgbuilder</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                         <scope>compile</scope>
47                 </dependency>
48                 <dependency>
49                         <groupId>org.slf4j</groupId>
50                         <artifactId>slf4j-api</artifactId>
51                         <version>${slf4j.version}</version>
52                 </dependency>
53                 <dependency>
54                         <groupId>org.slf4j</groupId>
55                         <artifactId>slf4j-simple</artifactId>
56                         <version>1.7.5</version>
57                         <scope>compile</scope>
58                 </dependency>
59                 <dependency>
60                         <groupId>org.apache.commons</groupId>
61                         <artifactId>commons-lang3</artifactId>
62                         <version>${commons.lang3.version}</version>
63                 </dependency>
64         </dependencies>
65
66         <build>
67                 <plugins>
68                         <plugin>
69                                 <artifactId>maven-assembly-plugin</artifactId>
70                                 <version>2.6</version>
71                                 <executions>
72                                         <execution>
73                                                 <id>create-zip</id>
74                                                 <goals>
75                                                         <goal>single</goal>
76                                                 </goals>
77                                                 <phase>package</phase>
78                                                 <configuration>
79                                                         <finalName>${application.name}.${project.version}</finalName>
80                                                         <attach>true</attach>
81                                                         <descriptors>
82                                                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
83                                                         </descriptors>
84                                                         <appendAssemblyId>false</appendAssemblyId>
85                                                 </configuration>
86                                         </execution>
87                                 </executions>
88                         </plugin>
89                         <plugin>
90                                 <groupId>org.apache.maven.plugins</groupId>
91                                 <artifactId>maven-dependency-plugin</artifactId>
92                                 <executions>
93                                         <execution>
94                                                 <id>copy-dependencies</id>
95                                                 <goals>
96                                                         <goal>copy-dependencies</goal>
97                                                 </goals>
98                                                 <phase>prepare-package</phase>
99                                                 <configuration>
100                                                         <transitive>false</transitive>
101                                                         <outputDirectory>${project.build.directory}/svclogic/lib</outputDirectory>
102                                                         <overWriteReleases>false</overWriteReleases>
103                                                         <overWriteSnapshots>true</overWriteSnapshots>
104                                                         <overWriteIfNewer>true</overWriteIfNewer>
105                                                         <useRepositoryLayout>false</useRepositoryLayout>
106                                                         <addParentPoms>false</addParentPoms>
107                                                         <copyPom>false</copyPom>
108                                                         <scope>provided</scope>
109                                                 </configuration>
110                                         </execution>
111                                 </executions>
112                         </plugin>
113                         <plugin>
114                                 <groupId>org.apache.maven.plugins</groupId>
115                                 <artifactId>maven-antrun-plugin</artifactId>
116                                 <executions>
117                                         <execution>
118                                         <phase>generate-sources</phase>
119                                         <configuration>
120                                         <tasks>
121                                                 <exec executable="${project.basedir}/build_pom_for_yang_compile">
122                                                         <!--<arg value="${odlparent-carbon-sr1-version}"/>-->
123                                                 </exec>
124                                         </tasks>
125                                         </configuration>
126                                         <goals>
127                                                 <goal>run</goal>
128                                 </goals>
129                                 </execution>
130                         </executions>
131                         </plugin>
132                 </plugins>
133         </build>
134         <organization>
135                 <name>ONAP</name>
136         </organization>
137 </project>
138