POM文件内容: |
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (c) 2010-2011 Sonatype, Inc.
~ All rights reserved. This program and the accompanying materials
~ are made available under the terms of the Eclipse Public License v1.0
~ and Apache License v2.0 which accompanies this distribution.
~ The Eclipse Public License is available at
~ http://www.eclipse.org/legal/epl-v10.html
~ The Apache License v2.0 is available at
~ http://www.apache.org/licenses/LICENSE-2.0.html
~ You may elect to redistribute this code under either of these licenses.
-->
<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>org.sonatype.sisu.inject</groupId>
<artifactId>guice-plexus</artifactId>
<version>2.1.1</version>
</parent>
<packaging>bundle</packaging>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-inject-plexus</artifactId>
<name>Sisu - Inject (Plexus bean support)</name>
<dependencies>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-component-annotations</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-classworlds</artifactId>
</dependency>
<dependency>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-utils</artifactId>
</dependency>
<dependency>
<groupId>org.sonatype.sisu</groupId>
<artifactId>sisu-inject-bean</artifactId>
</dependency>
<dependency>
<groupId>org.sonatype.sisu.inject</groupId>
<artifactId>guice-plexus-shim</artifactId>
<optional>true</optional>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<excludeDependencies>
<!-- external dependencies -->
*;groupId=org.codehaus.plexus
</excludeDependencies>
<instructions>
<Bundle-SymbolicName>
org.sonatype.inject.plexus;singleton:=true
</Bundle-SymbolicName>
<Fragment-Host>
org.sonatype.inject
</Fragment-Host>
<DynamicImport-Package>
org.slf4j,junit.framework
</DynamicImport-Package>
<Export-Package>
org.codehaus.plexus.*;-noimport:=true;-split-package:=merge-first
</Export-Package>
<Private-Package>
META-INF.plexus,org.sonatype.guice.plexus.*
</Private-Package>
<Import-Package>
!org.sonatype.guice.bean.*,*
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
|