You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by co...@apache.org on 2011/03/21 01:38:50 UTC
svn commit: r1083639 - in /incubator/stanbol/trunk/kres/reasoners/hermit: ./
src/ src/main/ src/main/assembly/ src/main/java/ src/main/java/org/
src/main/java/org/apache/ src/main/java/org/apache/stanbol/
src/main/java/org/apache/stanbol/reasoners/ src...
Author: concelvio
Date: Mon Mar 21 00:38:49 2011
New Revision: 1083639
URL: http://svn.apache.org/viewvc?rev=1083639&view=rev
Log:
STANBOL-39:
1) Moved from eu.iksproject.kres.shered.dependency.hremit to reasoners/hermit (org.apache.stanbol.reasoners.hermit)
Added:
incubator/stanbol/trunk/kres/reasoners/hermit/ (with props)
incubator/stanbol/trunk/kres/reasoners/hermit/pom.xml
incubator/stanbol/trunk/kres/reasoners/hermit/src/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/assembly/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/assembly/felix.xml
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/java/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/java/org/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/java/org/apache/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/java/org/apache/stanbol/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/java/org/apache/stanbol/reasoners/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/java/org/apache/stanbol/reasoners/hermit/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/eu/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/eu/iksproject/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/eu/iksproject/kres/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/eu/iksproject/kres/shared/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/eu/iksproject/kres/shared/dependency/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/eu/iksproject/kres/shared/dependency/hermit/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/hermit124/
incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/hermit124/hermit-1.2.4.jar (with props)
incubator/stanbol/trunk/kres/reasoners/hermit/src/test/
incubator/stanbol/trunk/kres/reasoners/hermit/src/test/java/
incubator/stanbol/trunk/kres/reasoners/hermit/src/test/java/org/
incubator/stanbol/trunk/kres/reasoners/hermit/src/test/java/org/apache/
incubator/stanbol/trunk/kres/reasoners/hermit/src/test/java/org/apache/stanbol/
incubator/stanbol/trunk/kres/reasoners/hermit/src/test/java/org/apache/stanbol/reasoners/
incubator/stanbol/trunk/kres/reasoners/hermit/src/test/java/org/apache/stanbol/reasoners/hermit/
Propchange: incubator/stanbol/trunk/kres/reasoners/hermit/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Mon Mar 21 00:38:49 2011
@@ -0,0 +1 @@
+target
Added: incubator/stanbol/trunk/kres/reasoners/hermit/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/kres/reasoners/hermit/pom.xml?rev=1083639&view=auto
==============================================================================
--- incubator/stanbol/trunk/kres/reasoners/hermit/pom.xml (added)
+++ incubator/stanbol/trunk/kres/reasoners/hermit/pom.xml Mon Mar 21 00:38:49 2011
@@ -0,0 +1,243 @@
+<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>
+
+ <artifactId>org.apache.stanbol.reasoners.hermit</artifactId>
+ <version>${stanbol-version}</version>
+ <packaging>bundle</packaging>
+
+ <name>Apache Stanbol Reasoners Hermit Dependency</name>
+
+ <properties>
+ <kres-version>0.7</kres-version>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+ <repositories>
+ <repository>
+ <id>stlab-cnr-repo</id>
+ <url>http://stlab.istc.cnr.it/software/maven/repo</url>
+ </repository>
+ </repositories>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.osgi.core</artifactId>
+ <version>1.4.0</version>
+ </dependency>
+ <dependency>
+ <groupId>hermit</groupId>
+ <artifactId>hermit</artifactId>
+ <version>1.2.4</version>
+ <type>jar</type>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.4</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>maven-bundle-plugin</artifactId>
+ <version>2.0.1</version>
+ <extensions>true</extensions>
+ <configuration>
+ <instructions>
+ <Bundle-ClassPath>.,hermit124/hermit-1.2.4.jar</Bundle-ClassPath>
+ <Export-Package>
+ com.clarkparsia.owlapi.explanation,
+ com.clarkparsia.owlapi.explanation.io,
+ com.clarkparsia.owlapi.explanation.util,
+ com.clarkparsia.owlapi.modularity.locality,
+ de.uulm.ecs.ai.owlapi.krssparser,
+ de.uulm.ecs.ai.owlapi.krssrenderer,
+ dk.brics.automaton,gnu.getopt,
+ org.apache.axiom.attachments.*,
+ org.apache.axiom.c14n.*,
+ org.apache.axiom.om.*,
+ org.apache.axiom.soap.*,
+ org.apache.commons.logging,
+ org.apache.commons.logging.impl,
+ org.coode.owlapi.functionalparser,
+ org.coode.owlapi.functionalrenderer,
+ org.coode.owlapi.latex,
+ org.coode.owlapi.manchesterowlsyntax,
+ org.coode.owlapi.obo.parser,
+ org.coode.owlapi.obo.renderer,
+ org.coode.owlapi.owlxml.renderer,
+ org.coode.owlapi.owlxmlparser,
+ org.coode.owlapi.rdf.model,
+ org.coode.owlapi.rdf.rdfxml,
+ org.coode.owlapi.rdf.renderer,
+ org.coode.owlapi.rdfxml.parser,
+ org.coode.owlapi.turtle,
+ org.coode.string,org.coode.xml,
+ org.semanticweb.HermiT.*,
+ org.semanticweb.owlapi.*,
+ rationals.*,
+ uk.ac.manchester.cs.bhig.util,
+ uk.ac.manchester.cs.owl.explanation.ordering,
+ uk.ac.manchester.cs.owl.owlapi,
+ uk.ac.manchester.cs.owl.owlapi.mansyntaxrenderer,
+ uk.ac.manchester.cs.owl.owlapi.turtle.parser,
+ uk.ac.manchester.cs.owlapi.dlsyntax,
+ uk.ac.manchester.cs.owlapi.dlsyntax.parser,
+ uk.ac.manchester.cs.owlapi.modularity
+ </Export-Package>
+ <Private-Package />
+ <Import-Package>
+ !javax.xml.stream.*,
+ !javax.activation.*,
+ !javax.mail.*,
+ !javax.swing.*,
+ !javax.xml.namespace.*,
+ !javax.xml.parsers.*,
+ !javax.xml.transform.sax.*,
+ !javax.xml.validation.*,
+ !org.apache.avalon.framework.logger.*,
+ !org.apache.log.*,
+ !org.jaxen.*,
+ !org.protege.editor.owl.model.*,
+ !org.w3c.dom.*,
+ !org.xml.sax.*,
+ *
+ </Import-Package>
+ <_nouses>true</_nouses>
+ </instructions>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.6</source>
+ <target>1.6</target>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.2</version>
+ <configuration>
+ <encoding>${project.build.sourceEncoding}</encoding>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <!-- this profile executes the bundle on apache felix-->
+ <id>run-on-felix</id>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.felix</groupId>
+ <artifactId>org.apache.felix.main</artifactId>
+ <version>2.0.2</version>
+ <scope>provided</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.felix.gogo</groupId>
+ <artifactId>org.apache.felix.gogo.commands</artifactId>
+ <version>0.2.2</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.3</version>
+ <executions>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <property name="plugins" refid="maven.runtime.classpath" />
+ <pathconvert pathsep=" " dirsep="/"
+ property="project.build.url">
+ <path path="${project.build.directory}" />
+ </pathconvert>
+ <pathconvert property="plugins.jars" pathsep=":">
+ <path path="${plugins}" />
+ <map from="${project.build.directory}/classes" to="" />
+ </pathconvert>
+ <makeurl property="urls" separator=" " validate="false">
+ <path path="${plugins.jars}" />
+ </makeurl>
+ <pathconvert pathsep=" " property="bundles">
+ <path path="${plugins}" />
+ <mapper>
+ <chainedmapper>
+ <flattenmapper />
+ <globmapper from="*" to="file:modules/*"
+ casesensitive="no" />
+ </chainedmapper>
+ </mapper>
+ </pathconvert>
+ <makeurl property="main.bundle.url"
+ file="${project.build.directory}/${project.artifactId}-${project.version}.jar" />
+ <echo file="${project.build.directory}/run.properties">
+ felix.auto.install=${urls}
+ felix.auto.start=${main.bundle.url}
+ org.osgi.framework.storage=${project.build.url}/felix-cache
+ org.osgi.framework.bootdelegation=*
+ </echo>
+ <replace file="${project.build.directory}/run.properties"
+ token="\" value="\\" />
+ <echo file="${project.build.directory}/config.properties">
+ felix.auto.install="${bundles}"
+ felix.auto.start=file:modules/${project.artifactId}-${project.version}.jar
+ </echo>
+ <copy
+ file="${maven.dependency.org.apache.felix.org.apache.felix.main.jar.path}"
+ tofile="${project.build.directory}/felix.jar" />
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-5</version>
+ <executions>
+ <execution>
+ <id>create-executable-jar</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <descriptors>
+ <descriptor>${basedir}/src/main/assembly/felix.xml</descriptor>
+ </descriptors>
+ <finalName>${project.artifactId}-${project.version}</finalName>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+ <groupId>org.apache.stanbol</groupId>
+</project>
Added: incubator/stanbol/trunk/kres/reasoners/hermit/src/main/assembly/felix.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/kres/reasoners/hermit/src/main/assembly/felix.xml?rev=1083639&view=auto
==============================================================================
--- incubator/stanbol/trunk/kres/reasoners/hermit/src/main/assembly/felix.xml (added)
+++ incubator/stanbol/trunk/kres/reasoners/hermit/src/main/assembly/felix.xml Mon Mar 21 00:38:49 2011
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<assembly>
+ <id>all</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <dependencySets>
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory>modules</outputDirectory>
+ <excludes>
+ <exclude>org.apache.felix:org.apache.felix.main</exclude>
+ </excludes>
+ </dependencySet>
+ <dependencySet>
+ <useProjectArtifact>false</useProjectArtifact>
+ <outputDirectory></outputDirectory>
+ <includes>
+ <include>org.apache.felix:org.apache.felix.main</include>
+ </includes>
+ </dependencySet>
+ </dependencySets>
+ <files>
+ <file>
+ <source>${project.build.directory}/${project.artifactId}-${project.version}.jar</source>
+ <outputDirectory>modules</outputDirectory>
+ </file>
+ <file>
+ <source>${project.build.directory}/felix.jar</source>
+ <outputDirectory>bin</outputDirectory>
+ </file>
+ <file>
+ <source>${project.build.directory}/config.properties</source>
+ <outputDirectory>conf</outputDirectory>
+ </file>
+ </files>
+</assembly>
Added: incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/hermit124/hermit-1.2.4.jar
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/hermit124/hermit-1.2.4.jar?rev=1083639&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/stanbol/trunk/kres/reasoners/hermit/src/main/resources/hermit124/hermit-1.2.4.jar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream