Author: fchrist
Date: Tue Sep 25 14:53:41 2012
New Revision: 1389895

URL: http://svn.apache.org/viewvc?rev=1389895&view=rev
Log:
STANBOL-751 models from external resources are downloaded into 'downloads' 
folder, fixed reactor POM for future release packaging

Modified:
    stanbol/trunk/data/defaultconfig/pom.xml
    stanbol/trunk/data/opennlp/lang/da/   (props changed)
    stanbol/trunk/data/opennlp/lang/da/pom.xml
    stanbol/trunk/data/opennlp/lang/de/   (props changed)
    stanbol/trunk/data/opennlp/lang/de/pom.xml
    stanbol/trunk/data/opennlp/lang/en/   (props changed)
    stanbol/trunk/data/opennlp/lang/en/pom.xml
    stanbol/trunk/data/opennlp/lang/es/   (props changed)
    stanbol/trunk/data/opennlp/lang/es/pom.xml
    stanbol/trunk/data/opennlp/lang/nl/   (props changed)
    stanbol/trunk/data/opennlp/lang/nl/pom.xml
    stanbol/trunk/data/opennlp/lang/pt/   (props changed)
    stanbol/trunk/data/opennlp/lang/pt/pom.xml
    stanbol/trunk/data/opennlp/lang/sv/   (props changed)
    stanbol/trunk/data/opennlp/lang/sv/pom.xml
    stanbol/trunk/data/opennlp/ner/en/   (props changed)
    stanbol/trunk/data/opennlp/ner/en/pom.xml
    stanbol/trunk/data/opennlp/ner/es/   (props changed)
    stanbol/trunk/data/opennlp/ner/es/pom.xml
    stanbol/trunk/data/opennlp/ner/nl/   (props changed)
    stanbol/trunk/data/opennlp/ner/nl/pom.xml
    stanbol/trunk/data/parent/pom.xml
    stanbol/trunk/data/pom.xml
    stanbol/trunk/data/registries/default/pom.xml
    stanbol/trunk/data/sites/dbpedia/pom.xml

Modified: stanbol/trunk/data/defaultconfig/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/defaultconfig/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/defaultconfig/pom.xml (original)
+++ stanbol/trunk/data/defaultconfig/pom.xml Tue Sep 25 14:53:41 2012
@@ -62,6 +62,7 @@
           <excludes>
             <!-- AL20 licensed files. See src/main/resources/README -->
             
<exclude>src/main/resources/config/org.apache.stanbol.enhancer.chain.weighted.impl.WeightedChain-language.config</exclude>
+            
<exclude>src/main/resources/config/org.apache.stanbol.enhancer.chain.weighted.impl.WeightedChain-default.config</exclude>
            
             
<exclude>src/main/resources/config/org.apache.stanbol.enhancer.engines.keywordextraction.engine.KeywordLinkingEngine-entityhub.config</exclude>
           </excludes>
         </configuration>

Propchange: stanbol/trunk/data/opennlp/lang/da/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 25 14:53:41 2012
@@ -1,5 +1,7 @@
+target
+bin
+downloads
 .classpath
 .project
-target
 .settings
 

Modified: stanbol/trunk/data/opennlp/lang/da/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/opennlp/lang/da/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/opennlp/lang/da/pom.xml (original)
+++ stanbol/trunk/data/opennlp/lang/da/pom.xml Tue Sep 25 14:53:41 2012
@@ -46,8 +46,16 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
+
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <downloadWarning>
+*                  
+* WARNING - this build downloads some OpenNLP files that are *not*
+* licensed under the Apache License, and have more restrictive usage
+* terms than the Apache Stanbol code. See STANBOL-545 for more
+* information: https://issues.apache.org/jira/browse/STANBOL-545
+*
+    </downloadWarning>
     <!-- define the path to/home of the OpenNLP modles-->
     <opennlp.model.path>org/apache/stanbol/data/opennlp</opennlp.model.path>
     
