Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Maven
- =====
- OSGi Bundle Example
- -------------------
- https://bitbucket.org/atlassian/fugue/src/776e6283937ec273b751f8eb42714bff6c269629/fugue/pom.xml?at=negative_guava_and_guava_collections
- <!-- Copyright 2010 Atlassian Licensed under the Apache License, Version
- 2.0 (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
- Unless required by applicable law or agreed to in writing, software distributed
- under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES
- OR CONDITIONS OF ANY KIND, either express or implied. See the License for
- the specific language governing permissions and limitations under the License. -->
- <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/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>com.atlassian.fugue</groupId>
- <artifactId>fugue-parent</artifactId>
- <version>2.2.2-SNAPSHOT</version>
- </parent>
- <artifactId>fugue</artifactId>
- <packaging>jar</packaging>
- <name>Functional Guava Extensions</name>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <phase>package</phase>
- <goals>
- <goal>manifest</goal>
- <goal>bundle</goal>
- </goals>
- </execution>
- </executions>
- <configuration>
- <instructions>
- <Export-Package>
- com.atlassian.fugue.*;version="${project.version}"
- </Export-Package>
- <Import-Package>
- com.atlassian.util.concurrent;version="${atlassian-util-concurrent.version}"
- org.slf4j;version="${slf4j-api.version}"
- </Import-Package>
- </instructions>
- </configuration>
- </plugin>
- </plugins>
- </build>
- <dependencies>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-nop</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <!-- findbugs is only useful for compile/analysis, not needed
- at runtime -->
- <groupId>com.google.code.findbugs</groupId>
- <artifactId>jsr305</artifactId>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.atlassian.util.concurrent</groupId>
- <artifactId>atlassian-util-concurrent</artifactId>
- <scope>provided</scope>
- </dependency>
- <!-- Test deps -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.mockito</groupId>
- <artifactId>mockito-core</artifactId>
- <scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-core</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.hamcrest</groupId>
- <artifactId>hamcrest-library</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
- </project>
Advertisement
Add Comment
Please, Sign In to add comment