mirror of https://github.com/apache/jclouds.git
89 lines
3.4 KiB
XML
89 lines
3.4 KiB
XML
<?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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>org.apache.jclouds</groupId>
|
|
<artifactId>jclouds-project</artifactId>
|
|
<version>2.0.0-SNAPSHOT</version>
|
|
<relativePath>../project/pom.xml</relativePath>
|
|
</parent>
|
|
<artifactId>jclouds-scriptbuilder</artifactId>
|
|
<name>jclouds script builder</name>
|
|
<description>creates scripts that can be used to manage services</description>
|
|
<packaging>bundle</packaging>
|
|
|
|
<properties>
|
|
<jclouds.test.listener />
|
|
|
|
<jclouds.osgi.activator>org.jclouds.scriptbuilder.functionloader.osgi.Activator</jclouds.osgi.activator>
|
|
<jclouds.osgi.export>org.jclouds.scriptbuilder*;version="${project.version}";-noimport:=true</jclouds.osgi.export>
|
|
<!--
|
|
The following classes are only needed when using chef or other compute stuff:
|
|
i) org.jclouds.javax.annotation.Nullable
|
|
ii) org.jclouds.domain.Credentials
|
|
iii) java.inject.Inject
|
|
-->
|
|
<jclouds.osgi.import>
|
|
javax.inject*;resolution:=optional,
|
|
org.jclouds.domain*;version="${project.version}";resolution:=optional,
|
|
org.jclouds.javax.annotation*;version="${project.version}";resolution:=optional,
|
|
org.jclouds*;version="${project.version}",
|
|
*
|
|
</jclouds.osgi.import>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>${project.groupId}</groupId>
|
|
<artifactId>jclouds-core</artifactId>
|
|
<version>${project.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.osgi</groupId>
|
|
<artifactId>org.osgi.core</artifactId>
|
|
<version>4.2.0</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.felix</groupId>
|
|
<artifactId>maven-bundle-plugin</artifactId>
|
|
<!-- ensure activator is set -->
|
|
<configuration>
|
|
<obrRepository>NONE</obrRepository>
|
|
<instructions>
|
|
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
|
|
<Export-Package>${jclouds.osgi.export}</Export-Package>
|
|
<Import-Package>${jclouds.osgi.import}</Import-Package>
|
|
<DynamicImport-Package>${jclouds.osgi.dynamic}</DynamicImport-Package>
|
|
<Fragment-Host>${jclouds.osgi.fragment}</Fragment-Host>
|
|
<Bundle-Activator>${jclouds.osgi.activator}</Bundle-Activator>
|
|
</instructions>
|
|
</configuration>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project>
|