You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by to...@apache.org on 2011/03/26 20:18:57 UTC

svn commit: r1085790 - /uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml

Author: tommaso
Date: Sat Mar 26 19:18:57 2011
New Revision: 1085790

URL: http://svn.apache.org/viewvc?rev=1085790&view=rev
Log:
[UIMA-2094] - source archive

Added:
    uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml

Added: uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml?rev=1085790&view=auto
==============================================================================
--- uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml (added)
+++ uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml Sat Mar 26 19:18:57 2011
@@ -0,0 +1,265 @@
+<!--
+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.    
+-->
+
+<!-- NOTE: This is no longer used as of 2.3.1 10/2010
+     Instead, source distributions are built using the 
+     standard source-release assembly mechanism of 
+     Apache common super pom -->
+
+<assembly>
+  <id>src</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  
+  <includeBaseDirectory>true</includeBaseDirectory>
+
+         
+  <fileSets>
+    <fileSet>
+      <directory>.</directory>
+      <outputDirectory>/addons-distr</outputDirectory>
+      <includes>
+        <include>src/**</include>
+        <include>pom.xml</include>
+      </includes>
+      <excludes>
+        <exclude>src/**/*.bat</exclude>
+        <exclude>src/**/*.cmd</exclude>
+        <exclude>src/**/*.sh</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>
+    <!-- Copy .sh files as executable -->
+    <fileSet>
+      <fileMode>755</fileMode>
+      <directory>.</directory>
+      <outputDirectory>/addons-distr</outputDirectory>
+      <includes>
+        <include>src/**/*.sh</include>
+      </includes>
+    </fileSet>
+    <!-- Copy .bat and cmd files as not-executable -->
+    <fileSet>
+      <fileMode>644</fileMode>
+      <directory>.</directory>
+      <outputDirectory>/addons-distr</outputDirectory>
+      <includes>
+        <include>src/**/*.bat</include>
+        <include>src/**/*.cmd</include>
+      </includes>
+    </fileSet>
+    
+    <!-- ===================================== -->
+    <!-- copy top level files to the top level -->    
+    <!-- ===================================== -->
+    <fileSet>
+      <directory>src/main/readme</directory>
+      <outputDirectory/>
+      <excludes>
+        <!-- exclude bin distr README -->
+        <exclude>README</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>
+    
+    <!-- Copy .sh files as executable -->
+    <fileSet>
+      <fileMode>755</fileMode>
+      <directory>src/main/readme_src</directory>
+      <includes>
+        <include>*.sh</include>
+      </includes>
+      <outputDirectory/>
+    </fileSet>
+    <!-- Copy everything else as non-executable -->
+    <fileSet>
+      <directory>src/main/readme_src</directory>
+      <excludes>
+        <exclude>*.sh</exclude>
+      </excludes>
+      <outputDirectory/>
+      <fileMode>644</fileMode>
+    </fileSet>
+
+    <!-- for every other source, use relative paths to locate
+         the project's root, and include the whole thing except for 
+         target/ 
+         .*  (.settings/, .project, .classpath)
+         
+         There must be one entry here for each entry in 
+         the <modules> section (recursively)
+         
+         Parent poms in the build/ section of svn are not included.
+         Aggregator poms used in this build are included. 
+    -->    
+    
+    <!-- aggregator poms -->
+    <fileSet>
+      <directory>../aggregate-addons</directory>
+      <outputDirectory>/aggregate-addons</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>
+    
+    <!-- from aggregate-addons -->
+    <fileSet>
+      <directory>../BSFAnnotator</directory>
+      <outputDirectory>/BSFAnnotator</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>../ConceptMapper</directory>
+      <outputDirectory>/ConceptMapper</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>../ConfigurableFeatureExtractor</directory>
+      <outputDirectory>/ConfigurableFeatureExtractor</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>  
+    <fileSet>
+      <directory>../DictionaryAnnotator</directory>
+      <outputDirectory>/DictionaryAnnotator</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>          
+    <fileSet>
+      <directory>../FsVariables</directory>
+      <outputDirectory>/FsVariables</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>  
+    <fileSet>
+      <directory>../Lucas</directory>
+      <outputDirectory>/Lucas</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>  
+    <fileSet>
+      <directory>../OpenCalaisAnnotator</directory>
+      <outputDirectory>/OpenCalaisAnnotator</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>      
+    <fileSet>
+      <directory>../PearPackagingAntTask</directory>
+      <outputDirectory>/PearPackagingAntTask</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>   
+    <fileSet>
+      <directory>../RegularExpressionAnnotator</directory>
+      <outputDirectory>/RegularExpressionAnnotator</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>      
+    <fileSet>
+      <directory>../SimpleServer</directory>
+      <outputDirectory>/SimpleServer</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>     
+    <fileSet>
+      <directory>../SnowballAnnotator</directory>
+      <outputDirectory>/SnowballAnnotator</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>../Solrcas</directory>
+      <outputDirectory>/Solrcas</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>../Tagger</directory>
+      <outputDirectory>/Tagger</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>../TikaAnnotator</directory>
+      <outputDirectory>/TikaAnnotator</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>
+    <fileSet>
+      <directory>../WhitespaceTokenizer</directory>
+      <outputDirectory>/WhitespaceTokenizer</outputDirectory>
+      <excludes>
+        <exclude>target/**</exclude>
+        <exclude>.*/**</exclude>
+      </excludes>
+      <fileMode>644</fileMode>
+    </fileSet>
+
+          
+  </fileSets>
+  
+</assembly>
\ No newline at end of file



