You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by fc...@apache.org on 2011/03/28 15:38:01 UTC

svn commit: r1086225 - in /incubator/stanbol/branches/http-endpoint-refactoring/launchers: ./ mini/ mini/src/ mini/src/main/ mini/src/main/bundles/ mini/src/main/resources/ mini/src/main/resources/resources/ mini/src/main/resources/resources/config/

Author: fchrist
Date: Mon Mar 28 13:38:00 2011
New Revision: 1086225

URL: http://svn.apache.org/viewvc?rev=1086225&view=rev
Log:
STANBOL-120 added a mini launcher for testing

Added:
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/pom.xml
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/list.xml
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/resources/
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/resources/resources/
    incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/resources/resources/config/

Added: incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/pom.xml?rev=1086225&view=auto
==============================================================================
--- incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/pom.xml (added)
+++ incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/pom.xml Mon Mar 28 13:38:00 2011
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>stanbol-parent</artifactId>
+		<version>0.9-SNAPSHOT</version>
+		<relativePath>../../parent</relativePath>
+	</parent>
+
+	<groupId>org.apache.stanbol</groupId>
+	<artifactId>org.apache.stanbol.launchers.mini</artifactId>
+	<packaging>jar</packaging>
+	<version>${stanbol-version}</version>
+
+  <name>Apache Stanbol Sling-based standalone launcher - mini version</name>
+	<description>Runnable jar that runs a mini configuration for testing</description>
+    <scm>
+        <connection>
+            scm:svn:http://svn.apache.org/repos/asf/incubator/stanbol/trunk/launchers/mini/
+        </connection>
+        <developerConnection>
+            scm:svn:https://svn.apache.org/repos/asf/incubator/stanbol/trunk/launchers/mini/
+        </developerConnection>
+        <url>http://incubator.apache.org/stanbol/</url>
+    </scm>
+    
+	<build>
+		<plugins>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>			
+				<artifactId>maven-clean-plugin</artifactId>
+				<configuration>
+					<filesets>
+						<fileset>
+							<directory>.</directory>
+							<includes>
+								<include>sling/**</include>
+							</includes>
+						</fileset>
+					</filesets>
+				</configuration>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.sling</groupId>
+				<artifactId>maven-launchpad-plugin</artifactId>
+				<!--
+					TODO the maven-launchpad-plugin can also generate a war file and
+					Karaf description, we could add this. See
+					http://sling.apache.org/site/maven-launchpad-plugin.html
+				-->
+				<executions>
+					<execution>
+						<id>prepare-package</id>
+						<goals>
+							<goal>prepare-package</goal>
+						</goals>
+						<configuration>
+							<includeDefaultBundles>false</includeDefaultBundles>
+							<!-- Standalone jar requires an OSGi http service implementation -->
+							<jarWebSupport>
+								<groupId>org.apache.felix</groupId>
+								<artifactId>org.apache.felix.http.jetty</artifactId>
+								<version>2.2.0</version>
+							</jarWebSupport>
+						</configuration>
+					</execution>
+				</executions>
+			</plugin>
+			<plugin>
+				<groupId>org.apache.maven.plugins</groupId>
+				<artifactId>maven-jar-plugin</artifactId>
+				<configuration>
+					<archive>
+						<manifest>
+							<!-- make the generated jar runnable -->
+							<addClasspath>true</addClasspath>
+							<mainClass>org.apache.sling.launchpad.app.Main</mainClass>
+							<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
+						</manifest>
+					</archive>
+				</configuration>
+			</plugin>
+		</plugins>
+	</build>
+	
+	<dependencies>
+		<dependency>
+			<!-- maven-launchpad-plugin builds on the launchpad.base app -->
+			<groupId>org.apache.sling</groupId>
+			<artifactId>org.apache.sling.launchpad.base</artifactId>
+			<classifier>app</classifier>
+		</dependency>
+	</dependencies>
+</project>

Added: incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/list.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/list.xml?rev=1086225&view=auto
==============================================================================
--- incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/list.xml (added)
+++ incubator/stanbol/branches/http-endpoint-refactoring/launchers/mini/src/main/bundles/list.xml Mon Mar 28 13:38:00 2011
@@ -0,0 +1,284 @@
+<?xml version="1.0" encoding="UTF-8"?>
+	<!--
+		List of initial bundles for the Stanbol Enhancer Sling-based standalone launcher.
+	-->
+<bundles>
+
+	<!-- OSGi infrastructure -->
+	<startLevel level="5">
+		<bundle>
+			<groupId>org.apache.sling</groupId>
+			<artifactId>org.apache.sling.commons.log</artifactId>
+			<version>2.0.6</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.osgi.core</artifactId>
+			<version>1.2.0</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.apache.felix.scr</artifactId>
+			<version>1.4.0</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.apache.felix.configadmin</artifactId>
+			<version>1.2.4</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.apache.felix.metatype</artifactId>
+			<version>1.0.4</version>
+		</bundle>
+		<!-- HTTP service -->
+		<bundle>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.apache.felix.http.whiteboard</artifactId>
+			<version>2.0.4</version>
+		</bundle>
+		<bundle>
+			<groupId>org.osgi</groupId>
+			<artifactId>org.osgi.compendium</artifactId>
+			<version>4.1.0</version>
+		</bundle>
+	</startLevel>
+
+	<!-- Felix web console and plugins -->
+	<startLevel level="10">
+		<bundle>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.apache.felix.webconsole</artifactId>
+			<version>3.1.2</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.felix</groupId>
+			<artifactId>org.apache.felix.webconsole.plugins.memoryusage
+			</artifactId>
+			<version>1.0.2</version>
+		</bundle>
+	</startLevel>
+
+	<!-- General-purpose libraries -->
+	<startLevel level="10">
+		<bundle>
+			<groupId>commons-cli</groupId>
+			<artifactId>commons-cli</artifactId>
+			<version>1.2</version>
+		</bundle>
+		<bundle>
+			<groupId>commons-lang</groupId>
+			<artifactId>commons-lang</artifactId>
+			<version>2.4</version>
+		</bundle>
+		<bundle>
+			<groupId>commons-collections</groupId>
+			<artifactId>commons-collections</artifactId>
+			<version>3.2.1</version>
+		</bundle>
+		<bundle>
+			<groupId>commons-io</groupId>
+			<artifactId>commons-io</artifactId>
+			<version>1.4</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.commons</groupId>
+			<artifactId>commons-compress</artifactId>
+			<version>1.0</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.httpcomponents</groupId>
+			<artifactId>httpcore-osgi</artifactId>
+			<version>4.0.1</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.commons</groupId>
+			<artifactId>commons-math</artifactId>
+			<version>2.1</version>
+		</bundle>
+		<bundle>
+			<groupId>mysql</groupId>
+			<artifactId>mysql-connector-java</artifactId>
+			<version>5.1.12</version>
+		</bundle>
+	</startLevel>
+
+	<!-- JAX-RS -->
+	<startLevel level="14">
+		<!--
+			WARNING: jersey-core bug, must start before jersey-server to avoid
+			jersey spi class not found errors. Restart jersey-server manually if
+			getting those.
+		-->
+		<bundle>
+			<groupId>com.sun.jersey</groupId>
+			<artifactId>jersey-core</artifactId>
+			<version>1.2</version>
+		</bundle>
+	</startLevel>
+	
+	<!-- Jersey -->
+	<startLevel level="15">
+		<bundle>
+			<groupId>javax.ws.rs</groupId>
+			<artifactId>jsr311-api</artifactId>
+			<version>1.1.1</version>
+		</bundle>
+		<bundle>
+			<groupId>com.sun.jersey</groupId>
+			<artifactId>jersey-server</artifactId>
+			<version>1.2</version>
+		</bundle>
+		<bundle>
+			<groupId>org.codehaus.jettison</groupId>
+			<artifactId>jettison</artifactId>
+			<version>1.2</version>
+		</bundle>
+	</startLevel>
+
+	<!-- Stanbol Enhancer infrastructure and required libraries-->
+	<startLevel level="15">
+		<bundle>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.enhancer.servicesapi</artifactId>
+			<version>0.9-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.commons.web</artifactId>
+			<version>0.9-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.enhancer.standalone</artifactId>
+			<version>0.9-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.enhancer.jobmanager</artifactId>
+			<version>0.9-SNAPSHOT</version>
+		</bundle>
+	</startLevel>
+
+	<!-- Clerezza storage and sparql infrastructure -->
+	<startLevel level="16">
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.core</artifactId>
+			<version>0.12-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.utils</artifactId>
+			<version>0.13-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.utils</artifactId>
+			<version>0.1-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.ontologies</artifactId>
+			<version>0.11-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.jena.sparql</artifactId>
+			<version>0.5-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.jena.commons</artifactId>
+			<version>0.5-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.jena.facade</artifactId>
+			<version>0.12-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza.ext</groupId>
+			<artifactId>com.hp.hpl.jena.tdb</artifactId>
+			<version>0.3-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza.ext</groupId>
+			<artifactId>javax.mail</artifactId>
+			<version>0.4-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.wymiwyg</groupId>
+			<artifactId>wymiwyg-commons-core</artifactId>
+			<version>0.7.5</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza.ext</groupId>
+			<artifactId>com.ibm.icu</artifactId>
+			<version>0.5-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.jena.storage</artifactId>
+			<version>0.5-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.jena.tdb.storage</artifactId>
+			<version>0.5-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.jena.serializer</artifactId>
+			<version>0.9-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.jena.parser</artifactId>
+			<version>0.10-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.rdfjson</artifactId>
+			<version>0.3-incubating-SNAPSHOT</version>
+		</bundle>
+		<bundle>
+			<groupId>org.apache.clerezza.ext</groupId>
+			<artifactId>org.json.simple</artifactId>
+			<version>0.3-incubating-SNAPSHOT</version>
+		</bundle>
+	</startLevel>
+
+	<startLevel level="17">
+		<!-- Clerezza SPARQL query engine -->
+		<bundle>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.enhancer.clerezza.sparql</artifactId>
+			<version>0.9-SNAPSHOT</version>
+		</bundle>
+		
+		<!-- Additional Clerezza serializers -->
+		<bundle>
+			<groupId>org.apache.clerezza</groupId>
+			<artifactId>org.apache.clerezza.rdf.jena.serializer</artifactId>
+			<version>0.9-incubating-SNAPSHOT</version>
+		</bundle>
+
+		<!-- Stanbol JSON-LD implementation -->
+		<bundle>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.jsonld</artifactId>
+			<version>0.9-SNAPSHOT</version>
+		</bundle>
+	</startLevel>
+
+	<!-- Stanbol Enhancer  -->
+	<startLevel level="20">
+		<bundle>
+			<groupId>org.apache.stanbol</groupId>
+			<artifactId>org.apache.stanbol.enhancer.jersey</artifactId>
+			<version>0.9-SNAPSHOT</version>
+		</bundle>
+	</startLevel>
+	
+</bundles>