blob: ba1c03c4306e2631a3999bb8468ef6993684e443 [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)3948e2a2019-09-12 10:04:46 -04008 <version>0.7.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)3948e2a2019-09-12 10:04:46 -040012 <version>0.7.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>
Singal, Kapil (ks220y)4ba691b2019-08-22 13:34:32 -040043 <!-- 1911: 8/22 We are missing org.osgi.framework.FrameworkUtil classes while activating DG -->
44 <dependency>
45 <groupId>org.apache.felix</groupId>
46 <artifactId>org.apache.felix.framework</artifactId>
47 <version>5.6.10</version>
48 <scope>provided</scope>
49 </dependency>
Dan Timoney912f98b2018-02-27 14:10:22 -050050 <dependency>
51 <groupId>org.antlr</groupId>
52 <artifactId>antlr4</artifactId>
53 <version>${antlr.version}</version>
54 </dependency>
55 <dependency>
56 <groupId>org.mariadb.jdbc</groupId>
57 <artifactId>mariadb-java-client</artifactId>
58 <version>${mariadb.connector.version}</version>
59 </dependency>
60 </dependencies>
Dan Timoney24a1a1b2017-08-21 10:27:47 -040061
62 <build>
63 <plugins>
64 <plugin>
65 <artifactId>maven-resources-plugin</artifactId>
66 <version>2.6</version>
67 <executions>
68 <execution>
69 <id>copy-version</id>
70 <goals>
71 <goal>copy-resources</goal>
72 </goals><!-- here the phase you need -->
73 <phase>validate</phase>
74 <configuration>
75 <outputDirectory>target/resources</outputDirectory>
76 <resources>
77 <resource>
78 <directory>src/main/resources</directory>
79 <includes>
80 <include>*</include>
81 </includes>
82 <filtering>true</filtering>
83 </resource>
84 </resources>
85 </configuration>
86 </execution>
87 </executions>
88 </plugin>
89 <plugin>
90 <artifactId>maven-assembly-plugin</artifactId>
91 <version>2.6</version>
92 <executions>
93 <execution>
94 <id>create-zip</id>
95 <goals>
96 <goal>single</goal>
97 </goals>
98 <phase>package</phase>
99 <configuration>
100 <attach>true</attach>
101 <descriptors>
102 <descriptor>src/assembly/assemble_zip.xml</descriptor>
103 </descriptors>
104 <appendAssemblyId>false</appendAssemblyId>
105 </configuration>
106 </execution>
107
108 </executions>
109 </plugin>
110 <plugin>
111 <groupId>org.apache.maven.plugins</groupId>
112 <artifactId>maven-dependency-plugin</artifactId>
113 <executions>
114 <execution>
115 <id>copy-dependencies</id>
116 <goals>
117 <goal>copy-dependencies</goal>
118 </goals>
119 <phase>prepare-package</phase>
120 <configuration>
121 <transitive>false</transitive>
122 <outputDirectory>${project.build.directory}/lib</outputDirectory>
123 <overWriteReleases>false</overWriteReleases>
124 <overWriteSnapshots>true</overWriteSnapshots>
125 <overWriteIfNewer>true</overWriteIfNewer>
126 <useRepositoryLayout>false</useRepositoryLayout>
127 <addParentPoms>false</addParentPoms>
128 <copyPom>false</copyPom>
129 <scope>provided</scope>
130 </configuration>
131 </execution>
132 </executions>
133 </plugin>
134 </plugins>
Dan Timoney24a1a1b2017-08-21 10:27:47 -0400135 </build>
Dan Timoney24a1a1b2017-08-21 10:27:47 -0400136</project>