You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by Thilo Goetz <tw...@gmx.de> on 2009/08/24 22:54:45 UTC
Re: svn commit: r807280 - /incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
schor@apache.org wrote:
> Author: schor
> Date: Mon Aug 24 15:13:52 2009
> New Revision: 807280
>
> URL: http://svn.apache.org/viewvc?rev=807280&view=rev
> Log:
> [UIMA-1501]
>
> Modified:
> incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
>
> Modified: incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
> URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml?rev=807280&r1=807279&r2=807280&view=diff
> ==============================================================================
> --- incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml (original)
> +++ incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml Mon Aug 24 15:13:52 2009
> @@ -24,148 +24,54 @@
> <groupId>org.apache.uima</groupId>
> <artifactId>WhitespaceTokenizer</artifactId>
> <packaging>jar</packaging>
> - <version>2.3.0-incubating-SNAPSHOT</version>
> + <version>2.3.0-incubating-SNAPSHOT</version> <!-- this comment is a flag for changeVersion -->
> <name>Apache UIMA Java Annotator - WhitespaceTokenizer</name>
> - <url>http://incubator.apache.org/uima</url>
> +
> + <parent>
> + <groupId>org.apache.uima</groupId>
> + <artifactId>SandboxDistr</artifactId>
> + <version>2.3.0-incubating-SNAPSHOT</version> <!-- this comment is a flag for changeVersion -->
> + <relativePath>../uimaj</relativePath>
Wrong path?
> + </parent>
> +
> <dependencies>
> <dependency>
> <groupId>org.apache.uima</groupId>
> <artifactId>uimaj-core</artifactId>
> - <version>2.3.0-incubating-SNAPSHOT</version>
> - <scope>compile</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.uima</groupId>
> <artifactId>uimaj-test-util</artifactId>
> - <version>2.3.0-incubating-SNAPSHOT</version>
> - <scope>compile</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.uima</groupId>
> <artifactId>uimaj-component-test-util</artifactId>
> - <version>2.3.0-incubating-SNAPSHOT</version>
> - <scope>compile</scope>
> - </dependency>
> - <dependency>
> - <groupId>org.apache.uima</groupId>
> - <artifactId>PearPackagingMavenPlugin</artifactId>
> - <version>2.3.0-incubating-SNAPSHOT</version>
> - <scope>provided</scope>
> </dependency>
> </dependencies>
> +
> <build>
> <finalName>uima-an-wst</finalName>
> - <resources>
> - <resource>
> +
> + <resources>
> + <resource>
> + <!-- test case for Tagger expects to find the desc on the classpath -->
> + <directory>desc</directory>
> + </resource>
> + <resource>
> + <directory>src/main/resources</directory>
> + </resource>
> + </resources>
> +
> + <testResources>
> + <testResource>
> <directory>desc</directory>
> - </resource>
> - <resource>
> - <directory>src/main/resources</directory>
> - </resource>
> - </resources>
> - <plugins>
> - <plugin>
> - <groupId>org.apache.maven.plugins</groupId>
> - <artifactId>maven-compiler-plugin</artifactId>
> - <configuration>
> - <source>1.5</source>
> - <target>1.5</target>
> - </configuration>
> - </plugin>
> -
> - <plugin>
> - <groupId>org.codehaus.mojo</groupId>
> - <artifactId>buildnumber-maven-plugin</artifactId>
> - <executions>
> - <execution>
> - <phase>process-classes</phase>
> - <goals>
> - <goal>create</goal>
> - </goals>
> - </execution>
> - </executions>
> - <configuration>
> - <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
> - <items>
> - <item>timestamp</item>
> - </items>
> - </configuration>
> - </plugin>
> -
> - <plugin>
> - <artifactId>maven-antrun-plugin</artifactId>
> - <executions>
> - <execution>
> - <id>CopyLicenseNoticeDisclaimer</id>
> - <phase>process-resources</phase>
> - <configuration>
> - <tasks>
> - <copy todir="src/main/resources/META-INF">
> - <fileset dir="." includes="LICENSE NOTICE DISCLAIMER"/>
> - </copy>
> - <copy todir="target/classes/META-INF">
> - <fileset dir="." includes="LICENSE.txt NOTICE.txt DISCLAIMER"/>
> - </copy>
> - </tasks>
> - </configuration>
> - <goals>
> - <goal>run</goal>
> - </goals>
> - </execution>
> - <!-- after compilation has been done and the files have been copied to the
> - target directory, delete them from the source directory. -->
> - <execution>
> - <id>DeleteLicenseNoticeDisclaimer</id>
> - <phase>package</phase>
> - <configuration>
> - <tasks>
> - <delete dir="src/main/resources/META-INF" deleteOnExit="true" quiet="true" failOnError="false">
> - <fileset dir="src/main/resources/META-INF"
> - includes="LICENSE NOTICE DISCLAIMER"/>
> - </delete>
> - </tasks>
> - </configuration>
> - <goals>
> - <goal>run</goal>
> - </goals>
> - </execution>
> - <!-- also delete on clean. -->
> - <execution>
> - <id>CleanLicenseNoticeDisclaimer</id>
> - <phase>clean</phase>
> - <configuration>
> - <tasks>
> - <delete dir="src/main/resources/META-INF" deleteOnExit="true" quiet="true" failOnError="false">
> - <fileset dir="src/main/resources/META-INF"
> - includes="LICENSE NOTICE DISCLAIMER"/>
> - </delete>
> - </tasks>
> - </configuration>
> - <goals>
> - <goal>run</goal>
> - </goals>
> - </execution>
> - </executions>
> - </plugin>
> -
> - <plugin>
> - <groupId>org.apache.maven.plugins</groupId>
> - <artifactId>maven-jar-plugin</artifactId>
> - <configuration>
> - <archive>
> - <manifestEntries>
> - <Project-Title>Apache UIMA</Project-Title>
> - <Implementation-Title>${pom.name}</Implementation-Title>
> - <Implementation-Version>${pom.version}</Implementation-Version>
> - <Implementation-Vendor>Apache Software Foundation</Implementation-Vendor>
> - <Implementation-Url>${pom.url}</Implementation-Url>
> - <Implementation-License>http://www.apache.org/licenses/LICENSE-2.0.txt</Implementation-License>
> - <Build-Date>${buildNumber}</Build-Date>
> - </manifestEntries>
> - </archive>
> - </configuration>
> - </plugin>
> + </testResource>
> + <testResource>
> + <directory>src/test/resources</directory>
> + </testResource>
> + </testResources>
>
> + <plugins>
> <plugin>
> <groupId>org.apache.uima</groupId>
> <artifactId>PearPackagingMavenPlugin</artifactId>
> @@ -187,15 +93,6 @@
> </execution>
> </executions>
> </plugin>
> -
> </plugins>
> </build>
> - <repositories>
> - <repository>
> - <id>ApacheIncubatorRepository</id>
> - <url>
> - http://people.apache.org/repo/m2-incubating-repository/
> - </url>
> - </repository>
> - </repositories>
> </project>
>
Re: svn commit: r807280 - /incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
Posted by Marshall Schor <ms...@schor.com>.
Thilo Goetz wrote:
> schor@apache.org wrote:
>
>> Author: schor
>> Date: Mon Aug 24 15:13:52 2009
>> New Revision: 807280
>>
>> URL: http://svn.apache.org/viewvc?rev=807280&view=rev
>> Log:
>> [UIMA-1501]
>>
>> Modified:
>> incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
>>
>> Modified: incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml
>> URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml?rev=807280&r1=807279&r2=807280&view=diff
>> ==============================================================================
>> --- incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml (original)
>> +++ incubator/uima/sandbox/trunk/WhitespaceTokenizer/pom.xml Mon Aug 24 15:13:52 2009
>> @@ -24,148 +24,54 @@
>> <groupId>org.apache.uima</groupId>
>> <artifactId>WhitespaceTokenizer</artifactId>
>> <packaging>jar</packaging>
>> - <version>2.3.0-incubating-SNAPSHOT</version>
>> + <version>2.3.0-incubating-SNAPSHOT</version> <!-- this comment is a flag for changeVersion -->
>> <name>Apache UIMA Java Annotator - WhitespaceTokenizer</name>
>> - <url>http://incubator.apache.org/uima</url>
>> +
>> + <parent>
>> + <groupId>org.apache.uima</groupId>
>> + <artifactId>SandboxDistr</artifactId>
>> + <version>2.3.0-incubating-SNAPSHOT</version> <!-- this comment is a flag for changeVersion -->
>> + <relativePath>../uimaj</relativePath>
>>
>
> Wrong path?
>
Yes :"> will fix... -M
>
>> + </parent>
>> +
>> <dependencies>
>> <dependency>
>> <groupId>org.apache.uima</groupId>
>> <artifactId>uimaj-core</artifactId>
>> - <version>2.3.0-incubating-SNAPSHOT</version>
>> - <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.uima</groupId>
>> <artifactId>uimaj-test-util</artifactId>
>> - <version>2.3.0-incubating-SNAPSHOT</version>
>> - <scope>compile</scope>
>> </dependency>
>> <dependency>
>> <groupId>org.apache.uima</groupId>
>> <artifactId>uimaj-component-test-util</artifactId>
>> - <version>2.3.0-incubating-SNAPSHOT</version>
>> - <scope>compile</scope>
>> - </dependency>
>> - <dependency>
>> - <groupId>org.apache.uima</groupId>
>> - <artifactId>PearPackagingMavenPlugin</artifactId>
>> - <version>2.3.0-incubating-SNAPSHOT</version>
>> - <scope>provided</scope>
>> </dependency>
>> </dependencies>
>> +
>> <build>
>> <finalName>uima-an-wst</finalName>
>> - <resources>
>> - <resource>
>> +
>> + <resources>
>> + <resource>
>> + <!-- test case for Tagger expects to find the desc on the classpath -->
>> + <directory>desc</directory>
>> + </resource>
>> + <resource>
>> + <directory>src/main/resources</directory>
>> + </resource>
>> + </resources>
>> +
>> + <testResources>
>> + <testResource>
>> <directory>desc</directory>
>> - </resource>
>> - <resource>
>> - <directory>src/main/resources</directory>
>> - </resource>
>> - </resources>
>> - <plugins>
>> - <plugin>
>> - <groupId>org.apache.maven.plugins</groupId>
>> - <artifactId>maven-compiler-plugin</artifactId>
>> - <configuration>
>> - <source>1.5</source>
>> - <target>1.5</target>
>> - </configuration>
>> - </plugin>
>> -
>> - <plugin>
>> - <groupId>org.codehaus.mojo</groupId>
>> - <artifactId>buildnumber-maven-plugin</artifactId>
>> - <executions>
>> - <execution>
>> - <phase>process-classes</phase>
>> - <goals>
>> - <goal>create</goal>
>> - </goals>
>> - </execution>
>> - </executions>
>> - <configuration>
>> - <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
>> - <items>
>> - <item>timestamp</item>
>> - </items>
>> - </configuration>
>> - </plugin>
>> -
>> - <plugin>
>> - <artifactId>maven-antrun-plugin</artifactId>
>> - <executions>
>> - <execution>
>> - <id>CopyLicenseNoticeDisclaimer</id>
>> - <phase>process-resources</phase>
>> - <configuration>
>> - <tasks>
>> - <copy todir="src/main/resources/META-INF">
>> - <fileset dir="." includes="LICENSE NOTICE DISCLAIMER"/>
>> - </copy>
>> - <copy todir="target/classes/META-INF">
>> - <fileset dir="." includes="LICENSE.txt NOTICE.txt DISCLAIMER"/>
>> - </copy>
>> - </tasks>
>> - </configuration>
>> - <goals>
>> - <goal>run</goal>
>> - </goals>
>> - </execution>
>> - <!-- after compilation has been done and the files have been copied to the
>> - target directory, delete them from the source directory. -->
>> - <execution>
>> - <id>DeleteLicenseNoticeDisclaimer</id>
>> - <phase>package</phase>
>> - <configuration>
>> - <tasks>
>> - <delete dir="src/main/resources/META-INF" deleteOnExit="true" quiet="true" failOnError="false">
>> - <fileset dir="src/main/resources/META-INF"
>> - includes="LICENSE NOTICE DISCLAIMER"/>
>> - </delete>
>> - </tasks>
>> - </configuration>
>> - <goals>
>> - <goal>run</goal>
>> - </goals>
>> - </execution>
>> - <!-- also delete on clean. -->
>> - <execution>
>> - <id>CleanLicenseNoticeDisclaimer</id>
>> - <phase>clean</phase>
>> - <configuration>
>> - <tasks>
>> - <delete dir="src/main/resources/META-INF" deleteOnExit="true" quiet="true" failOnError="false">
>> - <fileset dir="src/main/resources/META-INF"
>> - includes="LICENSE NOTICE DISCLAIMER"/>
>> - </delete>
>> - </tasks>
>> - </configuration>
>> - <goals>
>> - <goal>run</goal>
>> - </goals>
>> - </execution>
>> - </executions>
>> - </plugin>
>> -
>> - <plugin>
>> - <groupId>org.apache.maven.plugins</groupId>
>> - <artifactId>maven-jar-plugin</artifactId>
>> - <configuration>
>> - <archive>
>> - <manifestEntries>
>> - <Project-Title>Apache UIMA</Project-Title>
>> - <Implementation-Title>${pom.name}</Implementation-Title>
>> - <Implementation-Version>${pom.version}</Implementation-Version>
>> - <Implementation-Vendor>Apache Software Foundation</Implementation-Vendor>
>> - <Implementation-Url>${pom.url}</Implementation-Url>
>> - <Implementation-License>http://www.apache.org/licenses/LICENSE-2.0.txt</Implementation-License>
>> - <Build-Date>${buildNumber}</Build-Date>
>> - </manifestEntries>
>> - </archive>
>> - </configuration>
>> - </plugin>
>> + </testResource>
>> + <testResource>
>> + <directory>src/test/resources</directory>
>> + </testResource>
>> + </testResources>
>>
>> + <plugins>
>> <plugin>
>> <groupId>org.apache.uima</groupId>
>> <artifactId>PearPackagingMavenPlugin</artifactId>
>> @@ -187,15 +93,6 @@
>> </execution>
>> </executions>
>> </plugin>
>> -
>> </plugins>
>> </build>
>> - <repositories>
>> - <repository>
>> - <id>ApacheIncubatorRepository</id>
>> - <url>
>> - http://people.apache.org/repo/m2-incubating-repository/
>> - </url>
>> - </repository>
>> - </repositories>
>> </project>
>>
>>
>
>
>
>