<opennlp.model.home>http://dev.iks-project.eu/downloads/opennlp/models-1.5</opennlp.model.home>
@@ -86,8 +94,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -99,7 +107,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${opennlp.model.path}"/>
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${opennlp.model.path}"/>
                 <property name="model.url" value="${opennlp.model.home}"/>
                                 
                 <echo message="copy OpenNLP models"/>

Propchange: stanbol/trunk/data/opennlp/lang/de/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 25 14:53:41 2012
@@ -1,5 +1,7 @@
+target
+bin
+downloads
 .classpath
 .project
-target
 .settings
 

Modified: stanbol/trunk/data/opennlp/lang/de/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/opennlp/lang/de/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/opennlp/lang/de/pom.xml (original)
+++ stanbol/trunk/data/opennlp/lang/de/pom.xml Tue Sep 25 14:53:41 2012
@@ -46,8 +46,16 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
+
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <downloadWarning>
+*                  
+* WARNING - this build downloads some OpenNLP files that are *not*
+* licensed under the Apache License, and have more restrictive usage
+* terms than the Apache Stanbol code. See STANBOL-545 for more
+* information: https://issues.apache.org/jira/browse/STANBOL-545
+*
+    </downloadWarning>
     <!-- define the path to/home of the OpenNLP modles-->
     <opennlp.model.path>org/apache/stanbol/data/opennlp</opennlp.model.path>
     
<opennlp.model.home>http://dev.iks-project.eu/downloads/opennlp/models-1.5</opennlp.model.home>
@@ -86,8 +94,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -99,7 +107,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${opennlp.model.path}"/>
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${opennlp.model.path}"/>
                 <property name="model.url" value="${opennlp.model.home}"/>
                                 
                 <echo message="copy OpenNLP models"/>

Propchange: stanbol/trunk/data/opennlp/lang/en/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 25 14:53:41 2012
@@ -1,6 +1,7 @@
 target
+bin
+downloads
 .classpath
 .project
 .settings
 
-bin

Modified: stanbol/trunk/data/opennlp/lang/en/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/opennlp/lang/en/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/opennlp/lang/en/pom.xml (original)
+++ stanbol/trunk/data/opennlp/lang/en/pom.xml Tue Sep 25 14:53:41 2012
@@ -46,8 +46,16 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
+
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <downloadWarning>
+*                  
+* WARNING - this build downloads some OpenNLP files that are *not*
+* licensed under the Apache License, and have more restrictive usage
+* terms than the Apache Stanbol code. See STANBOL-545 for more
+* information: https://issues.apache.org/jira/browse/STANBOL-545
+*
+    </downloadWarning>
     <!-- define the path to/home of the OpenNLP modles-->
     <opennlp.model.path>org/apache/stanbol/data/opennlp</opennlp.model.path>
     
<opennlp.model.home>http://dev.iks-project.eu/downloads/opennlp/models-1.5</opennlp.model.home>
@@ -86,8 +94,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -99,7 +107,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${opennlp.model.path}"/>
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${opennlp.model.path}"/>
                 <property name="model.url" value="${opennlp.model.home}"/>
                                 
                 <echo message="copy OpenNLP models"/>

Propchange: stanbol/trunk/data/opennlp/lang/es/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 25 14:53:41 2012
@@ -1,7 +1,7 @@
+target
+bin
+downloads
+.classpath
 .project
-
 .settings
 
-target
-
-.classpath

Modified: stanbol/trunk/data/opennlp/lang/es/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/opennlp/lang/es/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/opennlp/lang/es/pom.xml (original)
+++ stanbol/trunk/data/opennlp/lang/es/pom.xml Tue Sep 25 14:53:41 2012
@@ -47,8 +47,16 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
+
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <downloadWarning>
+*                  
+* WARNING - this build downloads some OpenNLP files that are *not*
+* licensed under the Apache License, and have more restrictive usage
+* terms than the Apache Stanbol code. See STANBOL-545 for more
+* information: https://issues.apache.org/jira/browse/STANBOL-545
+*
+    </downloadWarning>
     <!-- define the path to/home of the OpenNLP modles-->
     <opennlp.model.path>org/apache/stanbol/data/opennlp</opennlp.model.path>
     
