Revision: 19879
http://sourceforge.net/p/gate/code/19879
Author: markagreenwood
Date: 2016-12-20 03:46:30 +0000 (Tue, 20 Dec 2016)
Log Message:
-----------
converted plugin to maven
Modified Paths:
--------------
gate/branches/sawdust2/plugins/Teamware_Tools/.classpath
gate/branches/sawdust2/plugins/Teamware_Tools/.project
Added Paths:
-----------
gate/branches/sawdust2/plugins/Teamware_Tools/pom.xml
gate/branches/sawdust2/plugins/Teamware_Tools/src/main/
gate/branches/sawdust2/plugins/Teamware_Tools/src/main/java/
gate/branches/sawdust2/plugins/Teamware_Tools/src/main/java/gate/
gate/branches/sawdust2/plugins/Teamware_Tools/src/main/resources/
gate/branches/sawdust2/plugins/Teamware_Tools/src/main/resources/creole.xml
Removed Paths:
-------------
gate/branches/sawdust2/plugins/Teamware_Tools/build.xml
gate/branches/sawdust2/plugins/Teamware_Tools/creole.xml
gate/branches/sawdust2/plugins/Teamware_Tools/doc/
gate/branches/sawdust2/plugins/Teamware_Tools/src/gate/
Property Changed:
----------------
gate/branches/sawdust2/plugins/Teamware_Tools/
Index: gate/branches/sawdust2/plugins/Teamware_Tools
===================================================================
--- gate/branches/sawdust2/plugins/Teamware_Tools 2016-12-20 02:23:19 UTC
(rev 19878)
+++ gate/branches/sawdust2/plugins/Teamware_Tools 2016-12-20 03:46:30 UTC
(rev 19879)
Property changes on: gate/branches/sawdust2/plugins/Teamware_Tools
___________________________________________________________________
Modified: svn:ignore
## -1,3 +1,2 ##
-classes
-teamware_tools.jar
+target
.settings
Modified: gate/branches/sawdust2/plugins/Teamware_Tools/.classpath
===================================================================
--- gate/branches/sawdust2/plugins/Teamware_Tools/.classpath 2016-12-20
02:23:19 UTC (rev 19878)
+++ gate/branches/sawdust2/plugins/Teamware_Tools/.classpath 2016-12-20
03:46:30 UTC (rev 19879)
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="src" path="src"/>
+ <classpathentry kind="src" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources"/>
<classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry combineaccessrules="false" exported="true" kind="src"
path="/GATE"/>
<classpathentry combineaccessrules="false" kind="src"
path="/GATE-plugin-Tools"/>
- <classpathentry kind="output" path="classes"/>
+ <classpathentry kind="output" path="target/classes"/>
</classpath>
Modified: gate/branches/sawdust2/plugins/Teamware_Tools/.project
===================================================================
--- gate/branches/sawdust2/plugins/Teamware_Tools/.project 2016-12-20
02:23:19 UTC (rev 19878)
+++ gate/branches/sawdust2/plugins/Teamware_Tools/.project 2016-12-20
03:46:30 UTC (rev 19879)
@@ -10,8 +10,14 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Deleted: gate/branches/sawdust2/plugins/Teamware_Tools/build.xml
===================================================================
--- gate/branches/sawdust2/plugins/Teamware_Tools/build.xml 2016-12-20
02:23:19 UTC (rev 19878)
+++ gate/branches/sawdust2/plugins/Teamware_Tools/build.xml 2016-12-20
03:46:30 UTC (rev 19879)
@@ -1,99 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<project basedir="." default="build" name="teamware_tools">
- <!-- Prevent Ant from warning about includeantruntime not being set -->
- <property name="build.sysclasspath" value="ignore" />
-
- <property name="jdk.home" value="${JAVA_HOME}"/>
- <property name="dest" value="classes"/>
- <property name="gatehome" value="../.."/>
- <property name="src" value="src"/>
- <property name="doc.dir" location="doc" />
- <property name="javadoc.dir" location="${doc.dir}/javadoc" />
-
- <taskdef resource="net/sf/antcontrib/antlib.xml" >
- <classpath>
- <pathelement location="${gatehome}/build/lib/ant-contrib.jar"/>
- </classpath>
- </taskdef>
-
- <fileset id="gatelib.classpath" dir="${gatehome}/lib">
- <include name="*.jar"/>
- <include name="*.zip"/>
- </fileset>
-
- <fileset id="gate.classpath" dir="${gatehome}/bin">
- <include name="*.jar"/>
- <include name="*.zip"/>
- </fileset>
-
- <fileset id="tools.classpath" dir="${gatehome}/plugins/Tools">
- <include name="*.jar"/>
- <include name="*.zip"/>
- </fileset>
-
-
- <path id="compile.classpath">
- <fileset refid="gatelib.classpath"/>
- <fileset refid="gate.classpath"/>
- <fileset refid="tools.classpath"/>
- </path>
-
- <target name="jar" depends="compile">
- <jar compress="false" destfile="teamware_tools.jar">
- <fileset dir="${dest}"/>
- </jar>
- </target>
-
- <target name="compile" depends="init">
- <if>
- <not><available file="${gatehome}/plugins/Tools/tools.jar"/></not>
- <then>
- <echo message="this plugin requires the tools.jar from the Tools
plugin which is missing and therefore first trying to build it" />
- <ant dir="${gatehome}/plugins/Tools" target="jar" />
- </then>
- </if>
- <javac classpathref="compile.classpath" debug="true" deprecation="true"
destdir="${dest}" nowarn="false" source="1.6" target="1.6">
- <src path="${src}"/>
- </javac>
- </target>
-
- <!-- Build JavaDoc documentation -->
- <target name="doc.prepare">
- <mkdir dir="${javadoc.dir}" />
- </target>
-
- <target name="javadoc" depends="doc.prepare">
- <javadoc destdir="${javadoc.dir}" packagenames="*"
- classpathref="compile.classpath"
- encoding="UTF-8"
- windowtitle="${plugin.name} JavaDoc"
- source="1.6">
- <sourcepath>
- <pathelement location="${src}" />
- </sourcepath>
- <link href="http://docs.oracle.com/javase/6/docs/api/" />
- <link href="http://gate.ac.uk/gate/doc/javadoc/" />
- </javadoc>
- </target>
-
- <target name="clean.classes">
- <delete failonerror="false" includeemptydirs="true">
- <fileset dir="${dest}"/>
- </delete>
- </target>
-
- <target name="clean" depends="clean.classes">
- <delete file="tools.jar"/>
- </target>
-
- <target name="init">
- <mkdir dir="${dest}"/>
- </target>
-
- <!-- targets required by the top-level build file -->
- <target name="build" depends="jar"/>
- <target name="distro.prepare" depends="clean.classes" />
- <target name="test" />
-
-</project>
Deleted: gate/branches/sawdust2/plugins/Teamware_Tools/creole.xml
===================================================================
--- gate/branches/sawdust2/plugins/Teamware_Tools/creole.xml 2016-12-20
02:23:19 UTC (rev 19878)
+++ gate/branches/sawdust2/plugins/Teamware_Tools/creole.xml 2016-12-20
03:46:30 UTC (rev 19879)
@@ -1,5 +0,0 @@
-<?xml version="1.0"?>
-<CREOLE-DIRECTORY>
- <JAR SCAN="true">teamware_tools.jar</JAR>
-</CREOLE-DIRECTORY>
-
Added: gate/branches/sawdust2/plugins/Teamware_Tools/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/Teamware_Tools/pom.xml
(rev 0)
+++ gate/branches/sawdust2/plugins/Teamware_Tools/pom.xml 2016-12-20
03:46:30 UTC (rev 19879)
@@ -0,0 +1,44 @@
+
+<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/xsd/maven-4.0.0.xsd">
+
+ <modelVersion>4.0.0</modelVersion>
+
+ <parent>
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>base-plugin</artifactId>
+ <!-- this should be the version of GATE you wish to build
against -->
+ <version>9.0-SNAPSHOT</version>
+ <relativePath>../../Plugin_Base/pom.xml</relativePath>
+ </parent>
+
+ <!-- this is the description of this plugin -->
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>teamware-tools</artifactId>
+ <version>9.0-SNAPSHOT</version>
+
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License (LGPL), Version
3</name>
+ <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <organization>
+ <name>GATE</name>
+ <url>http://gate.ac.uk</url>
+ </organization>
+
+ <dependencies>
+ <!-- add any other libraries your plugin depends on. Any other
GATE plugins
+ you depend on at compile time should use the provided
scope -->
+ <dependency>
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>tools</artifactId>
+ <version>9.0-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+</project>
Copied:
gate/branches/sawdust2/plugins/Teamware_Tools/src/main/resources/creole.xml
(from rev 19878, gate/branches/sawdust2/plugins/Teamware_Tools/creole.xml)
===================================================================
--- gate/branches/sawdust2/plugins/Teamware_Tools/src/main/resources/creole.xml
(rev 0)
+++ gate/branches/sawdust2/plugins/Teamware_Tools/src/main/resources/creole.xml
2016-12-20 03:46:30 UTC (rev 19879)
@@ -0,0 +1,5 @@
+<?xml version="1.0"?>
+<CREOLE-DIRECTORY>
+ <REQUIRES GROUP="uk.ac.gate.plugins" ARTIFACT="tools"
VERSION="9.0-SNAPSHOT"/>
+</CREOLE-DIRECTORY>
+
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/intel
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs