<?xml version="1.0" encoding="UTF-8"?>
<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.sling</groupId>
        <artifactId>sling</artifactId>
        <version>19</version>
        <relativePath />
    </parent>

    <properties>
        <api.version>1.0.0</api.version>
    </properties>

    <groupId>org.apache.sling</groupId>
    <artifactId>org.apache.sling.crankstart.api.fragment</artifactId>
    <packaging>jar</packaging>
    <version>1.0.2</version>

    <name>Apache Sling Crankstart API Fragment</name>
    <inceptionYear>2014</inceptionYear>
    
    <description>
        Framework extension bundle that adds the Crankstart API
        package to the system bundle exports.
    </description>

    <scm>
      <connection>scm:svn:http://svn.apache.org/repos/asf/sling/tags/org.apache.sling.crankstart.api.fragment-1.0.2</connection>
      <developerConnection>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.crankstart.api.fragment-1.0.2</developerConnection>
      <url>scm:svn:https://svn.apache.org/repos/asf/sling/tags/org.apache.sling.crankstart.api.fragment-1.0.2</url>
    </scm>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <executions>
                    <execution>
                        <id>bundle-manifest</id>
                        <phase>process-classes</phase>
                        <goals>
                            <goal>manifest</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                    <instructions>
                        <Fragment-Host>
                            system.bundle;extension:=framework
                        </Fragment-Host>
                    </instructions>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-jar-plugin</artifactId>
                <configuration>
                    <forceCreation>true</forceCreation>
                    <archive>
                        <manifestFile>
                            ${project.build.outputDirectory}/META-INF/MANIFEST.MF
                        </manifestFile>
                        <manifestEntries>
                            <Export-Package>org.apache.sling.crankstart.api;version=${api.version}</Export-Package>
                        </manifestEntries>
                    </archive>
                </configuration>
            </plugin>
        </plugins>
    </build>
</project>
    
