blob: e7a067ae1f37dcd5731bee8b5d63909897917e3f [file] [log] [blame]
Dan Timoneyb2175582017-03-31 17:47:19 -04001<?xml version="1.0" encoding="UTF-8"?>
Timoney, Dan (dt5972)63298742018-03-01 10:59:28 -05002<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>
Dan Timoneyb2175582017-03-31 17:47:19 -04004
5 <parent>
Timoney, Dan (dt5972)63298742018-03-01 10:59:28 -05006 <groupId>org.onap.ccsdk.parent</groupId>
7 <artifactId>odlparent-lite</artifactId>
Timoney, Dan (dt5972)a4c20262018-06-01 08:08:49 -04008 <version>1.0.4</version>
Timoney, Dan (dt5972)63298742018-03-01 10:59:28 -05009 <relativePath />
Dan Timoneyb2175582017-03-31 17:47:19 -040010 </parent>
11
Dan Timoney98ddb132017-09-01 17:40:45 -040012 <groupId>org.onap.sdnc.oam</groupId>
Dan Timoneyb2175582017-03-31 17:47:19 -040013 <artifactId>dgbuilder</artifactId>
Timoney, Dan (dt5972)a4c20262018-06-01 08:08:49 -040014 <version>1.3.4-SNAPSHOT</version>
Timoney, Dan (dt5972)63298742018-03-01 10:59:28 -050015 <packaging>pom</packaging>
Dan Timoneyb2175582017-03-31 17:47:19 -040016
Timoney, Dan (dt5972)63298742018-03-01 10:59:28 -050017 <name>sdnc-oam :: dgbuilder</name>
Dan Timoneyb2175582017-03-31 17:47:19 -040018 <description>Directed Graph Builder</description>
Timoney, Dan (dt5972)63298742018-03-01 10:59:28 -050019 <organization>
20 <name>ONAP</name>
21 </organization>
Dan Timoneyb2175582017-03-31 17:47:19 -040022
23 <properties>
24 <application.name>dgbuilder</application.name>
25 <skip.SWM>true</skip.SWM>
26 <adm.base>/opt/app/dgbuilder</adm.base>
Jessica Wagantallebaf4ef2018-04-04 18:28:31 -070027 <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format>
Dan Timoneyb2175582017-03-31 17:47:19 -040028 <build.number>${maven.build.timestamp}</build.number>
29 <SWM_VERSION>${project.version}-${build.number}</SWM_VERSION>
30 </properties>
31
32 <dependencies>
33 <dependency>
Dan Timoney98ddb132017-09-01 17:40:45 -040034 <groupId>org.onap.ccsdk.sli.core</groupId>
Dan Timoneyb2175582017-03-31 17:47:19 -040035 <artifactId>sli-common</artifactId>
Dan Timoneyb2175582017-03-31 17:47:19 -040036 </dependency>
Dan Timoney33314622018-02-13 09:42:07 -050037 <dependency>
38 <groupId>org.mariadb.jdbc</groupId>
39 <artifactId>mariadb-java-client</artifactId>
40 <version>${mariadb.connector.version}</version>
41 </dependency>
Dan Timoneyb2175582017-03-31 17:47:19 -040042 <dependency>
43 <groupId>org.antlr</groupId>
Timoney, Dan (dt5972)63298742018-03-01 10:59:28 -050044 <artifactId>antlr4-runtime</artifactId>
45 <version>${antlr.version}</version>
Dan Timoneyb2175582017-03-31 17:47:19 -040046 </dependency>
47 <dependency>
48 <groupId>org.slf4j</groupId>
49 <artifactId>slf4j-api</artifactId>
Timoney, Dan (dt5972)63298742018-03-01 10:59:28 -050050 <version>${slf4j.version}</version>
Dan Timoneyb2175582017-03-31 17:47:19 -040051 </dependency>
52 <dependency>
53 <groupId>org.slf4j</groupId>
54 <artifactId>slf4j-simple</artifactId>
Timoney, Dan (dt5972)63298742018-03-01 10:59:28 -050055 <version>${slf4j.version}</version>
Dan Timoneyb2175582017-03-31 17:47:19 -040056 </dependency>
57 <dependency>
58 <groupId>org.apache.commons</groupId>
59 <artifactId>commons-lang3</artifactId>
Timoney, Dan (dt5972)63298742018-03-01 10:59:28 -050060 <version>${commons.lang3.version}</version>
Dan Timoneyb2175582017-03-31 17:47:19 -040061 </dependency>
62 </dependencies>
63
64 <build>
65 <plugins>
66 <plugin>
67 <artifactId>maven-assembly-plugin</artifactId>
Guo Ruijinga5aae992017-05-07 19:08:00 +000068 <version>2.6</version>
Dan Timoneyb2175582017-03-31 17:47:19 -040069 <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>
Guo Ruijinga5aae992017-05-07 19:08:00 +000082 <appendAssemblyId>false</appendAssemblyId>
Dan Timoneyb2175582017-03-31 17:47:19 -040083 </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>
Chinthakayala, Sheshashailavas4cc1e4b2017-04-07 08:18:56 -0900111 <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>
Dan Timoney9e9f9642017-04-24 14:48:08 -0400118 <tasks>
119 <exec executable="${project.basedir}/build_pom_for_yang_compile">
120 <arg value="${project.parent.version}"/>
121 </exec>
122 </tasks>
Chinthakayala, Sheshashailavas4cc1e4b2017-04-07 08:18:56 -0900123 </configuration>
124 <goals>
125 <goal>run</goal>
126 </goals>
127 </execution>
128 </executions>
129 </plugin>
Dan Timoneyb2175582017-03-31 17:47:19 -0400130 </plugins>
131 </build>
Dan Timoneyb2175582017-03-31 17:47:19 -0400132</project>