<opennlp.model.home>http://dev.iks-project.eu/downloads/opennlp/models-1.5</opennlp.model.home>
@@ -88,8 +96,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -101,7 +109,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${opennlp.model.path}"/>
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${opennlp.model.path}"/>
                 <property name="sf.model.url" value="${opennlp.model.home}"/>
                 <property name="git.model.url" 
value="${opennlp.git.model.home}"/>
                                 

Propchange: stanbol/trunk/data/opennlp/lang/nl/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 25 14:53:41 2012
@@ -1,5 +1,7 @@
+target
+bin
+downloads
 .classpath
 .project
-target
 .settings
 

Modified: stanbol/trunk/data/opennlp/lang/nl/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/opennlp/lang/nl/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/opennlp/lang/nl/pom.xml (original)
+++ stanbol/trunk/data/opennlp/lang/nl/pom.xml Tue Sep 25 14:53:41 2012
@@ -46,8 +46,16 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
+
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <downloadWarning>
+*                  
+* WARNING - this build downloads some OpenNLP files that are *not*
+* licensed under the Apache License, and have more restrictive usage
+* terms than the Apache Stanbol code. See STANBOL-545 for more
+* information: https://issues.apache.org/jira/browse/STANBOL-545
+*
+    </downloadWarning>
     <!-- define the path to/home of the OpenNLP modles-->
     <opennlp.model.path>org/apache/stanbol/data/opennlp</opennlp.model.path>
     
<opennlp.model.home>http://dev.iks-project.eu/downloads/opennlp/models-1.5</opennlp.model.home>
@@ -86,8 +94,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -99,7 +107,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${opennlp.model.path}"/>
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${opennlp.model.path}"/>
                 <property name="model.url" value="${opennlp.model.home}"/>
                                 
                 <echo message="copy OpenNLP models"/>

Propchange: stanbol/trunk/data/opennlp/lang/pt/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 25 14:53:41 2012
@@ -1,5 +1,7 @@
+target
+bin
+downloads
 .classpath
 .project
-target
 .settings
 

Modified: stanbol/trunk/data/opennlp/lang/pt/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/opennlp/lang/pt/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/opennlp/lang/pt/pom.xml (original)
+++ stanbol/trunk/data/opennlp/lang/pt/pom.xml Tue Sep 25 14:53:41 2012
@@ -46,8 +46,16 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
+
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <downloadWarning>
+*                  
+* WARNING - this build downloads some OpenNLP files that are *not*
+* licensed under the Apache License, and have more restrictive usage
+* terms than the Apache Stanbol code. See STANBOL-545 for more
+* information: https://issues.apache.org/jira/browse/STANBOL-545
+*
+    </downloadWarning>
     <!-- define the path to/home of the OpenNLP modles-->
     <opennlp.model.path>org/apache/stanbol/data/opennlp</opennlp.model.path>
     
<opennlp.model.home>http://dev.iks-project.eu/downloads/opennlp/models-1.5</opennlp.model.home>
@@ -86,8 +94,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -99,7 +107,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${opennlp.model.path}"/>
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${opennlp.model.path}"/>
                 <property name="model.url" value="${opennlp.model.home}"/>
                                 
                 <echo message="copy OpenNLP models"/>

Propchange: stanbol/trunk/data/opennlp/lang/sv/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 25 14:53:41 2012
@@ -1,5 +1,7 @@
+target
+bin
+downloads
 .classpath
 .project
-target
 .settings
 

Modified: stanbol/trunk/data/opennlp/lang/sv/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/opennlp/lang/sv/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/opennlp/lang/sv/pom.xml (original)
+++ stanbol/trunk/data/opennlp/lang/sv/pom.xml Tue Sep 25 14:53:41 2012
@@ -49,8 +49,16 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
+
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <downloadWarning>
+*                  
+* WARNING - this build downloads some OpenNLP files that are *not*
+* licensed under the Apache License, and have more restrictive usage
+* terms than the Apache Stanbol code. See STANBOL-545 for more
+* information: https://issues.apache.org/jira/browse/STANBOL-545
+*
+    </downloadWarning>
     <!-- define the path to/home of the OpenNLP modles-->
     <opennlp.model.path>org/apache/stanbol/data/opennlp</opennlp.model.path>
     
