Author: rec
Date: Thu May 30 18:43:14 2013
New Revision: 1487963
URL: http://svn.apache.org/r1487963
Log:
[UIMA-2471] add a jcasgen-maven-plugin (and m2e connector)
- m2e test stuff compiles (import got missing)
- MANIFEST.MF cannot have a license header/comments (see UIMA-2951)
- Run tests headless
- Fix artifactId/bundleId
Modified:
uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/META-INF/MANIFEST.MF
uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/pom.xml
uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/src/org/apache/uima/tools/jcasgen/maven/JCasGenM2ETest.java
Modified: uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/META-INF/MANIFEST.MF
URL:
http://svn.apache.org/viewvc/uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/META-INF/MANIFEST.MF?rev=1487963&r1=1487962&r2=1487963&view=diff
==============================================================================
--- uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/META-INF/MANIFEST.MF
(original)
+++ uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/META-INF/MANIFEST.MF Thu
May 30 18:43:14 2013
@@ -1,25 +1,7 @@
-# ***************************************************************
-# * 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.
-# ***************************************************************
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: m2e connector for JCasGen tests
-Bundle-SymbolicName: org.apache.uima.tools.jcasgen.maven.tests;singleton:=true
+Bundle-SymbolicName:
org.apache.uima.tools.jcasgen.maven.tests.m2e;singleton:=true
Bundle-Version: 0.9.2.qualifier
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Require-Bundle: org.eclipse.core.runtime;bundle-version="3.4.0",
Modified: uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/pom.xml
URL:
http://svn.apache.org/viewvc/uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/pom.xml?rev=1487963&r1=1487962&r2=1487963&view=diff
==============================================================================
--- uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/pom.xml (original)
+++ uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/pom.xml Thu May 30
18:43:14 2013
@@ -20,7 +20,7 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.uima</groupId>
- <artifactId>org.apache.uima.plugin.jcasgen.tests</artifactId>
+ <artifactId>org.apache.uima.tools.jcasgen.maven.tests.m2e</artifactId>
<version>0.9.2-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
<name>JCasGen Maven plugin Eclipse tests</name>
@@ -72,7 +72,7 @@
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
-
<useUIHarness>true</useUIHarness>
+ <!--
useUIHarness>true</useUIHarness -->
<includes>
<include>**/*Test.java</include>
</includes>
Modified:
uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/src/org/apache/uima/tools/jcasgen/maven/JCasGenM2ETest.java
URL:
http://svn.apache.org/viewvc/uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/src/org/apache/uima/tools/jcasgen/maven/JCasGenM2ETest.java?rev=1487963&r1=1487962&r2=1487963&view=diff
==============================================================================
---
uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/src/org/apache/uima/tools/jcasgen/maven/JCasGenM2ETest.java
(original)
+++
uima/uimaj/trunk/jcasgen-maven-plugin/src/it/m2e/src/org/apache/uima/tools/jcasgen/maven/JCasGenM2ETest.java
Thu May 30 18:43:14 2013
@@ -28,6 +28,7 @@ import org.eclipse.core.resources.Increm
import org.eclipse.jdt.core.IClasspathEntry;
import org.eclipse.jdt.core.JavaCore;
import org.eclipse.m2e.core.project.ResolverConfiguration;
+import org.eclipse.m2e.tests.common.AbstractMavenProjectTestCase;
@SuppressWarnings("restriction")
public class JCasGenM2ETest extends AbstractMavenProjectTestCase {