<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.day.cq</groupId>
    <artifactId>cq</artifactId>
    <version>5.1.2</version>
    <relativePath>../parent</relativePath>
  </parent>

  <groupId>com.day.cq</groupId>
  <artifactId>cq-rewriter</artifactId>
  <packaging>bundle</packaging>
  <url>https://adobe.com</url>
  <licenses>
    <license>
      <name>License Agreement</name>
      <url>http://adobe.com/go/terms</url>
      <distribution>repo</distribution>
    </license>
  </licenses>
  <organization>
    <name>Adobe</name>
    <url>http://www.adobe.com/</url>
  </organization>
  <developers>
    <developer>
      <name>Adobe</name>
      <email>repo@adobe.com</email>
      <organization>Adobe</organization>
      <organizationUrl>http://www.adobe.com</organizationUrl>
    </developer>
  </developers>
  <version>5.1.2</version>

  <name>Day Communique 5 Rewriter</name>
  <description>
    Bundle implementing the rewriter functionality for Communique 5
  </description>

  <scm>
    <connection>scm:svn:http://svn.day.com/repos/cq5/platform/tags/cq-rewriter-5.1.2</connection>
    <developerConnection>scm:svn:http://svn.day.com/repos/cq5/platform/tags/cq-rewriter-5.1.2</developerConnection>
    <url>http://svn.day.com/repos/cq5/platform/tags/cq-rewriter-5.1.2</url>
  </scm>

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-scr-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.sling</groupId>
        <artifactId>maven-sling-plugin</artifactId>
      </plugin>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Bundle-Category>sling</Bundle-Category>
            <Export-Package>
              com.day.cq.rewriter.linkchecker,
              com.day.cq.rewriter.pipeline,
              com.day.cq.rewriter.processor
            </Export-Package>
            <Private-Package>
              com.day.cq.rewriter.filter,
              com.day.cq.rewriter.htmlparser,
              com.day.cq.rewriter.license,
              com.day.cq.rewriter.license.impl,
              com.day.cq.rewriter.linkchecker.impl,
              com.day.cq.rewriter.processor.impl
            </Private-Package>
			<!--
            <Sling-Initial-Content>
              CQ-INF/content
            </Sling-Initial-Content>
		-->
          </instructions>
        </configuration>
      </plugin>
    </plugins>
  </build>
    <reporting>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-javadoc-plugin</artifactId>
                <configuration>
                    <excludePackageNames>
                        com.day.cq.rewriter.filter:com.day.cq.rewriter.htmlparser:com.day.cq.rewriter.license:com.day.cq.rewriter.license.impl:com.day.cq.rewriter.linkchecker.impl:com.day.cq.rewriter.processor.impl
                    </excludePackageNames>
                </configuration>
            </plugin>
        </plugins>
    </reporting>

  <dependencies>
    <dependency>
      <groupId>org.apache.sling</groupId>
      <artifactId>org.apache.sling.api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.sling</groupId>
      <artifactId>org.apache.sling.jcr.api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.sling</groupId>
      <artifactId>org.apache.sling.commons.osgi</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.sling</groupId>
      <artifactId>org.apache.sling.engine</artifactId>
    </dependency>
    <dependency>
      <groupId>com.day.crx</groupId>
      <artifactId>crx-api</artifactId>
    </dependency>
    <dependency>
        <groupId>org.apache.jackrabbit</groupId>
        <artifactId>jackrabbit-jcr-commons</artifactId>
    </dependency>
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>servlet-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-api</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.osgi.core</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.felix</groupId>
      <artifactId>org.osgi.compendium</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
    </dependency>
    <dependency>
      <groupId>commons-httpclient</groupId>
      <artifactId>commons-httpclient</artifactId>
    </dependency>

    <!-- testing -->
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
    </dependency>
    <dependency>
      <groupId>org.jmock</groupId>
      <artifactId>jmock-junit4</artifactId>
    </dependency>
    <dependency>
      <groupId>org.slf4j</groupId>
      <artifactId>slf4j-simple</artifactId>
    </dependency>
    <dependency>
      <groupId>org.apache.jackrabbit</groupId>
      <artifactId>jackrabbit-core</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.sling</groupId>
      <artifactId>org.apache.sling.jcr.resource</artifactId>
      <scope>test</scope>
    </dependency>
    <dependency>
      <groupId>org.apache.sling</groupId>
      <artifactId>org.apache.sling.commons.testing</artifactId>
      <scope>test</scope>
    </dependency>

    <!-- end test -->
  </dependencies>
</project>
