You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by al...@apache.org on 2011/08/09 17:31:23 UTC
svn commit: r1155402 - in /incubator/stanbol/trunk/reengineer: base/pom.xml
xerces/pom.xml xml/pom.xml xml/src/main/java/eu/
xml/src/main/java/org/apache/stanbol/reengineer/xml/XMLExtractor.java
Author: alexdma
Date: Tue Aug 9 15:31:22 2011
New Revision: 1155402
URL: http://svn.apache.org/viewvc?rev=1155402&view=rev
Log:
STANBOL-309
- Minimized dependencies in reengineer/base POM.
- Specified version 2.7.1 for Xerces
Removed:
incubator/stanbol/trunk/reengineer/xml/src/main/java/eu/
Modified:
incubator/stanbol/trunk/reengineer/base/pom.xml
incubator/stanbol/trunk/reengineer/xerces/pom.xml
incubator/stanbol/trunk/reengineer/xml/pom.xml
incubator/stanbol/trunk/reengineer/xml/src/main/java/org/apache/stanbol/reengineer/xml/XMLExtractor.java
Modified: incubator/stanbol/trunk/reengineer/base/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/base/pom.xml?rev=1155402&r1=1155401&r2=1155402&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/base/pom.xml (original)
+++ incubator/stanbol/trunk/reengineer/base/pom.xml Tue Aug 9 15:31:22 2011
@@ -1,19 +1,20 @@
<?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.
- -->
+ 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">
@@ -30,7 +31,7 @@
<artifactId>org.apache.stanbol.reengineer.base</artifactId>
<packaging>bundle</packaging>
- <name>Apache Stanbol Data Reegineer Manager</name>
+ <name>Apache Stanbol Reengineer - Base API</name>
<description>
Provides basic functionality for reengineering resources
into ontologies.
@@ -40,6 +41,7 @@
<build>
<plugins>
+
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
@@ -57,6 +59,7 @@
</instructions>
</configuration>
</plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
@@ -64,31 +67,16 @@
<source>1.6</source>
<target>1.6</target>
</configuration>
- <dependencies>
- <dependency>
- <groupId>com.hp.hpl.jena</groupId>
- <artifactId>jena</artifactId>
- <version>2.6.2</version>
- </dependency>
- </dependencies>
</plugin>
+
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
- <!--
- <executions> <execution> <id>generate-scr-scrdescriptor</id>
- <goals> <goal>scr</goal> </goals> </execution> </executions>
- -->
- <dependencies>
- <dependency>
- <groupId>com.hp.hpl.jena</groupId>
- <artifactId>jena</artifactId>
- <version>2.6.2</version>
- </dependency>
- </dependencies>
</plugin>
+
</plugins>
</build>
+
<dependencies>
@@ -96,128 +84,39 @@
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.core</artifactId>
- <version>4.1.0</version>
- <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.osgi</groupId>
<artifactId>org.osgi.compendium</artifactId>
- <version>4.1.0</version>
- <scope>provided</scope>
- </dependency>
+ </dependency>
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.scr.annotations</artifactId>
- <version>1.2.0</version>
- <scope>provided</scope>
</dependency>
-
+
<!-- OWL deps -->
<dependency>
- <groupId>org.apache.stanbol</groupId>
- <artifactId>org.apache.stanbol.owl</artifactId>
- </dependency>
-
- <!-- Jena deps -->
- <dependency>
- <groupId>com.ibm.icu</groupId>
- <artifactId>icu4j</artifactId>
- <version>3.4.4</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.hp.hpl.jena</groupId>
- <artifactId>iri</artifactId>
- <version>0.8</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
<groupId>com.hp.hpl.jena</groupId>
<artifactId>jena</artifactId>
- <version>2.6.2</version>
- <scope>provided</scope>
- <exclusions>
- <exclusion>
- <artifactId>slf4j-log4j12</artifactId>
- <groupId>org.slf4j</groupId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- <version>2.7.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- <version>1.0.1</version>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>com.hp.hpl.jena</groupId>
- <artifactId>tdb</artifactId>
- <version>0.8.5</version>
- <scope>provided</scope>
</dependency>
- <dependency>
- <groupId>org.codehaus.woodstox</groupId>
- <artifactId>wstx-asl</artifactId>
- <version>3.9.9-3</version>
- </dependency>
- <dependency>
- <groupId>com.hp.hpl.jena</groupId>
- <artifactId>arq</artifactId>
- <version>2.8.3</version>
- <scope>provided</scope>
- </dependency>
-
+
<!-- Persistence deps -->
<dependency>
<groupId>org.apache.clerezza</groupId>
<artifactId>rdf.core</artifactId>
- <version>0.12-incubating-SNAPSHOT</version>
- <scope>provided</scope>
</dependency>
-
+
<!-- Stanbol deps -->
<dependency>
<groupId>org.apache.stanbol</groupId>
<artifactId>org.apache.stanbol.ontologymanager.ontonet</artifactId>
</dependency>
-
- <!-- Diagnostics deps -->
- <dependency> <!-- we use log4j 1.2 -->
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>runtime</scope>
- </dependency>
- <dependency> <!-- see also the log4j.properties in src/main/resources -->
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <scope>runtime</scope>
- </dependency>
-
- <!-- Testing deps -->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <scope>test</scope>
- </dependency>
-
+ <dependency>
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.owl</artifactId>
+ </dependency>
+
</dependencies>
-
- <repositories>
- <repository>
- <id>stlab-cnr-repo</id>
- <url>http://stlab.istc.cnr.it/software/maven/repo</url>
- </repository>
- </repositories>
+
</project>
Modified: incubator/stanbol/trunk/reengineer/xerces/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/xerces/pom.xml?rev=1155402&r1=1155401&r2=1155402&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/xerces/pom.xml (original)
+++ incubator/stanbol/trunk/reengineer/xerces/pom.xml Tue Aug 9 15:31:22 2011
@@ -59,7 +59,7 @@
<configuration>
<instructions>
<Export-Package>
- org.apache.xerces.*,
+ org.apache.xerces.*;version=2.7.1,
org.apache.xml.serialize,
org.castor.core.*,
org.castor.mapping,
Modified: incubator/stanbol/trunk/reengineer/xml/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/xml/pom.xml?rev=1155402&r1=1155401&r2=1155402&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/xml/pom.xml (original)
+++ incubator/stanbol/trunk/reengineer/xml/pom.xml Tue Aug 9 15:31:22 2011
@@ -57,6 +57,7 @@
<Import-Package>
!org.apache.xml.resolver.*,
!sun.io.*,
+ org.apache.xerces.*;version=2.7.1,
org.slf4j.*,
org.xml.sax.*,
*
Modified: incubator/stanbol/trunk/reengineer/xml/src/main/java/org/apache/stanbol/reengineer/xml/XMLExtractor.java
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/reengineer/xml/src/main/java/org/apache/stanbol/reengineer/xml/XMLExtractor.java?rev=1155402&r1=1155401&r2=1155402&view=diff
==============================================================================
--- incubator/stanbol/trunk/reengineer/xml/src/main/java/org/apache/stanbol/reengineer/xml/XMLExtractor.java (original)
+++ incubator/stanbol/trunk/reengineer/xml/src/main/java/org/apache/stanbol/reengineer/xml/XMLExtractor.java Tue Aug 9 15:31:22 2011
@@ -199,7 +199,7 @@ public class XMLExtractor extends Reengi
}
}
- log.info("Activated KReS Semion RDB Reengineer");
+ log.info("Stanbol XML Reengineer active.");
}
@Override