Revision: 19784
          http://sourceforge.net/p/gate/code/19784
Author:   markagreenwood
Date:     2016-11-24 12:50:25 +0000 (Thu, 24 Nov 2016)
Log Message:
-----------
mavenized another plugin

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

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

Removed Paths:
-------------
    gate/branches/sawdust2/plugins/Format_PubMed/build.xml
    gate/branches/sawdust2/plugins/Format_PubMed/creole.xml
    gate/branches/sawdust2/plugins/Format_PubMed/doc/
    gate/branches/sawdust2/plugins/Format_PubMed/src/gate/

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

Index: gate/branches/sawdust2/plugins/Format_PubMed
===================================================================
--- gate/branches/sawdust2/plugins/Format_PubMed        2016-11-24 12:43:44 UTC 
(rev 19783)
+++ gate/branches/sawdust2/plugins/Format_PubMed        2016-11-24 12:50:25 UTC 
(rev 19784)

Property changes on: gate/branches/sawdust2/plugins/Format_PubMed
___________________________________________________________________
Modified: svn:ignore
## -1,5 +1,2 ##
-classes
-dist
-format-pubmed.jar
+target
 .settings
-doc
Modified: gate/branches/sawdust2/plugins/Format_PubMed/.classpath
===================================================================
--- gate/branches/sawdust2/plugins/Format_PubMed/.classpath     2016-11-24 
12:43:44 UTC (rev 19783)
+++ gate/branches/sawdust2/plugins/Format_PubMed/.classpath     2016-11-24 
12:50:25 UTC (rev 19784)
@@ -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/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
-       <classpathentry combineaccessrules="false" exported="true" 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/Format_PubMed/.project
===================================================================
--- gate/branches/sawdust2/plugins/Format_PubMed/.project       2016-11-24 
12:43:44 UTC (rev 19783)
+++ gate/branches/sawdust2/plugins/Format_PubMed/.project       2016-11-24 
12:50:25 UTC (rev 19784)
@@ -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/Format_PubMed/build.xml
===================================================================
--- gate/branches/sawdust2/plugins/Format_PubMed/build.xml      2016-11-24 
12:43:44 UTC (rev 19783)
+++ gate/branches/sawdust2/plugins/Format_PubMed/build.xml      2016-11-24 
12:50:25 UTC (rev 19784)
@@ -1,94 +0,0 @@
-<project name="format-pubmed" default="dist" basedir=".">
-    <description>
-        A plugin including PubMed document formats
-    </description>
-
-  <!-- Prevent Ant from warning about includeantruntime not being set -->
-  <property name="build.sysclasspath" value="ignore" />
-
-  <!-- set global properties for this build -->
-  <property name="src" location="src"/>
-  <property name="build" location="classes"/>
-  <property name="dist"  location="dist"/>
-  <property name="jar.location" location="format-pubmed.jar" />
-  <property name="doc.dir" location="doc" />
-  <property name="javadoc.dir" location="${doc.dir}/javadoc" />
-
-  <property name="gate.home" location="../.." />
-  <property name="gate.jar" location="${gate.home}/bin/gate.jar" />
-  <property name="gate.lib" location="${gate.home}/lib" />
-  <property name="gate.compile.maxwarnings" value="10000" />
-
-  <path id="compile.classpath">
-    <pathelement location="${gate.jar}" />
-    <fileset dir="${gate.lib}" >
-      <include name="**/*.jar" />
-      <include name="**/*.zip" />
-    </fileset>
-  </path>
-
-  <target name="init">
-    <!-- Create the time stamp -->
-    <tstamp/>
-    <!-- Create the build directory structure used by compile -->
-    <mkdir dir="${build}"/>
-  </target>
-
-  <target name="compile" depends="init"
-        description="compile the source " >
-    <!-- Compile the java code from ${src} into ${build} -->
-    <javac srcdir="${src}" destdir="${build}" source="1.7" target="1.7"
-           classpathref="compile.classpath" debug="true" 
debuglevel="lines,source">
-       <compilerarg value="-Xmaxwarns" />
-               <compilerarg value="${gate.compile.maxwarnings}" />
-               <compilerarg value="-Xlint:all" />
-       </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.7">
-      <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="dist" depends="compile"
-        description="generate the distribution" >
-    <!-- Create the distribution directory -->
-    <mkdir dir="${dist}/lib"/>
-
-    <!-- Put everything in ${build} into the MyProject-${DSTAMP}.jar file -->
-    <jar jarfile="${jar.location}" basedir="${build}"/>
-  </target>
-
-  <target name="clean.classes"
-        description="clean up" >
-    <!-- Delete the ${build} and ${dist} directory trees -->
-    <delete dir="${build}"/>
-    <delete dir="${dist}"/>
-  </target>
-
-  <target name="clean" depends="clean.classes" >
-    <!-- full clean also removes the generated JAR file -->
-    <delete file="${jar.location}" />
-  </target>
-
-  <!-- Targets used by the main GATE build file -->
-  <target name="build" depends="dist" />
-  <target name="test" />
-  <target name="distro.prepare" depends="clean.classes" />
-</project>
-

Deleted: gate/branches/sawdust2/plugins/Format_PubMed/creole.xml
===================================================================
--- gate/branches/sawdust2/plugins/Format_PubMed/creole.xml     2016-11-24 
12:43:44 UTC (rev 19783)
+++ gate/branches/sawdust2/plugins/Format_PubMed/creole.xml     2016-11-24 
12:50:25 UTC (rev 19784)
@@ -1,6 +0,0 @@
-<?xml version="1.0"?>
-<!-- $Id: creole.xml 7451 2006-06-15 14:10:50Z ian_roberts $ -->
-<!-- creole.xml directory file -->
-<CREOLE-DIRECTORY>
-  <JAR SCAN="true">format-pubmed.jar</JAR>  
-</CREOLE-DIRECTORY>
\ No newline at end of file

Added: gate/branches/sawdust2/plugins/Format_PubMed/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/Format_PubMed/pom.xml                        
        (rev 0)
+++ gate/branches/sawdust2/plugins/Format_PubMed/pom.xml        2016-11-24 
12:50:25 UTC (rev 19784)
@@ -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>format-pubmed</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/Format_PubMed/src/main/resources/creole.xml 
(from rev 19775, gate/branches/sawdust2/plugins/Format_PubMed/creole.xml)
===================================================================
--- gate/branches/sawdust2/plugins/Format_PubMed/src/main/resources/creole.xml  
                        (rev 0)
+++ gate/branches/sawdust2/plugins/Format_PubMed/src/main/resources/creole.xml  
2016-11-24 12:50:25 UTC (rev 19784)
@@ -0,0 +1,6 @@
+<?xml version="1.0"?>
+<!-- $Id: creole.xml 7451 2006-06-15 14:10:50Z ian_roberts $ -->
+<!-- creole.xml directory file -->
+<CREOLE-DIRECTORY>
+
+</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