forked from docker-java/docker-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
104 lines (96 loc) · 3.25 KB
/
pom.xml
File metadata and controls
104 lines (96 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.github.docker-java</groupId>
<artifactId>docker-java-parent</artifactId>
<version>0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>
<artifactId>docker-java-transport-zerodep</artifactId>
<packaging>jar</packaging>
<name>docker-java-transport-zerodep</name>
<url>https://github.com/docker-java/docker-java</url>
<description>Java API Client for Docker</description>
<dependencies>
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>docker-java-transport-httpclient5</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>com.github.siom79.japicmp</groupId>
<artifactId>japicmp-maven-plugin</artifactId>
<configuration>
<!-- TODO remove once this module is released -->
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Export-Package>com.github.dockerjava.zerodep.*</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<promoteTransitiveDependencies>true</promoteTransitiveDependencies>
<createSourcesJar>true</createSourcesJar>
<artifactSet>
<excludes>
<exclude>com.github.docker-java:docker-java-transport</exclude>
<exclude>net.java.dev.jna:jna-platform</exclude>
<exclude>net.java.dev.jna:*</exclude>
<exclude>org.slf4j:slf4j-api</exclude>
</excludes>
</artifactSet>
<filters>
<filter>
<artifact>com.github.docker-java:docker-java-transport-httpclient5</artifact>
<excludes>
<exclude>com/github/dockerjava/httpclient5/ApacheDockerHttpClient.class</exclude>
<exclude>com/github/dockerjava/httpclient5/ApacheDockerHttpClient$*</exclude>
</excludes>
</filter>
<filter>
<artifact>org.apache.httpcomponents.client5:httpclient5</artifact>
<excludes>
<exclude>mozilla/*</exclude>
</excludes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>org.apache</pattern>
<shadedPattern>com.github.dockerjava.zerodep.shaded.org.apache</shadedPattern>
</relocation>
<relocation>
<pattern>com.github.dockerjava.httpclient5</pattern>
<shadedPattern>com.github.dockerjava.zerodep</shadedPattern>
</relocation>
</relocations>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
</transformers>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>