Missing org.osgi.framework.FrameworkUtil
[ccsdk/distribution.git] / platform-logic / installer / 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.distribution</groupId>
7         <artifactId>distribution-platform-logic</artifactId>
8         <version>0.6.0-SNAPSHOT</version>
9     </parent>
10
11     <artifactId>platform-logic-installer</artifactId>
12     <version>0.6.0-SNAPSHOT</version>
13     <packaging>pom</packaging>
14
15     <name>ccsdk-distribution :: platform-logic :: ${project.artifactId}</name>
16     <description>Contains platform-level service logic installer</description>
17     <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>
28     <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         <!-- 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>
50         <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>
61
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>
135     </build>
136 </project>