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