| <?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.marmotta</groupId> |
| <artifactId>marmotta-parent</artifactId> |
| <version>3.3.0-SNAPSHOT</version> |
| <relativePath>../../parent</relativePath> |
| </parent> |
| |
| <artifactId>marmotta-commons</artifactId> |
| <name>Apache Marmotta: Common Utilities</name> |
| <packaging>bundle</packaging> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>add-ext</id> |
| <phase>generate-sources</phase> |
| <goals><goal>add-source</goal></goals> |
| <configuration> |
| <sources> |
| <source>src/ext/java</source> |
| </sources> |
| </configuration> |
| </execution> |
| <execution> |
| <id>add-ext-test</id> |
| <phase>generate-test-sources</phase> |
| <goals><goal>add-test-source</goal></goals> |
| <inherited>false</inherited> |
| <configuration> |
| <sources> |
| <source>src/ext-test/java</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> <!-- generate JRebel Configuration --> |
| <groupId>org.zeroturnaround</groupId> |
| <artifactId>jrebel-maven-plugin</artifactId> |
| <configuration> |
| <relativePath>../../</relativePath> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <extensions>true</extensions> |
| <configuration> |
| <instructions> |
| <Bundle-Name>Marmotta Commons</Bundle-Name> |
| <Bundle-DocURL>http://marmotta.apache.org/commons</Bundle-DocURL> |
| <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor> |
| <Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName> |
| <_versionpolicy>$${version;===;${@}}</_versionpolicy> |
| <Import-Package> |
| org.slf4j;version="[1.6.1,2)", |
| com.google.common.*;version="[14,17)", |
| * |
| </Import-Package> |
| <Export-Package> |
| javax.realtime, |
| javolution.*, |
| org.apache.marmotta.commons.*;version=${project.version} |
| </Export-Package> |
| </instructions> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.rat</groupId> |
| <artifactId>apache-rat-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <!-- 3rd party source inclusion --> |
| <exclude>src/ext/java/**</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| </resource> |
| <resource> |
| <directory>src/ext/resources</directory> |
| </resource> |
| </resources> |
| </build> |
| |
| |
| <dependencies> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>joda-time</groupId> |
| <artifactId>joda-time</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>commons-validator</groupId> |
| <artifactId>commons-validator</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.commons</groupId> |
| <artifactId>commons-lang3</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.openrdf.sesame</groupId> |
| <artifactId>sesame-model</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.openrdf.sesame</groupId> |
| <artifactId>sesame-repository-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.openrdf.sesame</groupId> |
| <artifactId>sesame-sail-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.openrdf.sesame</groupId> |
| <artifactId>sesame-rio-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.openrdf.sesame</groupId> |
| <artifactId>sesame-queryresultio-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.openrdf.sesame</groupId> |
| <artifactId>sesame-sail-memory</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.openrdf.sesame</groupId> |
| <artifactId>sesame-repository-sail</artifactId> |
| </dependency> |
| |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.openrdf.sesame</groupId> |
| <artifactId>sesame-rio-rdfxml</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- for fast hash sets and maps with custom equivalence relations --> |
| |
| <!-- TODO: for now we use the source code in ext/ because it contains some bug fixes --> |
| <!-- |
| <dependency> |
| <groupId>org.javolution</groupId> |
| <artifactId>javolution-core-java</artifactId> |
| <version>6.0.1-SNAPSHOT</version> |
| </dependency> |
| --> |
| |
| </dependencies> |
| |
| </project> |