blob: ee6a2d036b3b5e57a4f2b01716066e43f8c9f27f [file] [log] [blame]
Dan Timoney24a1a1b2017-08-21 10:27:47 -04001<?xml version="1.0" encoding="UTF-8"?>
Dan Timoney912f98b2018-02-27 14:10:22 -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 Timoney24a1a1b2017-08-21 10:27:47 -04004
5 <parent>
6 <groupId>org.onap.ccsdk.distribution</groupId>
7 <artifactId>distribution-platform-logic</artifactId>
Timoney, Dan (dt5972)53cb6872019-07-30 12:13:33 -04008 <version>0.6.0-SNAPSHOT</version>
Dan Timoney24a1a1b2017-08-21 10:27:47 -04009 </parent>
10
Dan Timoney24a1a1b2017-08-21 10:27:47 -040011 <artifactId>platform-logic-installer</artifactId>
Timoney, Dan (dt5972)53cb6872019-07-30 12:13:33 -040012 <version>0.6.0-SNAPSHOT</version>
Dan Timoney912f98b2018-02-27 14:10:22 -050013 <packaging>pom</packaging>
Dan Timoney24a1a1b2017-08-21 10:27:47 -040014
Dan Timoney912f98b2018-02-27 14:10:22 -050015 <name>ccsdk-distribution :: platform-logic :: ${project.artifactId}</name>
Dan Timoney24a1a1b2017-08-21 10:27:47 -040016 <description>Contains platform-level service logic installer</description>
Timoney, Dan (dt5972)e7cfae52019-01-03 15:14:58 -050017 <dependencyManagement>
18 <dependencies>
19 <dependency>
20 <groupId>org.onap.ccsdk.sli.core</groupId>
21 <artifactId>sli-core-artifacts</artifactId>
22 <version>${ccsdk.sli.core.version}</version>
23 <type>pom</type>
24 <scope>import</scope>
25 </dependency>
26 </dependencies>
27 </dependencyManagement>
Dan Timoney912f98b2018-02-27 14:10:22 -050028 <dependencies>
29 <dependency>
30 <groupId>org.slf4j</groupId>
31 <artifactId>slf4j-api</artifactId>
32 <version>${slf4j.version}</version>
33 </dependency>
34 <dependency>
35 <groupId>org.slf4j</groupId>
36 <artifactId>slf4j-simple</artifactId>
37 <version>${slf4j.version}</version>
38 </dependency>
39 <dependency>
40 <groupId>org.onap.ccsdk.sli.core</groupId>
41 <artifactId>sli-common</artifactId>
42 </dependency>
43 <dependency>
44 <groupId>org.antlr</groupId>
45 <artifactId>antlr4</artifactId>
46 <version>${antlr.version}</version>
47 </dependency>
48 <dependency>
49 <groupId>org.mariadb.jdbc</groupId>
50 <artifactId>mariadb-java-client</artifactId>
51 <version>${mariadb.connector.version}</version>
52 </dependency>
53 </dependencies>
Dan Timoney24a1a1b2017-08-21 10:27:47 -040054
55 <build>
56 <plugins>
57 <plugin>
58 <artifactId>maven-resources-plugin</artifactId>
59 <version>2.6</version>
60 <executions>
61 <execution>
62 <id>copy-version</id>
63 <goals>
64 <goal>copy-resources</goal>
65 </goals><!-- here the phase you need -->
66 <phase>validate</phase>
67 <configuration>
68 <outputDirectory>target/resources</outputDirectory>
69 <resources>
70 <resource>
71 <directory>src/main/resources</directory>
72 <includes>
73 <include>*</include>
74 </includes>
75 <filtering>true</filtering>
76 </resource>
77 </resources>
78 </configuration>
79 </execution>
80 </executions>
81 </plugin>
82 <plugin>
83 <artifactId>maven-assembly-plugin</artifactId>
84 <version>2.6</version>
85 <executions>
86 <execution>
87 <id>create-zip</id>
88 <goals>
89 <goal>single</goal>
90 </goals>
91 <phase>package</phase>
92 <configuration>
93 <attach>true</attach>
94 <descriptors>
95 <descriptor>src/assembly/assemble_zip.xml</descriptor>
96 </descriptors>
97 <appendAssemblyId>false</appendAssemblyId>
98 </configuration>
99 </execution>
100
101 </executions>
102 </plugin>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-dependency-plugin</artifactId>
106 <executions>
107 <execution>
108 <id>copy-dependencies</id>
109 <goals>
110 <goal>copy-dependencies</goal>
111 </goals>
112 <phase>prepare-package</phase>
113 <configuration>
114 <transitive>false</transitive>
115 <outputDirectory>${project.build.directory}/lib</outputDirectory>
116 <overWriteReleases>false</overWriteReleases>
117 <overWriteSnapshots>true</overWriteSnapshots>
118 <overWriteIfNewer>true</overWriteIfNewer>
119 <useRepositoryLayout>false</useRepositoryLayout>
120 <addParentPoms>false</addParentPoms>
121 <copyPom>false</copyPom>
122 <scope>provided</scope>
123 </configuration>
124 </execution>
125 </executions>
126 </plugin>
127 </plugins>
Dan Timoney24a1a1b2017-08-21 10:27:47 -0400128 </build>
Dan Timoney24a1a1b2017-08-21 10:27:47 -0400129</project>