|
9 | 9 |
|
10 | 10 | <groupId>com.github.docker-java</groupId> |
11 | 11 | <artifactId>docker-java</artifactId> |
12 | | - <packaging>jar</packaging> |
| 12 | + <packaging>bundle</packaging> |
13 | 13 | <version>3.1.0-SNAPSHOT</version> |
14 | 14 |
|
15 | 15 | <name>docker-java</name> |
|
280 | 280 | </repository> |
281 | 281 | </distributionManagement> |
282 | 282 |
|
283 | | - <pluginRepositories> |
284 | | - <!--<pluginRepository>--> |
285 | | - <!--<id>eclipse.virgo.build.bundles.release</id>--> |
286 | | - <!--<name>Eclipse Virgo Build</name>--> |
287 | | - <!--<url>http://build.eclipse.org/rt/virgo/maven/bundles/release</url>--> |
288 | | - <!--</pluginRepository>--> |
289 | | - <pluginRepository> |
290 | | - <id>com.springsource.repository.bundles.external</id> |
291 | | - <name>SpringSource Enterprise Bundle Repository - External Bundle Releases</name> |
292 | | - <url>http://repository.springsource.com/maven/bundles/external</url> |
293 | | - </pluginRepository> |
294 | | - </pluginRepositories> |
295 | | - |
296 | 283 | <build> |
297 | 284 | <pluginManagement> |
298 | 285 | <plugins> |
|
319 | 306 | <groupId>org.apache.maven.plugins</groupId> |
320 | 307 | <artifactId>maven-jar-plugin</artifactId> |
321 | 308 | <version>${maven-jar-plugin.version}</version> |
322 | | - <configuration> |
323 | | - <archive> |
324 | | - <manifestFile>target/classes/META-INF/MANIFEST.MF</manifestFile> |
325 | | - </archive> |
326 | | - </configuration> |
327 | 309 | <executions> |
328 | 310 | <execution> |
329 | 311 | <goals> |
|
457 | 439 | <groupId>org.apache.maven.plugins</groupId> |
458 | 440 | <artifactId>maven-source-plugin</artifactId> |
459 | 441 | </plugin> |
460 | | - |
461 | | - <plugin> |
462 | | - <groupId>org.eclipse.virgo.bundlor</groupId> |
463 | | - <artifactId>org.eclipse.virgo.bundlor.maven</artifactId> |
464 | | - <version>${maven-bundlor-plugin.version}</version> |
465 | | - <executions> |
466 | | - <execution> |
467 | | - <id>bundlor</id> |
468 | | - <goals> |
469 | | - <goal>bundlor</goal> |
470 | | - </goals> |
471 | | - <configuration> |
472 | | - <failOnWarnings>true</failOnWarnings> |
473 | | - </configuration> |
474 | | - </execution> |
475 | | - </executions> |
476 | | - </plugin> |
477 | | - |
478 | 442 | <plugin> |
479 | | - <groupId>org.codehaus.mojo</groupId> |
480 | | - <artifactId>build-helper-maven-plugin</artifactId> |
481 | | - <version>${maven-build-helper-plugin.version}</version> |
482 | | - <executions> |
483 | | - <execution> |
484 | | - <id>parse-version</id> |
485 | | - <goals> |
486 | | - <goal>parse-version</goal> |
487 | | - </goals> |
488 | | - </execution> |
489 | | - </executions> |
| 443 | + <groupId>org.apache.felix</groupId> |
| 444 | + <artifactId>maven-bundle-plugin</artifactId> |
| 445 | + <extensions>true</extensions> |
| 446 | + <configuration> |
| 447 | + <instructions> |
| 448 | + <Export-Package>!com.github.dockerjava.jaxrs.*,!com.github.dockerjava.netty.*,com.github.dockerjava.*</Export-Package> |
| 449 | + <Import-Package>org.newsclub.net.unix;resolution:="optional",*</Import-Package> |
| 450 | + </instructions> |
| 451 | + </configuration> |
490 | 452 | </plugin> |
491 | 453 | </plugins> |
492 | 454 | </build> |
|
0 commit comments