<opennlp.model.home>http://dev.iks-project.eu/downloads/opennlp/models-1.5</opennlp.model.home>
@@ -89,8 +97,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -102,7 +110,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${opennlp.model.path}"/>
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${opennlp.model.path}"/>
                 <property name="model.url" value="${opennlp.model.home}"/>
                                 
                 <echo message="copy OpenNLP models"/>

Propchange: stanbol/trunk/data/opennlp/ner/en/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 25 14:53:41 2012
@@ -1,6 +1,7 @@
 target
+bin
+downloads
 .classpath
 .project
 .settings
 
-bin

Modified: stanbol/trunk/data/opennlp/ner/en/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/opennlp/ner/en/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/opennlp/ner/en/pom.xml (original)
+++ stanbol/trunk/data/opennlp/ner/en/pom.xml Tue Sep 25 14:53:41 2012
@@ -47,8 +47,16 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
+
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <downloadWarning>
+*                  
+* WARNING - this build downloads some OpenNLP files that are *not*
+* licensed under the Apache License, and have more restrictive usage
+* terms than the Apache Stanbol code. See STANBOL-545 for more
+* information: https://issues.apache.org/jira/browse/STANBOL-545
+*
+    </downloadWarning>
     <!-- define the path to/home of the OpenNLP modles-->
     <opennlp.model.path>org/apache/stanbol/data/opennlp</opennlp.model.path>
     
<opennlp.model.home>http://dev.iks-project.eu/downloads/opennlp/models-1.5</opennlp.model.home>
@@ -87,8 +95,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -100,7 +108,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${opennlp.model.path}"/>
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${opennlp.model.path}"/>
                 <property name="model.url" value="${opennlp.model.home}"/>
                                 
                 <echo message="copy OpenNLP models"/>

Propchange: stanbol/trunk/data/opennlp/ner/es/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 25 14:53:41 2012
@@ -1,5 +1,7 @@
+target
+bin
+downloads
 .classpath
 .project
-target
 .settings
 

Modified: stanbol/trunk/data/opennlp/ner/es/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/opennlp/ner/es/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/opennlp/ner/es/pom.xml (original)
+++ stanbol/trunk/data/opennlp/ner/es/pom.xml Tue Sep 25 14:53:41 2012
@@ -47,8 +47,16 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
+
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <downloadWarning>
+*                  
+* WARNING - this build downloads some OpenNLP files that are *not*
+* licensed under the Apache License, and have more restrictive usage
+* terms than the Apache Stanbol code. See STANBOL-545 for more
+* information: https://issues.apache.org/jira/browse/STANBOL-545
+*
+    </downloadWarning>
     <!-- define the path to/home of the OpenNLP modles-->
     <opennlp.model.path>org/apache/stanbol/data/opennlp</opennlp.model.path>
     
<opennlp.model.home>http://dev.iks-project.eu/downloads/opennlp/models-1.5</opennlp.model.home>
@@ -87,8 +95,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -100,7 +108,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${opennlp.model.path}"/>
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${opennlp.model.path}"/>
                 <property name="model.url" value="${opennlp.model.home}"/>
                                 
                 <echo message="copy OpenNLP models"/>

Propchange: stanbol/trunk/data/opennlp/ner/nl/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Tue Sep 25 14:53:41 2012
@@ -1,5 +1,7 @@
+target
+bin
+downloads
 .classpath
 .project
-target
 .settings
 

Modified: stanbol/trunk/data/opennlp/ner/nl/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/opennlp/ner/nl/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/opennlp/ner/nl/pom.xml (original)
+++ stanbol/trunk/data/opennlp/ner/nl/pom.xml Tue Sep 25 14:53:41 2012
@@ -47,8 +47,16 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
+
   <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    <downloadWarning>
