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 2013/02/12 15:39:01 UTC
svn commit: r1445184 - in /stanbol/trunk:
enhancement-engines/htmlextractor/pom.xml
enhancement-engines/keywordextraction/pom.xml
enhancement-engines/opennlp/opennlp-ner/pom.xml parent/pom.xml
Author: fchrist
Date: Tue Feb 12 14:39:01 2013
New Revision: 1445184
URL: http://svn.apache.org/r1445184
Log:
Set version of jsoup in parent, made testing runtime deps to OpenNLP data bundles really optional if tests are skipped
Modified:
stanbol/trunk/enhancement-engines/htmlextractor/pom.xml
stanbol/trunk/enhancement-engines/keywordextraction/pom.xml
stanbol/trunk/enhancement-engines/opennlp/opennlp-ner/pom.xml
stanbol/trunk/parent/pom.xml
Modified: stanbol/trunk/enhancement-engines/htmlextractor/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/enhancement-engines/htmlextractor/pom.xml?rev=1445184&r1=1445183&r2=1445184&view=diff
==============================================================================
--- stanbol/trunk/enhancement-engines/htmlextractor/pom.xml (original)
+++ stanbol/trunk/enhancement-engines/htmlextractor/pom.xml Tue Feb 12 14:39:01 2013
@@ -84,10 +84,6 @@
</plugins>
</build>
- <properties>
- <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
- </properties>
-
<dependencies>
<dependency>
<groupId>org.apache.stanbol</groupId>
Modified: stanbol/trunk/enhancement-engines/keywordextraction/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/enhancement-engines/keywordextraction/pom.xml?rev=1445184&r1=1445183&r2=1445184&view=diff
==============================================================================
--- stanbol/trunk/enhancement-engines/keywordextraction/pom.xml (original)
+++ stanbol/trunk/enhancement-engines/keywordextraction/pom.xml Tue Feb 12 14:39:01 2013
@@ -160,12 +160,6 @@
<version>0.11.0</version>
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>org.apache.stanbol</groupId>
- <artifactId>org.apache.stanbol.data.opennlp.lang.en</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
<dependency>
<groupId>junit</groupId>
@@ -180,4 +174,37 @@
</dependencies>
+ <profiles>
+ <!--
+ The profiles here are used to prevent a build failure
+ if tests are skipped using -DskipTests but the required
+ OpenNLP data bundles are not available in the local repo.
+ With these profiles Maven does not try to download
+ the runtime test dependencies of the data bundles.
+ -->
+ <profile>
+ <id>with-tests</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.data.opennlp.lang.en</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>no-tests</id>
+ <activation>
+ <property>
+ <name>skipTests</name>
+ <value>true</value>
+ </property>
+ </activation>
+ </profile>
+ </profiles>
+
</project>
Modified: stanbol/trunk/enhancement-engines/opennlp/opennlp-ner/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/enhancement-engines/opennlp/opennlp-ner/pom.xml?rev=1445184&r1=1445183&r2=1445184&view=diff
==============================================================================
--- stanbol/trunk/enhancement-engines/opennlp/opennlp-ner/pom.xml (original)
+++ stanbol/trunk/enhancement-engines/opennlp/opennlp-ner/pom.xml Tue Feb 12 14:39:01 2013
@@ -139,18 +139,6 @@
<scope>test</scope>
</dependency>
<dependency>
- <groupId>org.apache.stanbol</groupId>
- <artifactId>org.apache.stanbol.data.opennlp.lang.en</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- <dependency>
- <groupId>org.apache.stanbol</groupId>
- <artifactId>org.apache.stanbol.data.opennlp.ner.en</artifactId>
- <version>1.2.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
- <dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
@@ -162,4 +150,43 @@
</dependency>
</dependencies>
+ <profiles>
+ <!--
+ The profiles here are used to prevent a build failure
+ if tests are skipped using -DskipTests but the required
+ OpenNLP data bundles are not available in the local repo.
+ With these profiles Maven does not try to download
+ the runtime test dependencies of the data bundles.
+ -->
+ <profile>
+ <id>with-tests</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.data.opennlp.lang.en</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.stanbol</groupId>
+ <artifactId>org.apache.stanbol.data.opennlp.ner.en</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+ </profile>
+ <profile>
+ <id>no-tests</id>
+ <activation>
+ <property>
+ <name>skipTests</name>
+ <value>true</value>
+ </property>
+ </activation>
+ </profile>
+ </profiles>
+
</project>
Modified: stanbol/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/stanbol/trunk/parent/pom.xml?rev=1445184&r1=1445183&r2=1445184&view=diff
==============================================================================
--- stanbol/trunk/parent/pom.xml (original)
+++ stanbol/trunk/parent/pom.xml Tue Feb 12 14:39:01 2013
@@ -670,7 +670,7 @@
<version>1.4</version>
</dependency>
<!-- As commons-beanutils:commons-beanutils is not bundle we use the
- org.apache.stanbol.servicemix version instead -->
+ org.apache.stanbol.servuemix version instead -->
<dependency>
<groupId>org.apache.servicemix.bundles</groupId>
<artifactId>org.apache.servicemix.bundles.commons-beanutils</artifactId>
@@ -1178,6 +1178,13 @@
</exclusions>
</dependency>
+ <!-- jsoup HTML parser -->
+ <dependency>
+ <groupId>org.jsoup</groupId>
+ <artifactId>jsoup</artifactId>
+ <version>1.7.2</version>
+ </dependency>
+
<!-- OpenNLP -->
<dependency>
<groupId>org.clojars.zaxtax</groupId>