Re: svn commit: r1085790 - /uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml

Posted by Marshall Schor <ms...@schor.com>.

On 3/28/2011 1:09 PM, Tommaso Teofili wrote:
> 2011/3/28 Marshall Schor <ms...@schor.com>
>
>> (I'm hoping the normal build process would just "work").
>>
> it works :)
>
>
>> Note: the normal build process for producing aggregate source distributions
>> only
>> is run if the profile "apache-release" is activated (which is automatically
>> done
>> during "release" steps, and can be manually activated by doing
>> -Papache-release).  See http://uima.apache.org/release.html
>
> After fixing the bin.xml, which created empty distribution archives, I saw
> in uimaj-distr we manage source package explicitly so I thought it was good
> to have more control also on the source package (I was already using the
> -Papache-release); however I tested the distribution creation command  after
> removing src.xml and it works as well, so we can go further both ways.

I'm for trying to get closer to following convention over configuration (the
Maven mantra) so would prefer to not have a "custom" approach for the source
distr of the add-ons if the other way "works"; it's less stuff to maintain :-).

-Marshall
> Tommaso
>

Re: svn commit: r1085790 - /uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml

Posted by Tommaso Teofili <to...@gmail.com>.
2011/3/28 Marshall Schor <ms...@schor.com>

> (I'm hoping the normal build process would just "work").
>

it works :)


>
> Note: the normal build process for producing aggregate source distributions
> only
> is run if the profile "apache-release" is activated (which is automatically
> done
> during "release" steps, and can be manually activated by doing
> -Papache-release).  See http://uima.apache.org/release.html


After fixing the bin.xml, which created empty distribution archives, I saw
in uimaj-distr we manage source package explicitly so I thought it was good
to have more control also on the source package (I was already using the
-Papache-release); however I tested the distribution creation command  after
removing src.xml and it works as well, so we can go further both ways.
Tommaso

Re: svn commit: r1085790 - /uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml

Posted by Marshall Schor <ms...@schor.com>.
What is the reason we need a special src assembly for the addons?  (I'm hoping
the normal build process would just "work").

Note: the normal build process for producing aggregate source distributions only
is run if the profile "apache-release" is activated (which is automatically done
during "release" steps, and can be manually activated by doing
-Papache-release).  See http://uima.apache.org/release.html

-Marshall

