All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.maven.org.cache2k.cache2k-osgi-all.pom.xml Maven / Gradle / Ivy

Go to download

A light weight and high performance Java cache library. Complete runtime bundle for use with OSGi environments with OSGi meta information. OSGi users are encouraged to look on https://github.com/cache2k/cache2k/issues/83.

The newest version!
<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>

  <packaging>bundle</packaging>

  <parent>
    <groupId>org.cache2k</groupId>
    <artifactId>cache2k-parent</artifactId>
    <version>1.6.0.Final</version>
    <relativePath>../pom.xml</relativePath>
  </parent>

  <artifactId>cache2k-osgi-all</artifactId>
  <name>cache2k OSGi all</name>

  <description>
    A light weight and high performance Java cache library. Complete runtime bundle for use with OSGi environments with
    OSGi meta information. OSGi users are encouraged to look on https://github.com/cache2k/cache2k/issues/83.
  </description>

  <dependencies>

    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>cache2k-api</artifactId>
      <version>${project.version}</version>
      <scope>provided</scope>
    </dependency>

    <dependency>
      <groupId>${project.groupId}</groupId>
      <artifactId>cache2k-core</artifactId>
      <version>${project.version}</version>
      <scope>provided</scope>
    </dependency>

  </dependencies>

   <build>
    <plugins>
      <plugin>
        <groupId>org.apache.felix</groupId>
        <artifactId>maven-bundle-plugin</artifactId>
        <extensions>true</extensions>
        <configuration>
          <instructions>
            <Embed-Dependency>*;scope=provided;inline=true</Embed-Dependency>
            <Private-Package>*;-split-package:=merge-first</Private-Package>
            <Export-Package>
              org.cache2k,
              org.cache2k.spi,
              org.cache2k.storage;-split-package:=merge-first,
              org.cache2k.integration,
              org.cache2k.expiry,
              org.cache2k.event,
              org.cache2k.processor,
              org.cache2k.configuration
            </Export-Package>
            <Import-Package>
              javax.management,
              javax.naming,
              javax.xml.stream,
              org.apache.commons.logging;resolution:=optional
            </Import-Package>
            <Bundle-DocURL>https://cache2k.org</Bundle-DocURL>
            <!-- Add regular jar manifest information -->
            <Implementation-Build>${buildNumber}</Implementation-Build>
            <Implementation-Version>${project.version}</Implementation-Version>
            <Implementation-Title>${project.name}</Implementation-Title>
            <Implementation-Vendor-Id>${project.groupId}</Implementation-Vendor-Id>
            <Implementation-Vendor>${project.organization.name}</Implementation-Vendor>
          </instructions>
          <!-- nice manifest, everything with style :) -->
          <niceManifest>true</niceManifest>
        </configuration>
      </plugin>
    </plugins>
  </build>
</project>




© 2015 - 2024 Weber Informatics LLC | Privacy Policy