| <?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> |
| |
| <parent> |
| <groupId>org.apache.directmemory</groupId> |
| <artifactId>directmemory</artifactId> |
| <version>0.2-SNAPSHOT</version> |
| <relativePath>../</relativePath> |
| </parent> |
| |
| <artifactId>directmemory-cache</artifactId> |
| <name>Apache DirectMemory :: Cache</name> |
| <packaging>bundle</packaging> |
| <description>DirectMemory Cache is a multi layered cache implementation featuring off-heap memory management (a-la |
| BigMemory) to enable efficient handling of a large number of java objects without affecting jvm garbage collection |
| performance |
| </description> |
| |
| <properties> |
| <osgi.import> |
| !org.apache.directmemory*, |
| com.google.common.collect;version="[9.0,15)", |
| com.google.common.base;version="[9.0,15)", |
| org.aspectj*, |
| org.slf4j*;version="[1.6,2)", |
| sun.misc.*;resolution:=optional, |
| * |
| </osgi.import> <!-- ,org.yaml.snakeyaml* --> |
| <osgi.export>org.apache.directmemory*;version="${project.version}</osgi.export> |
| </properties> |
| |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-clean-plugin</artifactId> |
| <configuration> |
| <filesets> |
| <fileset> |
| <directory>logs</directory> |
| <followSymlinks>false</followSymlinks> |
| </fileset> |
| </filesets> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>aspectj-maven-plugin</artifactId> |
| <version>1.4</version> |
| <configuration> |
| <source>${maven.compile.source}</source> |
| <target>${maven.compile.target}</target> |
| <complianceLevel>${java.version}</complianceLevel> |
| </configuration> |
| <executions> |
| <execution> |
| <goals> |
| <goal>compile</goal> |
| <!-- use this goal to weave all your main classes --> |
| <goal>test-compile</goal> |
| <!-- use this goal to weave all your test classes --> |
| </goals> |
| </execution> |
| </executions> |
| <dependencies> |
| <dependency> |
| <groupId>org.aspectj</groupId> |
| <artifactId>aspectjtools</artifactId> |
| <version>${aspectj.version}</version> |
| </dependency> |
| </dependencies> |
| </plugin> |
| |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.aspectj</groupId> |
| <artifactId>aspectjrt</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>com.carrotsearch</groupId> |
| <artifactId>junit-benchmarks</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |