|
| 1 | +<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"> |
| 2 | + <modelVersion>4.0.0</modelVersion> |
| 3 | + |
| 4 | + <parent> |
| 5 | + <groupId>com.github.docker-java</groupId> |
| 6 | + <artifactId>docker-java-parent</artifactId> |
| 7 | + <version>3.1.6-SNAPSHOT</version> |
| 8 | + <relativePath>../pom.xml</relativePath> |
| 9 | + </parent> |
| 10 | + |
| 11 | + <artifactId>docker-java</artifactId> |
| 12 | + <packaging>bundle</packaging> |
| 13 | + |
| 14 | + <name>docker-java</name> |
| 15 | + <url>https://github.com/docker-java/docker-java</url> |
| 16 | + <description>Java API Client for Docker</description> |
| 17 | + |
| 18 | + <dependencies> |
| 19 | + <dependency> |
| 20 | + <groupId>com.fasterxml.jackson.jaxrs</groupId> |
| 21 | + <artifactId>jackson-jaxrs-json-provider</artifactId> |
| 22 | + <version>${jackson-jaxrs.version}</version> |
| 23 | + </dependency> |
| 24 | + <dependency> |
| 25 | + <groupId>org.glassfish.jersey.connectors</groupId> |
| 26 | + <artifactId>jersey-apache-connector</artifactId> |
| 27 | + <version>${jersey.version}</version> |
| 28 | + </dependency> |
| 29 | + <dependency> |
| 30 | + <groupId>org.apache.httpcomponents</groupId> |
| 31 | + <artifactId>httpcore</artifactId> |
| 32 | + <version>4.4.10</version> |
| 33 | + </dependency> |
| 34 | + <dependency> |
| 35 | + <groupId>org.apache.httpcomponents</groupId> |
| 36 | + <artifactId>httpclient</artifactId> |
| 37 | + <version>${httpclient.version}</version> |
| 38 | + <exclusions> |
| 39 | + <exclusion> |
| 40 | + <groupId>commons-logging</groupId> |
| 41 | + <artifactId>commons-logging</artifactId> |
| 42 | + </exclusion> |
| 43 | + </exclusions> |
| 44 | + </dependency> |
| 45 | + <dependency> |
| 46 | + <groupId>org.glassfish.jersey.core</groupId> |
| 47 | + <artifactId>jersey-client</artifactId> |
| 48 | + <version>${jersey.version}</version> |
| 49 | + </dependency> |
| 50 | + <dependency> |
| 51 | + <groupId>org.glassfish.jersey.inject</groupId> |
| 52 | + <artifactId>jersey-hk2</artifactId> |
| 53 | + <version>${jersey.version}</version> |
| 54 | + </dependency> |
| 55 | + <dependency> |
| 56 | + <groupId>com.kohlschutter.junixsocket</groupId> |
| 57 | + <artifactId>junixsocket-common</artifactId> |
| 58 | + <version>${junixsocket.version}</version> |
| 59 | + </dependency> |
| 60 | + <dependency> |
| 61 | + <groupId>com.kohlschutter.junixsocket</groupId> |
| 62 | + <artifactId>junixsocket-native-common</artifactId> |
| 63 | + <version>${junixsocket.version}</version> |
| 64 | + </dependency> |
| 65 | + <dependency> |
| 66 | + <groupId>org.apache.commons</groupId> |
| 67 | + <artifactId>commons-compress</artifactId> |
| 68 | + <version>${commons-compress.version}</version> |
| 69 | + </dependency> |
| 70 | + <dependency> |
| 71 | + <groupId>commons-codec</groupId> |
| 72 | + <artifactId>commons-codec</artifactId> |
| 73 | + <version>${commons-codec.version}</version> |
| 74 | + </dependency> |
| 75 | + <dependency> |
| 76 | + <groupId>commons-lang</groupId> |
| 77 | + <artifactId>commons-lang</artifactId> |
| 78 | + <version>${commons-lang.version}</version> |
| 79 | + </dependency> |
| 80 | + <dependency> |
| 81 | + <groupId>commons-io</groupId> |
| 82 | + <artifactId>commons-io</artifactId> |
| 83 | + <version>${commons-io.version}</version> |
| 84 | + </dependency> |
| 85 | + <dependency> |
| 86 | + <groupId>org.slf4j</groupId> |
| 87 | + <artifactId>slf4j-api</artifactId> |
| 88 | + <version>${slf4j-api.version}</version> |
| 89 | + </dependency> |
| 90 | + <dependency> |
| 91 | + <groupId>org.slf4j</groupId> |
| 92 | + <artifactId>jcl-over-slf4j</artifactId> |
| 93 | + <version>${slf4j-api.version}</version> |
| 94 | + </dependency> |
| 95 | + |
| 96 | + <dependency> |
| 97 | + <groupId>com.google.guava</groupId> |
| 98 | + <artifactId>guava</artifactId> |
| 99 | + <version>${guava.version}</version> |
| 100 | + </dependency> |
| 101 | + <dependency> |
| 102 | + <groupId>org.bouncycastle</groupId> |
| 103 | + <artifactId>bcpkix-jdk15on</artifactId> |
| 104 | + <version>${bouncycastle.version}</version> |
| 105 | + </dependency> |
| 106 | + |
| 107 | + <!-- /// Test /////////////////////////// --> |
| 108 | + <dependency> |
| 109 | + <groupId>ch.qos.logback</groupId> |
| 110 | + <artifactId>logback-core</artifactId> |
| 111 | + <version>${logback.version}</version> |
| 112 | + <scope>test</scope> |
| 113 | + </dependency> |
| 114 | + |
| 115 | + <dependency> |
| 116 | + <groupId>ch.qos.logback</groupId> |
| 117 | + <artifactId>logback-classic</artifactId> |
| 118 | + <version>${logback.version}</version> |
| 119 | + <scope>test</scope> |
| 120 | + </dependency> |
| 121 | + |
| 122 | + <dependency> |
| 123 | + <groupId>org.hamcrest</groupId> |
| 124 | + <artifactId>hamcrest-library</artifactId> |
| 125 | + <version>${hamcrest.library.version}</version> |
| 126 | + <scope>test</scope> |
| 127 | + </dependency> |
| 128 | + |
| 129 | + <dependency> |
| 130 | + <groupId>com.googlecode.lambdaj</groupId> |
| 131 | + <artifactId>lambdaj</artifactId> |
| 132 | + <version>${lambdaj.version}</version> |
| 133 | + <scope>test</scope> |
| 134 | + <exclusions> |
| 135 | + <exclusion> |
| 136 | + <groupId>org.hamcrest</groupId> |
| 137 | + <artifactId>hamcrest-all</artifactId> |
| 138 | + </exclusion> |
| 139 | + </exclusions> |
| 140 | + </dependency> |
| 141 | + |
| 142 | + <dependency> |
| 143 | + <groupId>org.testinfected.hamcrest-matchers</groupId> |
| 144 | + <artifactId>jpa-matchers</artifactId> |
| 145 | + <version>${hamcrest.jpa-matchers}</version> |
| 146 | + <scope>test</scope> |
| 147 | + </dependency> |
| 148 | + |
| 149 | + <dependency> |
| 150 | + <groupId>org.mockito</groupId> |
| 151 | + <artifactId>mockito-core</artifactId> |
| 152 | + <version>${mockito.version}</version> |
| 153 | + <scope>test</scope> |
| 154 | + </dependency> |
| 155 | + |
| 156 | + <dependency> |
| 157 | + <groupId>com.google.code.findbugs</groupId> |
| 158 | + <artifactId>annotations</artifactId> |
| 159 | + <version>3.0.1u2</version> |
| 160 | + <scope>provided</scope> |
| 161 | + </dependency> |
| 162 | + |
| 163 | + <dependency> |
| 164 | + <groupId>io.netty</groupId> |
| 165 | + <artifactId>netty-codec-http</artifactId> |
| 166 | + <version>${netty.version}</version> |
| 167 | + </dependency> |
| 168 | + <dependency> |
| 169 | + <groupId>io.netty</groupId> |
| 170 | + <artifactId>netty-handler</artifactId> |
| 171 | + <version>${netty.version}</version> |
| 172 | + </dependency> |
| 173 | + <dependency> |
| 174 | + <groupId>io.netty</groupId> |
| 175 | + <artifactId>netty-handler-proxy</artifactId> |
| 176 | + <version>${netty.version}</version> |
| 177 | + </dependency> |
| 178 | + <dependency> |
| 179 | + <groupId>io.netty</groupId> |
| 180 | + <artifactId>netty-transport-native-epoll</artifactId> |
| 181 | + <version>${netty.version}</version> |
| 182 | + <classifier>linux-x86_64</classifier> |
| 183 | + </dependency> |
| 184 | + <dependency> |
| 185 | + <groupId>io.netty</groupId> |
| 186 | + <artifactId>netty-transport-native-kqueue</artifactId> |
| 187 | + <version>${netty.version}</version> |
| 188 | + <classifier>osx-x86_64</classifier> |
| 189 | + </dependency> |
| 190 | + <dependency> |
| 191 | + <groupId>junit</groupId> |
| 192 | + <artifactId>junit</artifactId> |
| 193 | + <version>4.12</version> |
| 194 | + <scope>test</scope> |
| 195 | + </dependency> |
| 196 | + </dependencies> |
| 197 | + |
| 198 | + |
| 199 | + <build> |
| 200 | + <plugins> |
| 201 | + <plugin> |
| 202 | + <groupId>org.apache.maven.plugins</groupId> |
| 203 | + <artifactId>maven-surefire-plugin</artifactId> |
| 204 | + <version>${maven-surefire-plugin.version}</version> |
| 205 | + <configuration> |
| 206 | + <rerunFailingTestsCount>3</rerunFailingTestsCount> |
| 207 | + <excludedGroups>com.github.dockerjava.junit.category.Integration</excludedGroups> |
| 208 | + </configuration> |
| 209 | + </plugin> |
| 210 | + |
| 211 | + <plugin> |
| 212 | + <groupId>org.apache.maven.plugins</groupId> |
| 213 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 214 | + <version>${maven-failsafe-plugin.version}</version> |
| 215 | + <executions> |
| 216 | + <execution> |
| 217 | + <goals> |
| 218 | + <goal>integration-test</goal> |
| 219 | + <goal>verify</goal> |
| 220 | + </goals> |
| 221 | + </execution> |
| 222 | + </executions> |
| 223 | + <configuration> |
| 224 | + <rerunFailingTestsCount>3</rerunFailingTestsCount> |
| 225 | + <!--<useUnlimitedThreads>true</useUnlimitedThreads>--> |
| 226 | + <perCoreThreadCount>true</perCoreThreadCount> |
| 227 | + <threadCount>1</threadCount> |
| 228 | + <parallel>classes</parallel> |
| 229 | + <groups>com.github.dockerjava.junit.category.Integration</groups> |
| 230 | + <excludedGroups>com.github.dockerjava.junit.category.AuthIntegration,com.github.dockerjava.junit.category.SwarmModeIntegration</excludedGroups> |
| 231 | + </configuration> |
| 232 | + </plugin> |
| 233 | + |
| 234 | + <plugin> |
| 235 | + <groupId>org.apache.felix</groupId> |
| 236 | + <artifactId>maven-bundle-plugin</artifactId> |
| 237 | + <extensions>true</extensions> |
| 238 | + <configuration> |
| 239 | + <instructions> |
| 240 | + <Export-Package>!com.github.dockerjava.jaxrs.*,!com.github.dockerjava.netty.*,com.github.dockerjava.*</Export-Package> |
| 241 | + <Import-Package>org.newsclub.net.unix;resolution:="optional",*</Import-Package> |
| 242 | + </instructions> |
| 243 | + </configuration> |
| 244 | + </plugin> |
| 245 | + |
| 246 | + <plugin> |
| 247 | + <!-- use with "mvn -DskipTests clean package japicmp:cmp" --> |
| 248 | + <groupId>com.github.siom79.japicmp</groupId> |
| 249 | + <artifactId>japicmp-maven-plugin</artifactId> |
| 250 | + <version>0.14.1</version> |
| 251 | + <configuration> |
| 252 | + <oldVersion> |
| 253 | + <dependency> |
| 254 | + <groupId>com.github.docker-java</groupId> |
| 255 | + <artifactId>docker-java</artifactId> |
| 256 | + <version>3.1.0</version> |
| 257 | + <type>jar</type> |
| 258 | + </dependency> |
| 259 | + </oldVersion> |
| 260 | + <newVersion> |
| 261 | + <file> |
| 262 | + <path>${project.build.directory}/${project.artifactId}-${project.version}.jar</path> |
| 263 | + </file> |
| 264 | + </newVersion> |
| 265 | + <parameter> |
| 266 | + <accessModifier>public</accessModifier> |
| 267 | + <onlyBinaryIncompatible>true</onlyBinaryIncompatible> |
| 268 | + </parameter> |
| 269 | + </configuration> |
| 270 | + </plugin> |
| 271 | + </plugins> |
| 272 | + </build> |
| 273 | +</project> |
0 commit comments