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 2012/04/19 17:28:19 UTC
svn commit: r1327996 - in /incubator/stanbol/branches/0.9.0-incubating:
commons/owl/ commons/owl/src/license/
commons/owl/src/main/appended-resources/
commons/owl/src/main/resources/maven/ deps/ deps/src/ deps/src/main/
deps/src/main/assembly/ deps/src...
Author: fchrist
Date: Thu Apr 19 15:28:18 2012
New Revision: 1327996
URL: http://svn.apache.org/viewvc?rev=1327996&view=rev
Log:
STANBOL-265 new project to create a deps package for OWLAPI in the 0.9.0-incubating branch and removed the JARs in commons/owl from svn
Added:
incubator/stanbol/branches/0.9.0-incubating/deps/
incubator/stanbol/branches/0.9.0-incubating/deps/download_deps.xml
incubator/stanbol/branches/0.9.0-incubating/deps/pom.xml
incubator/stanbol/branches/0.9.0-incubating/deps/src/
incubator/stanbol/branches/0.9.0-incubating/deps/src/main/
incubator/stanbol/branches/0.9.0-incubating/deps/src/main/assembly/
incubator/stanbol/branches/0.9.0-incubating/deps/src/main/assembly/src.xml
incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/
incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/deps/
incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/deps/owlapi-3.2.3/
incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/deps/owlapi-3.2.3/owlapi-3.2.3.pom
incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.bat (with props)
incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.sh (with props)
Removed:
incubator/stanbol/branches/0.9.0-incubating/commons/owl/src/license/
incubator/stanbol/branches/0.9.0-incubating/commons/owl/src/main/appended-resources/
incubator/stanbol/branches/0.9.0-incubating/commons/owl/src/main/resources/maven/
Modified:
incubator/stanbol/branches/0.9.0-incubating/commons/owl/pom.xml
incubator/stanbol/branches/0.9.0-incubating/parent/pom.xml
Modified: incubator/stanbol/branches/0.9.0-incubating/commons/owl/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/0.9.0-incubating/commons/owl/pom.xml?rev=1327996&r1=1327995&r2=1327996&view=diff
==============================================================================
--- incubator/stanbol/branches/0.9.0-incubating/commons/owl/pom.xml (original)
+++ incubator/stanbol/branches/0.9.0-incubating/commons/owl/pom.xml Thu Apr 19 15:28:18 2012
@@ -37,19 +37,6 @@
constructs of the OWL and OWL 2 languages.
</description>
- <repositories>
- <repository>
- <releases>
- <updatePolicy>always</updatePolicy>
- </releases>
- <snapshots>
- <updatePolicy>always</updatePolicy>
- </snapshots>
- <id>reasoners-owlapi-embedded</id>
- <url>file://localhost/${project.basedir}/src/main/resources/maven/repo</url>
- </repository>
- </repositories>
-
<inceptionYear>2010</inceptionYear>
<build>
@@ -86,22 +73,6 @@
</configuration>
</plugin>
<plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <configuration>
- <excludes>
- <!-- AL20 License -->
- <exclude>src/license/THIRD-PARTY.properties</exclude>
-
- <!-- See src/main/resources/maven/repo/README file -->
- <exclude>src/main/resources/maven/repo/owlapi/owlapi/maven-metadata-local.xml</exclude>
- <exclude>src/main/resources/maven/repo/owlapi/owlapi/3.2.3/owlapi-3.2.3.pom</exclude>
- <exclude>src/main/resources/maven/repo/owlapi/owlapi/3.2.3/owlapi-3.2.3.jar</exclude>
- <exclude>src/main/resources/maven/repo/owlapi/owlapi/3.2.3/owlapi-3.2.3-sources.jar</exclude>
- </excludes>
- </configuration>
- </plugin>
- <plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-scr-plugin</artifactId>
</plugin>
@@ -144,7 +115,7 @@
<artifactId>arq</artifactId>
</dependency>
<dependency>
- <groupId>owlapi</groupId>
+ <groupId>net.sourceforge.owlapi</groupId>
<artifactId>owlapi</artifactId>
</dependency>
Added: incubator/stanbol/branches/0.9.0-incubating/deps/download_deps.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/0.9.0-incubating/deps/download_deps.xml?rev=1327996&view=auto
==============================================================================
--- incubator/stanbol/branches/0.9.0-incubating/deps/download_deps.xml (added)
+++ incubator/stanbol/branches/0.9.0-incubating/deps/download_deps.xml Thu Apr 19 15:28:18 2012
@@ -0,0 +1,48 @@
+<?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 name="Dependency Download Helper" default="download" basedir=".">
+ <description>
+ Contains only a single target that is used by the Maven Ant
+ plugin to download dependencies from the web.
+ </description>
+
+ <property name="download.dir" location="target/download" />
+ <property name="deps.dir" location="target/deps" />
+
+ <target name="download">
+ <mkdir dir="${download.dir}" />
+ <mkdir dir="${deps.dir}" />
+ <antcall target="owlapi" />
+ </target>
+
+ <target name="owlapi">
+ <echo>Downloading OWL API 3.2.3...</echo>
+ <copy todir="${download.dir}" flatten="true">
+ <resources>
+ <url url="http://dfn.dl.sourceforge.net/project/owlapi/OWL%20API%20%28for%20OWL%202.0%29/3.2.3/owlapi-3.2.3.zip"/>
+ </resources>
+ </copy>
+
+ <mkdir dir="${deps.dir}/owlapi-3.2.3" />
+ <unzip src="${download.dir}/owlapi-3.2.3.zip" dest="${deps.dir}/owlapi-3.2.3">
+ <patternset>
+ <include name="*.jar"/>
+ </patternset>
+ </unzip>
+ </target>
+</project>
\ No newline at end of file
Added: incubator/stanbol/branches/0.9.0-incubating/deps/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/0.9.0-incubating/deps/pom.xml?rev=1327996&view=auto
==============================================================================
--- incubator/stanbol/branches/0.9.0-incubating/deps/pom.xml (added)
+++ incubator/stanbol/branches/0.9.0-incubating/deps/pom.xml Thu Apr 19 15:28:18 2012
@@ -0,0 +1,93 @@
+<?xml version="1.0" ?>
+<!--
+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>
+
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>apache-stanbol</artifactId>
+ <packaging>pom</packaging>
+ <version>0.9.0-incubating</version>
+
+ <name>Apache Stanbol Binary Dependencies</name>
+ <description>
+ This project is used to build the binary deps package
+ for Apache Stanbol.
+ </description>
+
+ <scm>
+ <connection>
+ scm:svn:http://svn.apache.org/repos/asf/incubator/stanbol/tags/0.9.0-incubating/deps
+ </connection>
+ <developerConnection>
+ scm:svn:https://svn.apache.org/repos/asf/incubator/stanbol/tags/0.9.0-incubating/deps
+ </developerConnection>
+ <url>http://incubator.apache.org/stanbol</url>
+ </scm>
+
+ <build>
+ <plugins>
+ <plugin>
+ <!--
+ Ant is used to download the deps from their websites.
+ -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>compile</id>
+ <phase>compile</phase>
+ <configuration>
+ <target>
+ <ant antfile="${basedir}/download_deps.xml">
+ <target name="download"/>
+ </ant>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <descriptors>
+ <descriptor>src/main/assembly/src.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
Added: incubator/stanbol/branches/0.9.0-incubating/deps/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/0.9.0-incubating/deps/src/main/assembly/src.xml?rev=1327996&view=auto
==============================================================================
--- incubator/stanbol/branches/0.9.0-incubating/deps/src/main/assembly/src.xml (added)
+++ incubator/stanbol/branches/0.9.0-incubating/deps/src/main/assembly/src.xml Thu Apr 19 15:28:18 2012
@@ -0,0 +1,30 @@
+<?xml version="1.0" ?>
+<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
+
+ <id>deps</id>
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ </formats>
+
+ <fileSets>
+ <!-- main project directory structure -->
+ <fileSet>
+ <directory>src/main/resources</directory>
+ <outputDirectory>/</outputDirectory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <includes>
+ <include>*/**</include>
+ </includes>
+ </fileSet>
+ <fileSet>
+ <directory>target/deps</directory>
+ <outputDirectory>/deps</outputDirectory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <includes>
+ <include>*/**</include>
+ </includes>
+ </fileSet>
+ </fileSets>
+
+</assembly>
\ No newline at end of file
Added: incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/deps/owlapi-3.2.3/owlapi-3.2.3.pom
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/deps/owlapi-3.2.3/owlapi-3.2.3.pom?rev=1327996&view=auto
==============================================================================
--- incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/deps/owlapi-3.2.3/owlapi-3.2.3.pom (added)
+++ incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/deps/owlapi-3.2.3/owlapi-3.2.3.pom Thu Apr 19 15:28:18 2012
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>net.sourceforge.owlapi</groupId>
+ <artifactId>owlapi</artifactId>
+ <version>3.2.3</version>
+
+ <description>The OWL API is a Java API and reference implementation for creating, manipulating and serialising OWL Ontologies. The latest version of the API is focused towards OWL 2</description>
+
+ <url>http://owlapi.sourceforge.net/</url>
+
+ <licenses>
+ <license>
+ <name>Apache License Version 2.0, January 2004</name>
+ <url>http://www.apache.org/licenses/</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+</project>
Added: incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.bat
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.bat?rev=1327996&view=auto
==============================================================================
--- incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.bat (added)
+++ incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.bat Thu Apr 19 15:28:18 2012
@@ -0,0 +1,36 @@
+@echo off
+
+REM Licensed to the Apache Software Foundation (ASF) under one
+REM or more contributor license agreements. See the NOTICE file
+REM distributed with this work for additional information
+REM regarding copyright ownership. The ASF licenses this file
+REM to you under the Apache License, Version 2.0 (the
+REM "License"); you may not use this file except in compliance
+REM with the License. You may obtain a copy of the License at
+REM
+REM http:\\www.apache.org\licenses\LICENSE-2.0
+REM
+REM Unless required by applicable law or agreed to in writing,
+REM software distributed under the License is distributed on an
+REM "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+REM KIND, either express or implied. See the License for the
+REM specific language governing permissions and limitations
+REM under the License.
+
+REM This script installs the Apache Stanbol dependency JARs
+REM packaged in this archive in the local Maven repository
+REM to make them available for the build process of
+REM Apache Stanbol.
+
+echo This will install the following artifacts into your local Maven repository:
+echo - OWL API version 3.2.3 from http:\\owlapi.sourceforge.net\
+echo License: Apache License, Version 2.0
+echo.
+
+echo Press any key to continue... CTRL-C to abort.
+echo.
+
+pause
+
+echo Installing OWL API 3.2.3
+call mvn install:install-file -DpomFile=deps\owlapi-3.2.3\owlapi-3.2.3.pom -Dfile=deps\owlapi-3.2.3\owlapi-bin.jar -Dsource=-Dfile=deps\owlapi-3.2.3\owlapi-src.jar
Propchange: incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.bat
------------------------------------------------------------------------------
svn:executable = *
Added: incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.sh
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.sh?rev=1327996&view=auto
==============================================================================
--- incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.sh (added)
+++ incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.sh Thu Apr 19 15:28:18 2012
@@ -0,0 +1,34 @@
+#!/bin/bash
+
+# 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.
+
+# This script installs the Apache Stanbol dependency JARs
+# packaged in this archive in the local Maven repository
+# to make them available for the build process of
+# Apache Stanbol.
+
+echo "This will install the following artifacts into your local Maven repository:"
+echo " - OWL API version 3.2.3 from http://owlapi.sourceforge.net/"
+echo " License: Apache License, Version 2.0"
+echo
+
+read -p "Press any key to continue... CTRL-C to abort." -n 1 -s
+echo
+
+echo "Installing OWL API 3.2.3"
+exec mvn install:install-file -DpomFile=deps/owlapi-3.2.3/owlapi-3.2.3.pom -Dfile=deps/owlapi-3.2.3/owlapi-bin.jar -Dsource=-Dfile=deps/owlapi-3.2.3/owlapi-src.jar
Propchange: incubator/stanbol/branches/0.9.0-incubating/deps/src/main/resources/install.sh
------------------------------------------------------------------------------
svn:executable = *
Modified: incubator/stanbol/branches/0.9.0-incubating/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/branches/0.9.0-incubating/parent/pom.xml?rev=1327996&r1=1327995&r2=1327996&view=diff
==============================================================================
--- incubator/stanbol/branches/0.9.0-incubating/parent/pom.xml (original)
+++ incubator/stanbol/branches/0.9.0-incubating/parent/pom.xml Thu Apr 19 15:28:18 2012
@@ -1543,7 +1543,7 @@
<!-- OWL -->
<dependency>
- <groupId>owlapi</groupId>
+ <groupId>net.sourceforge.owlapi</groupId>
<artifactId>owlapi</artifactId>
<version>3.2.3</version>
</dependency>