Revision: 19815
          http://sourceforge.net/p/gate/code/19815
Author:   markagreenwood
Date:     2016-11-28 07:12:32 +0000 (Mon, 28 Nov 2016)
Log Message:
-----------
mavenized yet another plugin

Modified Paths:
--------------
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/.classpath
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/.project

Added Paths:
-----------
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/pom.xml
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/src/main/
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/src/main/java/
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/src/main/java/gate/
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/src/main/resources/
    
gate/branches/sawdust2/plugins/Linguistic_Simplifier/src/main/resources/creole.xml
    
gate/branches/sawdust2/plugins/Linguistic_Simplifier/src/main/resources/resources/

Removed Paths:
-------------
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/build.xml
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/creole.xml
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/resources/
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/src/gate/

Property Changed:
----------------
    gate/branches/sawdust2/plugins/Linguistic_Simplifier/

Index: gate/branches/sawdust2/plugins/Linguistic_Simplifier
===================================================================
--- gate/branches/sawdust2/plugins/Linguistic_Simplifier        2016-11-28 
07:11:11 UTC (rev 19814)
+++ gate/branches/sawdust2/plugins/Linguistic_Simplifier        2016-11-28 
07:12:32 UTC (rev 19815)

Property changes on: gate/branches/sawdust2/plugins/Linguistic_Simplifier
___________________________________________________________________
Modified: svn:ignore
## -1,2 +1,2 ##
-classes
-LinguisticSimplifier.jar
+target
+.settings
Modified: gate/branches/sawdust2/plugins/Linguistic_Simplifier/.classpath
===================================================================
--- gate/branches/sawdust2/plugins/Linguistic_Simplifier/.classpath     
2016-11-28 07:11:11 UTC (rev 19814)
+++ gate/branches/sawdust2/plugins/Linguistic_Simplifier/.classpath     
2016-11-28 07:12:32 UTC (rev 19815)
@@ -1,7 +1,31 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <classpath>
-       <classpathentry kind="src" path="src"/>
-       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
-       <classpathentry combineaccessrules="false" kind="src" path="/GATE"/>
-       <classpathentry kind="output" path="classes"/>
+       <classpathentry kind="src" output="target/classes" path="src/main/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry excluding="**" kind="src" output="target/classes" 
path="src/main/resources">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="src" output="target/test-classes" 
path="src/test/java">
+               <attributes>
+                       <attribute name="optional" value="true"/>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="con" 
path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="con" 
path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
+               <attributes>
+                       <attribute name="maven.pomderived" value="true"/>
+               </attributes>
+       </classpathentry>
+       <classpathentry kind="output" path="target/classes"/>
 </classpath>

Modified: gate/branches/sawdust2/plugins/Linguistic_Simplifier/.project
===================================================================
--- gate/branches/sawdust2/plugins/Linguistic_Simplifier/.project       
2016-11-28 07:11:11 UTC (rev 19814)
+++ gate/branches/sawdust2/plugins/Linguistic_Simplifier/.project       
2016-11-28 07:12:32 UTC (rev 19815)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <projectDescription>
-       <name>GATE-pluign-Linguistic_Simplifier</name>
+       <name>GATE-plugin-Linguistic_Simplifier</name>
        <comment></comment>
        <projects>
        </projects>
@@ -10,8 +10,14 @@
                        <arguments>
                        </arguments>
                </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.m2e.core.maven2Builder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
        </buildSpec>
        <natures>
                <nature>org.eclipse.jdt.core.javanature</nature>
+               <nature>org.eclipse.m2e.core.maven2Nature</nature>
        </natures>
 </projectDescription>

Deleted: gate/branches/sawdust2/plugins/Linguistic_Simplifier/build.xml
===================================================================
--- gate/branches/sawdust2/plugins/Linguistic_Simplifier/build.xml      
2016-11-28 07:11:11 UTC (rev 19814)
+++ gate/branches/sawdust2/plugins/Linguistic_Simplifier/build.xml      
2016-11-28 07:12:32 UTC (rev 19815)
@@ -1,123 +0,0 @@
-<project name="LinguisticSimplifier" basedir="." default="jar">
-  <!-- Prevent Ant from warning about includeantruntime not being set -->
-  <property name="build.sysclasspath" value="ignore" />
-  
-       <property file="build.properties" />
-
-       <property name="gate.home" location="../.." />
-       <property name="gate.lib" location="${gate.home}/lib" />
-       <property name="gate.jar" location="${gate.home}/bin/gate.jar" />
-       <property name="src.dir" location="src" />
-       <property name="classes.dir" location="classes" />
-       <property name="jar.location" location="LinguisticSimplifier.jar" />
-       <property name="doc.dir" location="doc" />
-       <property name="javadoc.dir" location="${doc.dir}/javadoc" />
-       <property name="test.dir" location="test" />
-       <property name="test.reports.dir" location="${test.dir}/reports" />
-       <property name="test.src.dir" location="${test.dir}/src" />
-       <property name="test.classes.dir" location="${test.dir}/classes" />
-
-       <!-- Path to compile - includes gate.jar and GATE/lib/*.jar -->
-       <path id="compile.classpath">
-               <pathelement location="${gate.jar}" />
-               <fileset dir="${gate.lib}">
-                       <include name="**/*.jar" />
-                       <include name="**/*.zip" />
-               </fileset>
-       </path>
-
-       <!-- create build directory structure -->
-       <target name="prepare">
-               <mkdir dir="${classes.dir}" />
-       </target>
-
-       <!-- compile the source -->
-       <target name="compile" depends="prepare">
-               <javac classpathref="compile.classpath" srcdir="${src.dir}" 
destdir="${classes.dir}" debug="true" debuglevel="lines,source" source="1.5" 
target="1.5" />
-       </target>
-
-       <target name="resources" depends="prepare">
-               <!--<copy todir="${classes.dir}/gate/resources" 
includeEmptyDirs="true">
-                       <fileset dir="${src.dir}/gate/resources" />
-               </copy>-->
-       </target>
-
-       <!-- create the JAR file -->
-       <target name="jar" depends="compile, resources">
-               <jar destfile="${jar.location}" update="false" 
basedir="${classes.dir}" />
-       </target>
-
-       <!-- remove the generated .class files -->
-       <target name="clean.classes">
-               <delete dir="${classes.dir}" />
-                <delete dir="${test.classes.dir}" />
-                <delete dir="${test.reports.dir}" />
-       </target>
-
-       <!-- Clean up - remove .class and .jar files -->
-       <target name="clean" depends="clean.classes">
-               <delete file="${jar.location}" />
-       </target>
-
-       <!-- Targets used by the main GATE build file:
-         build: build the plugin - just calls "jar" target
-         test : run the unit tests - there aren't any
-         distro.prepare: remove intermediate files that shouldn't be in the
-                         distribution
-  -->
-
-       <!-- 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="Measurements 
Tagger JavaDoc" source="1.6" public="true">
-                       <sourcepath>
-                               <pathelement location="${src.dir}" />
-                       </sourcepath>
-                       <link href="http://docs.oracle.com/javase/6/docs/api/"; 
/>
-                       <link href="http://gate.ac.uk/gate/doc/javadoc/"; />
-               </javadoc>
-       </target>
-
-       <target name="build" depends="jar" />
-
-       <!-- Remove JUnit test results -->
-       <target name="distro.prepare" depends="clean.classes">
-               <delete>
-                       <fileset dir="." includes="TEST*.xml" />
-               </delete>
-       </target>
-
-
-       <!-- Unit tests -->
-
-       <path id="test.classpath">
-               <path refid="compile.classpath" />
-               <pathelement location="${jar.location}" />
-       </path>
-
-       <target name="test.prepare">
-               <mkdir dir="${test.classes.dir}" />
-               <mkdir dir="${test.reports.dir}" />
-       </target>
-
-       <target name="test.compile" depends="test.prepare, build">
-               <javac classpathref="test.classpath" srcdir="${test.src.dir}" 
destdir="${test.classes.dir}" debug="true" debuglevel="lines,source" 
source="1.5" />
-       </target>
-
-       <target name="test">
-               <!-- <junit fork="yes" haltonfailure="no" printsummary="on">
-                       <test name="gate.creole.measurements.MeasurementsTest" 
toDir="${test.reports.dir}" />
-                       <sysproperty key="gate.measurements.plugin.dir"
-                                    file="${basedir}" />
-                       <formatter type="xml" />
-                       <classpath>
-                               <path refid="test.classpath" />
-                               <pathelement path="${test.classes.dir}" />
-                       </classpath>
-               </junit> -->
-       </target>
-
-</project>

Deleted: gate/branches/sawdust2/plugins/Linguistic_Simplifier/creole.xml
===================================================================
--- gate/branches/sawdust2/plugins/Linguistic_Simplifier/creole.xml     
2016-11-28 07:11:11 UTC (rev 19814)
+++ gate/branches/sawdust2/plugins/Linguistic_Simplifier/creole.xml     
2016-11-28 07:12:32 UTC (rev 19815)
@@ -1,4 +0,0 @@
-<!-- creole.xml for the Linguistic Simplifier -->
-<CREOLE-DIRECTORY>
-  <JAR SCAN="true">LinguisticSimplifier.jar</JAR>
-</CREOLE-DIRECTORY>

Added: gate/branches/sawdust2/plugins/Linguistic_Simplifier/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/Linguistic_Simplifier/pom.xml                
                (rev 0)
+++ gate/branches/sawdust2/plugins/Linguistic_Simplifier/pom.xml        
2016-11-28 07:12:32 UTC (rev 19815)
@@ -0,0 +1,38 @@
+
+<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>linguistic-simplifier</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 -->
+       </dependencies>
+
+</project>

Copied: 
gate/branches/sawdust2/plugins/Linguistic_Simplifier/src/main/resources/creole.xml
 (from rev 19814, 
gate/branches/sawdust2/plugins/Linguistic_Simplifier/creole.xml)
===================================================================
--- 
gate/branches/sawdust2/plugins/Linguistic_Simplifier/src/main/resources/creole.xml
                          (rev 0)
+++ 
gate/branches/sawdust2/plugins/Linguistic_Simplifier/src/main/resources/creole.xml
  2016-11-28 07:12:32 UTC (rev 19815)
@@ -0,0 +1,4 @@
+<!-- creole.xml for the Linguistic Simplifier -->
+<CREOLE-DIRECTORY>
+       <REQUIRES GROUP="uk.ac.gate.plugins" ARTIFACT="annie" 
VERSION="9.0-SNAPSHOT"/>
+</CREOLE-DIRECTORY>

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to