+*                  
+* WARNING - this build downloads some OpenNLP files that are *not*
+* licensed under the Apache License, and have more restrictive usage
+* terms than the Apache Stanbol code. See STANBOL-545 for more
+* information: https://issues.apache.org/jira/browse/STANBOL-545
+*
+    </downloadWarning>
     <!-- define the path to/home of the OpenNLP modles-->
     <opennlp.model.path>org/apache/stanbol/data/opennlp</opennlp.model.path>
     
<opennlp.model.home>http://dev.iks-project.eu/downloads/opennlp/models-1.5</opennlp.model.home>
@@ -87,8 +95,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -100,7 +108,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${opennlp.model.path}"/>
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${opennlp.model.path}"/>
                 <property name="model.url" value="${opennlp.model.home}"/>
                                 
                 <echo message="copy OpenNLP models"/>

Modified: stanbol/trunk/data/parent/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/parent/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/parent/pom.xml (original)
+++ stanbol/trunk/data/parent/pom.xml Tue Sep 25 14:53:41 2012
@@ -56,17 +56,20 @@
   </scm>
 
   <properties>
-    <downloadWarning>
-*                  
-* WARNING - this build downloads some OpenNLP files that are *not*
-* licensed under the Apache License, and have more restrictive usage
-* terms than the Apache Stanbol code. See STANBOL-545 for more
-* information: https://issues.apache.org/jira/browse/STANBOL-545
-*
-    </downloadWarning>
+    <downloadWarning>No downloads for this artifact.</downloadWarning>
+    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>    
   </properties>  
 
   <build>
+    <resources> 
+      <resource> 
+        <directory>src/main/resources</directory> 
+      </resource> 
+      <resource> 
+        <directory>downloads/resources</directory> 
+      </resource> 
+    </resources> 
+
     <pluginManagement>
       <plugins>
         <plugin>
@@ -99,7 +102,7 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <phase>validate</phase>
+            <phase>generate-resources</phase>
             <goals>
               <goal>run</goal>
             </goals>
@@ -111,7 +114,32 @@
           </execution>
         </executions>
       </plugin>
-    </plugins>
+    </plugins>    
   </build>
 
+  <profiles>
+    <profile>
+      <activation>
+        <property>
+          <name>downloads</name>
+        </property>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-clean-plugin</artifactId>
+            <version>2.5</version>
+            <configuration>
+              <filesets>
+                <fileset>
+                  <directory>./downloads</directory>
+                  <followSymlinks>false</followSymlinks>
+                </fileset>
+              </filesets>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>      
+    </profile>
+  </profiles>
 </project>

Modified: stanbol/trunk/data/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/pom.xml (original)
+++ stanbol/trunk/data/pom.xml Tue Sep 25 14:53:41 2012
@@ -19,26 +19,46 @@
     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>2-SNAPSHOT</version>
+    <relativePath>../parent</relativePath>
+  </parent>
+
   <groupId>org.apache.stanbol</groupId>
-  <artifactId>org.apache.stanbol.data.reactor</artifactId>
+  <artifactId>apache-stanbol-data</artifactId>
   <version>0.10.0-SNAPSHOT</version>
   <packaging>pom</packaging>
   
-  <name>Apache Stanbol Data Reactor</name>
+  <name>Apache Stanbol Data</name>
+  <description>
+    Pseudo project to build the complete Apache Stanbol Data bundles
+  </description>  
+
+  <inceptionYear>2010</inceptionYear>
+  <licenses>
+    <license>
+      <name>Apache Software License, Version 2.0</name>
+      <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+      <distribution>repo</distribution>
+      <comments>A business-friendly OSS license</comments>
+    </license>
+  </licenses>  
 
   <scm>
-      <connection>
-          scm:svn:http://svn.apache.org/repos/asf/stanbol/trunk/data
-      </connection>
-      <developerConnection>
-          scm:svn:https://svn.apache.org/repos/asf/stanbol/trunk/data
-      </developerConnection>
-      <url>http://stanbol.apache.org/</url>
+    <connection>
+      scm:svn:http://svn.apache.org/repos/asf/stanbol/trunk/data
+    </connection>
+    <developerConnection>
+      scm:svn:https://svn.apache.org/repos/asf/stanbol/trunk/data
+    </developerConnection>
+    <url>http://stanbol.apache.org/</url>
   </scm>
   
   <modules>
