| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You 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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>org.jclouds.examples</groupId> |
| <artifactId>blobstore-karaf-shell</artifactId> |
| <version>1.0-SNAPSHOT</version> |
| <name>blobstore-karaf-shell</name> |
| <packaging>bundle</packaging> |
| <description>jclouds karaf example that uses a blobstore from the karaf shell</description> |
| |
| <properties> |
| <osgi.import> |
| !org.jclouds.examples*, |
| org.apache.felix.gogo*;version="[0.5,1)", |
| org.apache.karaf*;version="[2.1,4)", |
| org.jclouds*;version="[1.0,2)", |
| * |
| </osgi.import> |
| <osgi.export>org.jclouds.examples*</osgi.export> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>2.3.4</version> |
| <extensions>true</extensions> |
| <inherited>true</inherited> |
| <configuration> |
| <instructions> |
| <Bundle-Name>${project.name}</Bundle-Name> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <Export-Package>${osgi.export}</Export-Package> |
| <Import-Package>${osgi.import}</Import-Package> |
| <DynamicImport-Package>${osgi.dynamic.import}</DynamicImport-Package> |
| <Private-Package>${osgi.private}</Private-Package> |
| <Require-Bundle>${osgi.bundles}</Require-Bundle> |
| <Bundle-Activator>${osgi.activator}</Bundle-Activator> |
| </instructions> |
| <supportedProjectTypes> |
| <supportedProjectType>jar</supportedProjectType> |
| <supportedProjectType>war</supportedProjectType> |
| <supportedProjectType>bundle</supportedProjectType> |
| </supportedProjectTypes> |
| <unpackBundle>true</unpackBundle> |
| </configuration> |
| <executions> |
| <execution> |
| <id>bundle-manifest</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <!-- OSGi Dependencies --> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| <version>4.2.0</version> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| <version>4.2.0</version> |
| </dependency> |
| |
| <!-- Karaf Dependencies --> |
| <dependency> |
| <groupId>org.apache.karaf.shell</groupId> |
| <artifactId>org.apache.karaf.shell.console</artifactId> |
| <version>2.2.5</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jclouds</groupId> |
| <artifactId>jclouds-blobstore</artifactId> |
| <version>1.5.0-alpha.6</version> |
| </dependency> |
| <dependency> |
| <groupId>org.jclouds</groupId> |
| <artifactId>jclouds-allblobstore</artifactId> |
| <version>1.5.0-alpha.6</version> |
| </dependency> |
| </dependencies> |
| |
| </project> |