You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2010/05/12 16:51:44 UTC
svn commit: r943529 - in /uima/sandbox/branches/mavenAlign/BSFAnnotator:
DISCLAIMER desc/ desc/BSFAnnotator.xml pom.xml
Author: schor
Date: Wed May 12 14:51:43 2010
New Revision: 943529
URL: http://svn.apache.org/viewvc?rev=943529&view=rev
Log:
[UIMA-1756] package as single-project, remove disclaimer, reformat POM to conventions
Added:
uima/sandbox/branches/mavenAlign/BSFAnnotator/desc/
uima/sandbox/branches/mavenAlign/BSFAnnotator/desc/BSFAnnotator.xml
Removed:
uima/sandbox/branches/mavenAlign/BSFAnnotator/DISCLAIMER
Modified:
uima/sandbox/branches/mavenAlign/BSFAnnotator/pom.xml
Added: uima/sandbox/branches/mavenAlign/BSFAnnotator/desc/BSFAnnotator.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/branches/mavenAlign/BSFAnnotator/desc/BSFAnnotator.xml?rev=943529&view=auto
==============================================================================
--- uima/sandbox/branches/mavenAlign/BSFAnnotator/desc/BSFAnnotator.xml (added)
+++ uima/sandbox/branches/mavenAlign/BSFAnnotator/desc/BSFAnnotator.xml Wed May 12 14:51:43 2010
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<!--
+ ***************************************************************
+ * 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.
+ ***************************************************************
+-->
+<!-- This is a "dummy" descriptor, used to allow Pear packaging to work
+ Real uses of this annotator have to specify a type system that the
+ script will work with -->
+<analysisEngineDescription
+ xmlns="http://uima.apache.org/resourceSpecifier">
+ <frameworkImplementation>
+ org.apache.uima.java
+ </frameworkImplementation>
+ <primitive>true</primitive>
+ <annotatorImplementationName>
+ org.apache.uima.annotator.bsf.BSFAnnotator
+ </annotatorImplementationName>
+
+ <analysisEngineMetaData>
+ <name>Bean Scripting Framework (BSF) Annotator</name>
+ <description>
+ Runs annotator scripts using Apache's Bean Scripting Framework
+ </description>
+ <version>${project.version}</version>
+ <vendor>The Apache Software Foundation</vendor>
+
+ <configurationParameters>
+ <configurationParameter>
+ <name>SourceFile</name>
+ <description>
+ The name of the source file containing the
+ script to run.
+ </description>
+ <type>String</type>
+ <multiValued>false</multiValued>
+ <mandatory>true</mandatory>
+ </configurationParameter>
+
+ </configurationParameters>
+
+ <configurationParameterSettings>
+ <!--
+ <nameValuePair>
+ <name>SourceFile</name>
+ <value>
+ <array>
+ <string>.</string>
+ </array>
+ </value>
+ </nameValuePair>
+ -->
+ </configurationParameterSettings>
+
+ <typeSystemDescription/>
+ <fsIndexes />
+ <capabilities/>
+
+ </analysisEngineMetaData>
+</analysisEngineDescription>
+
Modified: uima/sandbox/branches/mavenAlign/BSFAnnotator/pom.xml
URL: http://svn.apache.org/viewvc/uima/sandbox/branches/mavenAlign/BSFAnnotator/pom.xml?rev=943529&r1=943528&r2=943529&view=diff
==============================================================================
--- uima/sandbox/branches/mavenAlign/BSFAnnotator/pom.xml (original)
+++ uima/sandbox/branches/mavenAlign/BSFAnnotator/pom.xml Wed May 12 14:51:43 2010
@@ -16,36 +16,74 @@
specific language governing permissions and limitations
under the License.
-->
+
+<!-- packaged as a single project.
+ PEAR packaging not appropriate, because user needs to define own type system, etc.
+ -->
+
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
- <groupId>org.apache.uima</groupId>
- <artifactId>BSFAnnotator</artifactId>
- <packaging>jar</packaging>
- <version>${uimaj-release-version}</version>
- <name>Apache UIMA Java Annotator - BSFAnnotator</name>
- <url>http://incubator.apache.org/uima</url>
<parent>
<groupId>org.apache.uima</groupId>
- <artifactId>SandboxDistr</artifactId>
- <version>2.3.0-incubating</version> <!-- this comment is a flag for changeVersion -->
- <relativePath>../SandboxDistr</relativePath>
+ <artifactId>parent-pom-single-project</artifactId>
+ <version>1-SNAPSHOT</version>
+ <relativePath/>
</parent>
+
+ <artifactId>BSFAnnotator</artifactId>
+ <packaging>jar</packaging>
+ <version>2.3.1-SNAPSHOT</version>
+ <name>UIMA Annotator: ${project.artifactId}</name>
+ <description>Annotator to run scripts using Apache's Bean Scripting Framework</description>
+ <url>http://incubator.apache.org/uima</url>
+
+ <!-- Special inheritance note
+ even though the <scm> element that follows is exactly the
+ same as those in super poms, it cannot be inherited because
+ there is some special code that computes the connection elements
+ from the chain of parent poms, if this is omitted.
+
+ Keeping this a bit factored allows cutting/pasting the <scm>
+ element, and just changing the following two properties -->
+ <scm>
+ <connection>
+ scm:svn:http://svn.apache.org/repos/asf/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+ </connection>
+ <developerConnection>
+ scm:svn:https://svn.apache.org/repos/asf/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+ </developerConnection>
+ <url>
+ http://svn.apache.org/viewvc/uima/${uimaScmRoot}/trunk/${uimaScmProject}
+ </url>
+ </scm>
+
+ <properties>
+ <uimaScmRoot>sandbox</uimaScmRoot>
+ <uimaScmProject>${project.artifactId}</uimaScmProject>
+ <uimaDependencyVersion>2.3.1-SNAPSHOT</uimaDependencyVersion>
+ </properties>
<dependencies>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-core</artifactId>
+ <version>${uimaDependencyVersion}</version>
+ <scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-test-util</artifactId>
+ <version>${uimaDependencyVersion}</version>
+ <scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.uima</groupId>
<artifactId>uimaj-component-test-util</artifactId>
+ <version>${uimaDependencyVersion}</version>
+ <scope>test</scope>
</dependency>
<dependency>