1) Adding docker.skip.push tag so that it can be used to skip docker push during...
[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.1.1-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             <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         <!-- Java 11 : need to install JAXB implementation libraries-->
61         <dependency>
62             <groupId>javax.xml.bind</groupId>
63             <artifactId>jaxb-api</artifactId>
64         </dependency>
65         <dependency>
66             <groupId>com.sun.xml.bind</groupId>
67             <artifactId>jaxb-core</artifactId>
68         </dependency>
69         <dependency>
70             <groupId>com.sun.xml.bind</groupId>
71             <artifactId>jaxb-impl</artifactId>
72         </dependency>
73     </dependencies>
74
75     <build>
76         <plugins>
77             <plugin>
78                 <artifactId>maven-resources-plugin</artifactId>
79                 <version>2.6</version>
80                 <executions>
81                     <execution>
82                         <id>copy-version</id>
83                         <goals>
84                             <goal>copy-resources</goal>
85                         </goals><!-- here the phase you need -->
86                         <phase>validate</phase>
87                         <configuration>
88                             <outputDirectory>target/resources</outputDirectory>
89                             <resources>
90                                 <resource>
91                                     <directory>src/main/resources</directory>
92                                     <includes>
93                                         <include>*</include>
94                                     </includes>
95                                     <filtering>true</filtering>
96                                 </resource>
97                             </resources>
98                         </configuration>
99                     </execution>
100                 </executions>
101             </plugin>
102             <plugin>
103                 <artifactId>maven-assembly-plugin</artifactId>
104                 <version>2.6</version>
105                 <executions>
106                     <execution>
107                         <id>create-zip</id>
108                         <goals>
109                             <goal>single</goal>
110                         </goals>
111                         <phase>package</phase>
112                         <configuration>
113                             <attach>true</attach>
114                             <descriptors>
115                                 <descriptor>src/assembly/assemble_zip.xml</descriptor>
116                             </descriptors>
117                             <appendAssemblyId>false</appendAssemblyId>
118                         </configuration>
119                     </execution>
120
121                 </executions>
122             </plugin>
123             <plugin>
124                 <groupId>org.apache.maven.plugins</groupId>
125                 <artifactId>maven-dependency-plugin</artifactId>
126                 <executions>
127                     <execution>
128                         <id>copy-dependencies</id>
129                         <goals>
130                             <goal>copy-dependencies</goal>
131                         </goals>
132                         <phase>prepare-package</phase>
133                         <configuration>
134                             <transitive>false</transitive>
135                             <outputDirectory>${project.build.directory}/lib</outputDirectory>
136                             <overWriteReleases>false</overWriteReleases>
137                             <overWriteSnapshots>true</overWriteSnapshots>
138                             <overWriteIfNewer>true</overWriteIfNewer>
139                             <useRepositoryLayout>false</useRepositoryLayout>
140                             <addParentPoms>false</addParentPoms>
141                             <copyPom>false</copyPom>
142                             <scope>provided</scope>
143                         </configuration>
144                     </execution>
145                 </executions>
146             </plugin>
147         </plugins>
148     </build>
149 </project>