I think you need to move the RAT custom configuration into pluginManagement -
for WhiteSpace tokenizer?

-Marshall

On 1/18/2011 2:02 AM, [email protected] wrote:
> Modified: uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
> URL: 
> http://svn.apache.org/viewvc/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml?rev=1060214&r1=1060213&r2=1060214&view=diff
> ==============================================================================
> --- uima/sandbox/trunk/WhitespaceTokenizer/pom.xml (original)
> +++ uima/sandbox/trunk/WhitespaceTokenizer/pom.xml Tue Jan 18 07:02:51 2011
> @@ -25,16 +25,15 @@
>    <parent>
>      <groupId>org.apache.uima</groupId>
>      <artifactId>parent-pom</artifactId>
> -    <version>1</version>
> -    <relativePath/>
> +    <version>2</version>
>    </parent>
>    
> -     <artifactId>WhitespaceTokenizer</artifactId>
> -     <packaging>jar</packaging>
> -     <version>2.3.1-SNAPSHOT</version>
> +  <artifactId>WhitespaceTokenizer</artifactId>
> +  <packaging>jar</packaging>
> +  <version>2.3.1-SNAPSHOT</version>
>    <name>UIMA Annotator: ${project.artifactId}</name>
>    <description>A simple white-space annotator to identify Tokens in text 
> using whitespace as the delimiters</description>
> -<url>${uimaWebsiteUrl}</url>
> +  <url>${uimaWebsiteUrl}</url>
>  
>    <!-- Special inheritance note
>         even though the <scm> element that follows is exactly the 
> @@ -86,124 +85,5 @@
>    
>       <build>
>               <finalName>uima-an-wst</finalName>
> -    <plugins>
> -      <plugin>
> -        <groupId>org.apache.rat</groupId>
> -        <artifactId>apache-rat-plugin</artifactId>
> -        <executions>
> -          <execution>
> -            <id>default-cli</id>
> -            <configuration>
> -              <excludes>
> -                <exclude>release.properties</exclude> <!-- release generated 
> artifact -->
> -                <exclude>src/test/resources/tabs*.txt</exclude> <!-- test 
> data -->
> -                <exclude>src/test/resources/testdoc*.txt</exclude> <!-- test 
> data -->
> -                <exclude>marker-file-identifying-*</exclude>
> -              </excludes>              
> -            </configuration>
> -          </execution>
> -        </executions>
> -      </plugin>
> -      <plugin>
> -        <groupId>org.apache.uima</groupId>
> -        <artifactId>PearPackagingMavenPlugin</artifactId>
> -        <version>2.3.1</version>
> -        <extensions>true</extensions>
> -        <executions>
> -          <execution>
> -            <id>build uima annnotator Pear</id>
> -            <goals>
> -              <goal>package</goal>
> -            </goals>
> -            <!-- needs to run after the jar is built
> -   after docbooks are packaged and copied to pearPackaging/doc folder -->
> -            <phase>pre-integration-test</phase>
> -            <configuration>
> -              <datapath>$main_root/resources</datapath>
> -              <componentId>${project.artifactId}</componentId>
> -              <mainComponentDesc>${pearMainDescriptor}</mainComponentDesc>
> -            </configuration>
> -          </execution>
> -        </executions>
> -      </plugin>
> -      <plugin>
> -        <groupId>org.apache.maven.plugins</groupId>
> -        <artifactId>maven-dependency-plugin</artifactId>
> -        <executions>
> -          <execution>
> -            <!-- use the dependency:unpack goal to get the shared resource
> -          that has the docbook-shared directory
> -          Unpack into spot relative to project - because
> -          these are referred to in docbook sources using
> -          relative references -->
> -            <id>copyDocbookInfo</id>
> -            <phase>prepare-package</phase>
> -            <goals>
> -              <goal>unpack</goal>
> -            </goals>
> -            <configuration>
> -              <overWriteIfNewer>true</overWriteIfNewer>
> -              <artifactItems>
> -                <artifactItem>
> -                  <groupId>org.apache.uima</groupId>
> -                  <artifactId>uima-build-resources</artifactId>
> -                  <version>1</version>
> -                  <includes>docbook-shared/**</includes>
> -                  
> <outputDirectory>${project.build.directory}</outputDirectory>
> -                </artifactItem>
> -              </artifactItems>
> -            </configuration>
> -          </execution>
> -          <execution>
> -            <!-- also unpack next to docbook-olink in
> -       repository location for olink info, because
> -       the site.xml files use relative location to
> -       get at the uima entities -->
> -            <id>copyDocbookInfoNextToOlink</id>
> -            <phase>prepare-package</phase>
> -            <goals>
> -              <goal>unpack</goal>
> -            </goals>
> -            <configuration>
> -              <overWriteIfNewer>true</overWriteIfNewer>
> -              
> <markersDirectory>${dolRepo}/dependency-maven-plugin-markers</markersDirectory>
> -              <artifactItems>
> -                <artifactItem>
> -                  <groupId>org.apache.uima</groupId>
> -                  <artifactId>uima-build-resources</artifactId>
> -                  <version>1</version>
> -                  <includes>docbook-shared/**</includes>
> -                  <outputDirectory>${dolRepo}</outputDirectory>
> -                </artifactItem>
> -              </artifactItems>
> -            </configuration>
> -          </execution>
> -          <!-- use the dependency:unpack goal to get the
> -       olink databases  -->
> -          <execution>
> -            <id>getOlink</id>
> -            <phase>prepare-package</phase>
> -            <goals>
> -              <goal>unpack</goal>
> -            </goals>
> -            <configuration>
> -              <overWriteIfNewer>true</overWriteIfNewer>
> -              
> <markersDirectory>${dolRepo}/dependency-maven-plugin-markers</markersDirectory>
> -              <artifactItems>
> -                <artifactItem>
> -                  <groupId>org.apache.uima</groupId>
> -                  <artifactId>${dolArtifactId}</artifactId>
> -                  <version>1-SNAPSHOT</version>
> -                  <type>zip</type>
> -                  <classifier>${dolClassifier}</classifier>
> -                  <outputDirectory>${dolUnzipped}</outputDirectory>
> -                </artifactItem>
> -              </artifactItems>
> -            </configuration>
> -          </execution>
> -        </executions>
> -      </plugin>
> -    </plugins>
> -        
>       </build>
>  </project>
>
> Modified: uima/sandbox/trunk/aggregate-addons/pom.xml
> URL: 
> http://svn.apache.org/viewvc/uima/sandbox/trunk/aggregate-addons/pom.xml?rev=1060214&r1=1060213&r2=1060214&view=diff
> ==============================================================================
> --- uima/sandbox/trunk/aggregate-addons/pom.xml (original)
> +++ uima/sandbox/trunk/aggregate-addons/pom.xml Tue Jan 18 07:02:51 2011
> @@ -25,8 +25,7 @@
>    <parent>
>      <groupId>org.apache.uima</groupId>
>      <artifactId>parent-pom</artifactId>
> -    <version>1</version>
> -    <relativePath/>
> +    <version>2</version>
>    </parent>
>  
>    <artifactId>aggregate-addons</artifactId>
> @@ -77,6 +76,8 @@
>      <module>../Tagger</module>
>      <module>../TikaAnnotator</module>
>      <module>../WhitespaceTokenizer</module>
> +    <module>../Solrcas</module>
> +    <module>../RDFCASConsumer</module>
>    </modules>
>  
>    <profiles>
>
>
>
>

Reply via email to