On 3/26/2011 3:18 PM, tommaso@apache.org wrote:
> Author: tommaso
> Date: Sat Mar 26 19:18:57 2011
> New Revision: 1085790
>
> URL: http://svn.apache.org/viewvc?rev=1085790&view=rev
> Log:
> [UIMA-2094] - source archive
>
> Added:
>     uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml
>
> Added: uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml
> URL: http://svn.apache.org/viewvc/uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml?rev=1085790&view=auto
> ==============================================================================
> --- uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml (added)
> +++ uima/sandbox/trunk/uima-addons/src/main/assembly/src.xml Sat Mar 26 19:18:57 2011
> @@ -0,0 +1,265 @@
> +<!--
> +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.    
> +-->
> +
> +<!-- NOTE: This is no longer used as of 2.3.1 10/2010
> +     Instead, source distributions are built using the 
> +     standard source-release assembly mechanism of 
> +     Apache common super pom -->
> +
> +<assembly>
> +  <id>src</id>
> +  <formats>
> +    <format>tar.gz</format>
> +    <format>zip</format>
> +  </formats>
> +  
> +  <includeBaseDirectory>true</includeBaseDirectory>
> +
> +         
> +  <fileSets>
> +    <fileSet>
> +      <directory>.</directory>
> +      <outputDirectory>/addons-distr</outputDirectory>
> +      <includes>
> +        <include>src/**</include>
> +        <include>pom.xml</include>
> +      </includes>
> +      <excludes>
> +        <exclude>src/**/*.bat</exclude>
> +        <exclude>src/**/*.cmd</exclude>
> +        <exclude>src/**/*.sh</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +    <!-- Copy .sh files as executable -->
> +    <fileSet>
> +      <fileMode>755</fileMode>
> +      <directory>.</directory>
> +      <outputDirectory>/addons-distr</outputDirectory>
> +      <includes>
> +        <include>src/**/*.sh</include>
> +      </includes>
> +    </fileSet>
> +    <!-- Copy .bat and cmd files as not-executable -->
> +    <fileSet>
> +      <fileMode>644</fileMode>
> +      <directory>.</directory>
> +      <outputDirectory>/addons-distr</outputDirectory>
> +      <includes>
> +        <include>src/**/*.bat</include>
> +        <include>src/**/*.cmd</include>
> +      </includes>
> +    </fileSet>
> +    
> +    <!-- ===================================== -->
> +    <!-- copy top level files to the top level -->    
> +    <!-- ===================================== -->
> +    <fileSet>
> +      <directory>src/main/readme</directory>
> +      <outputDirectory/>
> +      <excludes>
> +        <!-- exclude bin distr README -->
> +        <exclude>README</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +    
> +    <!-- Copy .sh files as executable -->
> +    <fileSet>
> +      <fileMode>755</fileMode>
> +      <directory>src/main/readme_src</directory>
> +      <includes>
> +        <include>*.sh</include>
> +      </includes>
> +      <outputDirectory/>
> +    </fileSet>
> +    <!-- Copy everything else as non-executable -->
> +    <fileSet>
> +      <directory>src/main/readme_src</directory>
> +      <excludes>
> +        <exclude>*.sh</exclude>
> +      </excludes>
> +      <outputDirectory/>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +
> +    <!-- for every other source, use relative paths to locate
> +         the project's root, and include the whole thing except for 
> +         target/ 
> +         .*  (.settings/, .project, .classpath)
> +         
> +         There must be one entry here for each entry in 
> +         the <modules> section (recursively)
> +         
> +         Parent poms in the build/ section of svn are not included.
> +         Aggregator poms used in this build are included. 
> +    -->    
> +    
> +    <!-- aggregator poms -->
> +    <fileSet>
> +      <directory>../aggregate-addons</directory>
> +      <outputDirectory>/aggregate-addons</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +    
> +    <!-- from aggregate-addons -->
> +    <fileSet>
> +      <directory>../BSFAnnotator</directory>
> +      <outputDirectory>/BSFAnnotator</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +    <fileSet>
> +      <directory>../ConceptMapper</directory>
> +      <outputDirectory>/ConceptMapper</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +    <fileSet>
> +      <directory>../ConfigurableFeatureExtractor</directory>
> +      <outputDirectory>/ConfigurableFeatureExtractor</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>  
> +    <fileSet>
> +      <directory>../DictionaryAnnotator</directory>
> +      <outputDirectory>/DictionaryAnnotator</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>          
> +    <fileSet>
> +      <directory>../FsVariables</directory>
> +      <outputDirectory>/FsVariables</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>  
> +    <fileSet>
> +      <directory>../Lucas</directory>
> +      <outputDirectory>/Lucas</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>  
> +    <fileSet>
> +      <directory>../OpenCalaisAnnotator</directory>
> +      <outputDirectory>/OpenCalaisAnnotator</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>      
> +    <fileSet>
> +      <directory>../PearPackagingAntTask</directory>
> +      <outputDirectory>/PearPackagingAntTask</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>   
> +    <fileSet>
> +      <directory>../RegularExpressionAnnotator</directory>
> +      <outputDirectory>/RegularExpressionAnnotator</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>      
> +    <fileSet>
> +      <directory>../SimpleServer</directory>
> +      <outputDirectory>/SimpleServer</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>     
> +    <fileSet>
> +      <directory>../SnowballAnnotator</directory>
> +      <outputDirectory>/SnowballAnnotator</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +    <fileSet>
> +      <directory>../Solrcas</directory>
> +      <outputDirectory>/Solrcas</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +    <fileSet>
> +      <directory>../Tagger</directory>
> +      <outputDirectory>/Tagger</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +    <fileSet>
> +      <directory>../TikaAnnotator</directory>
> +      <outputDirectory>/TikaAnnotator</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +    <fileSet>
> +      <directory>../WhitespaceTokenizer</directory>
> +      <outputDirectory>/WhitespaceTokenizer</outputDirectory>
> +      <excludes>
> +        <exclude>target/**</exclude>
> +        <exclude>.*/**</exclude>
> +      </excludes>
> +      <fileMode>644</fileMode>
> +    </fileSet>
> +
> +          
> +  </fileSets>
> +  
> +</assembly>
> \ No newline at end of file
>
>
>
>