blob: c4d756c02f7bf16324e6b184aa17d9341e95cb25 [file] [log] [blame]
<?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/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.contenthub.parent</artifactId>
<version>0.10.0</version>
<relativePath>../parent</relativePath>
</parent>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.contenthub.web</artifactId>
<version>0.10.0</version>
<packaging>bundle</packaging>
<name>Apache Stanbol Contenthub Web</name>
<description>HTTP endpoint to create and search for content items enriched
with enhancer's annotations and links to entities from the entity hub.
</description>
<scm>
<connection>
scm:svn:https://svn.apache.org/repos/asf/stanbol/tags/apache-stanbol-contenthub-0.10.0/web
</connection>
<developerConnection>
scm:svn:https://svn.apache.org/repos/asf/stanbol/tags/apache-stanbol-contenthub-0.10.0/web
</developerConnection>
<url>scm:svn:https://svn.apache.org/repos/asf/stanbol/tags/apache-stanbol-contenthub-0.10.0/stanbol.apache.org</url>
</scm>
<build>
<!-- make it an OSGi bundle -->
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Import-Package>
javax.ws.rs.*; version="[0,2)",
org.apache.stanbol.commons.web.base; provide:=true; version="[0.11,0.13)",
*
</Import-Package>
<Export-Package>
org.apache.stanbol.contenthub.web.*;version=${project.version},
</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<!-- AL20 License -->
<exclude>src/license/THIRD-PARTY.properties</exclude>
<!-- MIT License -->
<exclude>src/main/resources/META-INF/resources/static/contenthub/style/jquery-ui-1.8.11.custom.css</exclude>
<exclude>src/main/resources/META-INF/resources/static/contenthub/scripts/jquery-ui-1.8.11.custom.min.js</exclude>
<exclude>src/main/resources/META-INF/resources/static/contenthub/scripts/jquery-1.5.1.min.js</exclude>
<exclude>src/main/resources/META-INF/resources/static/contenthub/scripts/jquery-1.4.2.js</exclude>
<!-- BSD License -->
<exclude>src/main/resources/META-INF/resources/static/contenthub/scripts/jit.js</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.commons.web.base</artifactId>
<version>0.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.commons.solr.core</artifactId>
<version>0.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.commons.solr.managed</artifactId>
<version>0.11.0</version>
</dependency>
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.contenthub.servicesapi</artifactId>
<version>0.10.0</version>
</dependency>
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.contenthub.search.featured</artifactId>
<version>0.9.0-incubating</version>
</dependency>
<!-- dependencies on other Stanbol modules -->
<!-- 0.11.0-SNAPSHOT needed since the change in ReferencedSiteManager->SiteManager
-->
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.entityhub.servicesapi</artifactId>
<version>0.11.0</version>
</dependency>
<!-- TODO : added to get DefaultQueryFactory at SearchResource, find
a solution not to get this dependency -->
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.entityhub.core</artifactId>
<version>0.10.0-incubating</version>
</dependency>
<!-- needed for the ContentItem resource -->
<dependency>
<groupId>org.apache.clerezza</groupId>
<artifactId>jaxrs.rdf.providers</artifactId>
</dependency>
<!-- Jersey -->
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.commons.web.viewable</artifactId>
<version>0.11.0</version>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-server</artifactId>
</dependency>
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-core</artifactId>
</dependency>
<dependency>
<groupId>com.sun.jersey.contribs</groupId>
<artifactId>jersey-multipart</artifactId>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
<artifactId>freemarker</artifactId>
</dependency>
<!-- generic tax -->
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<!-- OSGi tax -->
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
</dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr.annotations</artifactId>
</dependency>
<dependency>
<groupId>org.apache.solr</groupId>
<artifactId>solr-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
</dependency>
<!-- for tests -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>