Roll to Istanbul snapshot
[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>1.2.0-SNAPSHOT</version>
9     </parent>
10
11     <artifactId>platform-logic-installer</artifactId>
12     <packaging>pom</packaging>
13
14     <name>ccsdk-distribution :: ${project.artifactId}</name>
15     <description>Contains platform-level service logic installer</description>
16
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         </dependency>
33         <dependency>
34             <groupId>org.slf4j</groupId>
35             <artifactId>slf4j-simple</artifactId>
36         </dependency>
37         <dependency>
38             <groupId>org.onap.ccsdk.sli.core</groupId>
39             <artifactId>sli-common</artifactId>
40         </dependency>
41         <!-- 1911: 8/22 We are missing org.osgi.framework.FrameworkUtil classes while activating DG -->
42         <dependency>
43             <groupId>org.apache.felix</groupId>
44             <artifactId>org.apache.felix.framework</artifactId>
45             <version>5.6.10</version>
46             <scope>provided</scope>
47         </dependency>
48         <dependency>
49             <groupId>org.antlr</groupId>
50             <artifactId>antlr4-runtime</artifactId>
51         </dependency>
52         <dependency>
53             <groupId>org.mariadb.jdbc</groupId>
54             <artifactId>mariadb-java-client</artifactId>
55         </dependency>
56         <!-- Java 11 : need to install JAXB implementation libraries-->
57         <dependency>
58             <groupId>javax.xml.bind</groupId>
59             <artifactId>jaxb-api</artifactId>
60         </dependency>
61         <dependency>
62             <groupId>com.sun.xml.bind</groupId>
63             <artifactId>jaxb-core</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>com.sun.xml.bind</groupId>
67             <artifactId>jaxb-impl</artifactId>
68         </dependency>
69     </dependencies>
70
71     <build>
72         <plugins>
73             <plugin>
74                 <artifactId>maven-resources-plugin</artifactId>
75                 <version>2.6</version>
76                 <executions>
77                     <execution>
78                         <id>copy-version</id>
79                         <goals>
80                             <goal>copy-resources</goal>
81                         </goals><!-- here the phase you need -->
82                         <phase>validate</phase>
83                         <configuration>
84                             <outputDirectory>target/resources</outputDirectory>
85                             <resources>
86                                 <resource>
87                                     <directory>src/main/resources</directory>
88                                     <includes>
89                                         <include>*</include>
90                                     </includes>
91                                     <filtering>true</filtering>
92                                 </resource>
93                             </resources>
94                         </configuration>
95                     </execution>
96                 </executions>
97             </plugin>
98             <plugin>
99                 <artifactId>maven-assembly-plugin</artifactId>
100                 <version>2.6</version>
101                 <executions>
102                     <execution>
103                         <id>create-zip</id>
104                         <goals>
105                             <goal>single</goal>
106                         </goals>
107                         <phase>package</phase>
108                         <configuration>
109                             <attach>true</attach>
110                             <descriptors>
111                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
112                             </descriptors>
113                             <appendAssemblyId>false</appendAssemblyId>
114                         </configuration>
115                     </execution>
116
117                 </executions>
118             </plugin>
119             <plugin>
120                 <groupId>org.apache.maven.plugins</groupId>
121                 <artifactId>maven-dependency-plugin</artifactId>
122                 <executions>
123                     <execution>
124                         <id>copy-dependencies</id>
125                         <goals>
126                             <goal>copy-dependencies</goal>
127                         </goals>
128                         <phase>prepare-package</phase>
129                         <configuration>
130                             <transitive>false</transitive>
131                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
132                             <overWriteReleases>false</overWriteReleases>
133                             <overWriteSnapshots>true</overWriteSnapshots>
134                             <overWriteIfNewer>true</overWriteIfNewer>
135                             <useRepositoryLayout>false</useRepositoryLayout>
136                             <addParentPoms>false</addParentPoms>
137                             <copyPom>false</copyPom>
138                             <scope>provided</scope>
139                         </configuration>
140                     </execution>
141                 </executions>
142             </plugin>
143         </plugins>
144     </build>
145 </project>