-      <module>parent</module>
-      <module>defaultconfig</module>
+    <module>parent</module>
+    <module>defaultconfig</module>
   </modules>
 
   <profiles>
@@ -102,5 +122,60 @@
         <module>bundlelists/opennlp</module>
       </modules>
     </profile>
+    <profile>
+      <id>apache-release</id>
+      <activation>
+        <activeByDefault>false</activeByDefault>
+      </activation>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.rat</groupId>
+            <artifactId>apache-rat-plugin</artifactId>
+            <configuration>
+              <excludeSubProjects>false</excludeSubProjects>
+              <excludes>
+                <!--
+                  All license headers are also checked per
+                  artifact. These excludes are necessary
+                  to make the reactor build suceed. Consider
+                  the excluded files here as already checked
+                  in the artifacts.
+                -->
+
+                <!-- exclude hidden files -->
+                <exclude>**/.*</exclude>
+                <exclude>**/.*/*</exclude>
+                <exclude>**/.*/**/*</exclude>
+
+                <!-- exclude build files -->
+                <exclude>**/target/**</exclude>
+                <exclude>**/*.log</exclude>             
+
+                <!-- exclude generated files listing the licenses of deps -->
+                <exclude>DEPENDENCIES</exclude>
+                <exclude>DEPENDENCIES-BY-LICENSE</exclude>
+                <exclude>RAT-REPORT</exclude>
+
+                <!-- exclude certain file types -->
+                <exclude>**/*.config</exclude>
+                <exclude>**/*.ref</exclude>
+              </excludes>
+            </configuration>
+          </plugin>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>license-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>aggregate-add-third-party</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>    
   </profiles>
 </project>

Modified: stanbol/trunk/data/registries/default/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/registries/default/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/registries/default/pom.xml (original)
+++ stanbol/trunk/data/registries/default/pom.xml Tue Sep 25 14:53:41 2012
@@ -48,9 +48,6 @@
     </developerConnection>
     <url>http://stanbol.apache.org/</url>
   </scm>
-  <properties>
-    <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-  </properties>
 
   <build>
     <plugins>
@@ -63,8 +60,8 @@
         <configuration>
           <instructions>
             <!-- Header used to load the provided configurations -->
-                       
<Data-Files>org/apache/stanbol/data/registries/default</Data-Files>
-                       <Data-Files-Priority>-100</Data-Files-Priority>
+                       
<Data-Files>org/apache/stanbol/data/registries/default</Data-Files>
+                              <Data-Files-Priority>-100</Data-Files-Priority>
           </instructions>
         </configuration>
       </plugin>

Modified: stanbol/trunk/data/sites/dbpedia/pom.xml
URL: 
http://svn.apache.org/viewvc/stanbol/trunk/data/sites/dbpedia/pom.xml?rev=1389895&r1=1389894&r2=1389895&view=diff
==============================================================================
--- stanbol/trunk/data/sites/dbpedia/pom.xml (original)
+++ stanbol/trunk/data/sites/dbpedia/pom.xml Tue Sep 25 14:53:41 2012
@@ -108,8 +108,8 @@
         <artifactId>maven-antrun-plugin</artifactId>
         <executions>
           <execution>
-            <id>compile</id>
-            <phase>compile</phase>
+            <id>download</id>
+            <phase>generate-resources</phase>
             <configuration>
               <!--
                 TODO: I would like to add an "unless" constraint to the
@@ -121,7 +121,7 @@
                 available!
               -->
               <target>
-                <property name="target.directory" 
value="${project.basedir}/src/main/resources/${dbpedia.default.index.path}" />
+                <property name="target.directory" 
value="${project.basedir}/downloads/resources/${dbpedia.default.index.path}" />
                 <property name="index.url" 
value="${dbpedia.default.index.url}" />
                                 
                 <echo message="copy Solr Index " />


Reply via email to