Revision: 19499 http://sourceforge.net/p/gate/code/19499 Author: markagreenwood Date: 2016-08-11 17:35:29 +0000 (Thu, 11 Aug 2016) Log Message: ----------- started to rearrange things to completely separate all the different bits into different projects
Modified Paths: -------------- gate/branches/sawdust2/gate-parent/pom.xml Added Paths: ----------- gate/branches/sawdust2/gate-core/ gate/branches/sawdust2/gate-core/COPYRIGHT.txt gate/branches/sawdust2/gate-core/GATE.app/ gate/branches/sawdust2/gate-core/bin/ gate/branches/sawdust2/gate-core/build/ gate/branches/sawdust2/gate-core/build.xml gate/branches/sawdust2/gate-core/classes/ gate/branches/sawdust2/gate-core/doc/ gate/branches/sawdust2/gate-core/gate.exe gate/branches/sawdust2/gate-core/gate.l4j.ini gate/branches/sawdust2/gate-core/gate.xml gate/branches/sawdust2/gate-core/licence.html gate/branches/sawdust2/gate-core/pom.xml gate/branches/sawdust2/gate-core/src/ gate/branches/sawdust2/unsorted/ Removed Paths: ------------- gate/branches/sawdust2/COPYRIGHT.txt gate/branches/sawdust2/GATE.app/ gate/branches/sawdust2/bin/ gate/branches/sawdust2/build/ gate/branches/sawdust2/build.xml gate/branches/sawdust2/classes/ gate/branches/sawdust2/doc/ gate/branches/sawdust2/gate.exe gate/branches/sawdust2/gate.l4j.ini gate/branches/sawdust2/gate.xml gate/branches/sawdust2/index.html gate/branches/sawdust2/licence.html gate/branches/sawdust2/pom.xml gate/branches/sawdust2/src/ Deleted: gate/branches/sawdust2/COPYRIGHT.txt =================================================================== --- gate/branches/sawdust2/COPYRIGHT.txt 2016-08-11 11:43:27 UTC (rev 19498) +++ gate/branches/sawdust2/COPYRIGHT.txt 2016-08-11 17:35:29 UTC (rev 19499) @@ -1,4 +0,0 @@ -GATE Developer -Copyright (c) -1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 -The University of Sheffield (http://www.shef.ac.uk/). Deleted: gate/branches/sawdust2/build.xml =================================================================== --- gate/branches/sawdust2/build.xml 2016-08-11 11:43:27 UTC (rev 19498) +++ gate/branches/sawdust2/build.xml 2016-08-11 17:35:29 UTC (rev 19499) @@ -1,330 +0,0 @@ -<?xml version="1.0"?> -<!-- $Id$ --> -<project name="GATE" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:jacoco="antlib:org.jacoco.ant"> - <description> - GATE - see http://gate.ac.uk - </description> - - <!-- Prevent Ant from warning about includeantruntime not being set --> - <property name="build.sysclasspath" value="ignore" /> - - <!-- ******************************************************************* - **************** USER OPTIONS ************************************ - ******************************************************************* - - Make changes to this section of the build file to customise your - GATE build script --> - - <!-- Load user properties from build.properties. If you need to override - any of the properties set in this build file, you should create - build.properties in the same directory. Property definitions in - the properties file will override those in the build file. - - note that Ant properties are expanded in this file, this can be a - very powerful tool. --> - <property file="build.properties" /> - - <!-- if deprecation warnings should be shown --> - <property name="deprecation" value="false" /> - <property name="gate.compile.maxwarnings" value="10000" /> - - <!-- If you use a 3D accelerated X server, such as Xgl or Aiglx and - your windows are not resizing properly, then you need to uncomment - the following line --> - <!-- <property name="os.Linux.awt.toolkit" value="sun.awt.motif.MToolkit"/> --> - - <!-- ******************************************************************* - **************** USER OPTIONS END HERE! ************************** - ******************************************************************* --> - - <!-- set global properties for this build --> - - <!-- Directories --> - <property name="gate.home" location="${basedir}" /> - - <!-- Sources --> - <property name="srcDir" location="src/main/java" /> - <property name="tests.srcDir" location="src/test/java" /> - - <!-- Files required by the build process --> - <property name="buildDir" location="build" /> - - <!-- Files required by the build process --> - <property name="binDir" location="bin" /> - - <!-- Output directory for the build process --> - <property name="outputDir" location="classes/main" /> - <property name="tests.outputDir" location="classes/test" /> - - <!-- Libraries directory for the build process --> - <property name="libDir" location="lib" /> - - <!-- Documentation directory --> - <property name="docDir" location="doc" /> - - <!-- load ant-contrib for the "if" task --> - <taskdef resource="net/sf/antcontrib/antlib.xml"> - <classpath> - <pathelement location="${buildDir}/lib/ant-contrib.jar" /> - </classpath> - </taskdef> - - <!-- Read version and build numbers --> - <loadfile property="gate.version" srcFile="${buildDir}/version.txt" /> - <loadfile property="gate.build" srcFile="${buildDir}/build.txt" /> - - <!-- Use the new 1.3+ compiler --> - <property name="build.compiler" value="modern" /> - - <!-- The libraries --> - <fileset id="libs" dir="${libDir}"> - <include name="*.jar" /> - <include name="*.zip" /> - </fileset> - - <!-- Default to the server VM (slower startup but faster running) unless - overridden above --> - <property name="server.or.client" value="-server" /> - - <!-- The build CLASSPATH --> - <path id="build.class.path"> - <fileset refid="libs" /> - </path> - - <!-- The run CLASSPATH --> - <path id="run.class.path"> - <pathelement location="${binDir}" /> - <pathelement location="${binDir}/gate.jar" /> - <fileset refid="libs" /> - </path> - - <!-- The test CLASSPATH --> - <path id="test.class.path"> - <pathelement location="${binDir}" /> - <pathelement location="${binDir}/gate.jar" /> - <pathelement location="${tests.outputDir}" /> - <fileset refid="libs" /> - </path> - - <tstamp> - <format property="TODAY_UK" pattern="d-MMMM-yyyy" locale="en" /> - <format property="TSTAMP_UK" pattern="hh:mm" locale="en" /> - </tstamp> - - - <!-- Prints out some information messages --> - <echo level="info"> - This is the ANT build script for GATE (http://gate.ac.uk). - Type "ant help" for details about the targets available. - GATE ${gate.version}, build ${gate.build} - Java version ${java.version}</echo> - - <!-- Prints out details about the targets --> - <target name="help"> - <echo level="info"> - This is the ANT build script for gate (http://gate.ac.uk). - The following targets are available - -all (default target): compiles the GATE classes and makes the gate.jar archive. - - -compile: compiles all the .java files - -resources: copies the resources to the output directory (${outputDir}) - -jar: creates the gate.jar archive - -clean: cleans up the output from all previous builds - - -doc: creates the Javadoc and Java2HTML documentation - -docclean: deletes all built documentation - -jape: rebuilds the JAPE parser files and associated documentation - -test: runs the GATE test suite - - -distro: make a GATE distribution (calls all build tasks in the process) - </echo> - </target> - - <target name="check.info.plist"> - <!-- we need to rebuild Info.plist if (a) this is a release build or (b) - the current Info.plist is older than version.txt or build.txt. --> - <condition property="info.plist.build.required"> - <or> - <isset property="release.build" /> - <and> - <!-- Check that GATE.app exists (it won't if this is a copy of GATE - installed from the installer on Windows) --> - <available file="GATE.app/Contents" /> - <not> - <uptodate targetfile="GATE.app/Contents/Info.plist"> - <srcfiles dir="${buildDir}" includes="version.txt, build.txt, Info.plist.template" /> - </uptodate> - </not> - </and> - </or> - </condition> - </target> - - <!-- Generate the Mac launcher Info.plist file from the template, filling in - the correct version string. --> - <target name="build.info.plist" if="info.plist.build.required"> - <!-- include the build number in the Info.plist version string unless - it's a release build --> - <condition property="info.plist.version" value="${gate.version}" else="${gate.version} (build ${gate.build})"> - <isset property="release.build" /> - </condition> - <copy file="${buildDir}/Info.plist.template" tofile="GATE.app/Contents/Info.plist" overwrite="yes" encoding="UTF-8"> - <filterset> - <filter token="version" value="${info.plist.version}" /> - </filterset> - </copy> - <!-- Touch GATE.app so Finder notices the .plist change --> - <touch> - <dirset dir="${basedir}" includes="GATE.app" /> - </touch> - </target> - - <target name="prepare" depends="check.info.plist, build.info.plist"> - <mkdir dir="${outputDir}" /> - </target> - - <target name="svg2java" unless="do.not.draw" depends="prepare"> - <java fork="true" classname="englishcoffeedrinker.svg.in.SVGBatchConverter" failonerror="true"> - <jvmarg value="-Xmx512m" /> - <jvmarg value="-Djava.awt.headless=true" /> - <classpath> - <fileset dir="${buildDir}/lib"> - <include name="**/*.jar" /> - </fileset> - <fileset dir="${libDir}"> - <include name="**/*.jar" /> - </fileset> - </classpath> - <arg value="-e" /> - <arg value="-n" /> - <arg value="+Icon" /> - <arg value="-o" /> - <arg value="${srcDir}" /> - <arg value="-p" /> - <arg value="gate.resources.img.svg" /> - <arg value="-t" /> - <arg value="scalable" /> - <arg value="${srcDir}/gate/resources/img/svg" /> - </java> - </target> - - <!-- Plugins --> - <!-- Learning plugin needs to be before Lang_Chinese --> - <filelist id="plugins.to.build" dir="plugins" files=" - AlchemyAPI Alignment Annotation_Merging Copy_Annots_Between_Docs - Coref_Tools Crowd_Sourcing Developer_Tools DocumentNormalizer Format_CSV Format_DataSift - Format_FastInfoset Format_HTML5Microdata Format_MediaWiki Format_PubMed Gazetteer_LKB - Gazetteer_Ontology_Based GENIA Groovy Information_Retrieval Inter_Annotator_Agreement - JAPE_Plus Keyphrase_Extraction_Algorithm Lang_Arabic Lang_Bulgarian Lang_Cebuano - Learning Lang_Chinese Lang_French Lang_German Lang_Hindi Lang_Romanian - Lang_Russian Lang_Welsh Language_Identification LingPipe Linguistic_Simplifier - Machine_Learning Ontology Ontology_BDM_Computation Ontology_Tools OpenNLP Parser_Minipar - Parser_RASP Schema_Tools Stanford_CoreNLP Stemmer_Snowball Tagger_Abner - Tagger_Boilerpipe Tagger_Chemistry Tagger_DateNormalizer Tagger_Framework - Tagger_Lupedia Tagger_Measurements Tagger_MetaMap Tagger_MutationFinder - Tagger_NormaGene Tagger_NP_Chunking Tagger_Numbers Tagger_OpenCalais - Tagger_PennBio Tagger_TextRazor Tagger_Zemanta - Teamware_Tools TermRaider Text_Categorization Tools Twitter UIMA - Web_Crawler_Websphinx WordNet Lang_Danish - " /> - <target name="plugins.build"> - <for param="plugin"> - <path> - <filelist refid="plugins.to.build" /> - </path> - <sequential> - <echo>Building plugin @{plugin}</echo> - <ant dir="@{plugin}" inheritAll="false" target="build" > - <property name="gate.home" value="${basedir}" /> - </ant> - </sequential> - </for> - </target> - - <!-- Make documentation --> - <target name="java2html.taskdef"> - <taskdef name="java2html" classname="de.java2html.anttasks.Java2HtmlTask" classpath="${buildDir}/lib/java2html.jar" /> - </target> - - <target name="javadoc.core" depends="java2html.taskdef"> - <javadoc access="protected" destdir="${docDir}/javadoc" classpathref="run.class.path" Encoding="UTF-8" Use="yes" Windowtitle="GATE JavaDoc" docencoding="UTF-8" charset="UTF-8" source="1.8" useexternalfile="yes" breakiterator="true" linksource="yes" > - <fileset dir="${srcDir}" includes="**/*.java" excludes="gate/resources/**" /> - <link href="http://docs.oracle.com/javase/8/docs/api/" /> - </javadoc> - <!-- Now replace the ugly Java-html files with a better version --> - <delete dir="${docDir}/javadoc/src-html" /> - <java2html srcdir="${srcDir}" destdir="${docDir}/javadoc/src-html" includes="**/*.java" style="eclipse" showLineNumbers="true" showFileName="true" showTableBorder="false" includeDocumentHeader="true" outputFormat="html" lineAnchorPrefix="line." tabs="2" addLineAnchors="true" showDefaultTitle="true" useShortFileName="true" overwrite="true" /> - </target> - - <!-- Make documentation - internal --> - <target name="internaljavadoc" depends="java2html.taskdef"> - <javadoc access="private" destdir="${docDir}/javadoc/internal" classpathref="run.class.path" Encoding="UTF-8" Use="yes" Windowtitle="GATE JavaDoc (including private members)" link="http://docs.oracle.com/javase/8/docs/api/" docencoding="UTF-8" charset="UTF-8" source="1.8" useexternalfile="yes" breakiterator="true" linksource="yes" > - <fileset dir="${srcDir}" includes="**/*.java" excludes="gate/resources/**" /> - </javadoc> - <delete dir="${docDir}/javadoc/internal/src-html" /> - <java2html srcdir="${srcDir}" destdir="${docDir}/javadoc/internal/src-html" includes="**/*.java" style="eclipse" showLineNumbers="true" showFileName="true" showTableBorder="false" includeDocumentHeader="true" outputFormat="html" lineAnchorPrefix="line." tabs="2" addLineAnchors="true" showDefaultTitle="true" useShortFileName="true" overwrite="true" /> - </target> - - <!-- Clear all built documentation --> - <target name="docclean"> - <delete includeemptydirs="true"> - <fileset dir="${docDir}/javadoc" excludes="**/CVS,**/CVS/**,**/.cvsignore,internal,internal/**" /> - </delete> - <delete includeemptydirs="true"> - <fileset dir="${docDir}/javadoc/internal" excludes="**/CVS,**/CVS/**,**/.cvsignore" /> - </delete> - </target> - - <!-- Rebuild the JAPE file parser --> - <target name="jape"> - <java classname="javacc" fork="true" spawn="false" dir="${srcDir}/gate/jape/parser"> - <classpath> - <pathelement location="${buildDir}/lib/javacc.jar" /> - </classpath> - <arg value="ParseCpsl.jj" /> - </java> - - <java classname="jjdoc" fork="true" spawn="false" dir="${srcDir}/gate/jape/parser"> - <classpath> - <pathelement location="${buildDir}/lib/javacc.jar" /> - </classpath> - <arg value="ParseCpsl.jj" /> - </java> - - <move file="${srcDir}/gate/jape/parser/ParseCpsl.html" toFile="${srcDir}/gate/jape/parser/ParseCpslPlain.html" /> - </target> - - <!-- - Regenerate plugins.html. If perl is not on your path or you need to use a - non-default perl interpreter, set -Dperl.bin=/path/to/perl on the ant command - line. - - Notes: - 1) All plugins need to be compiled and in a state where they could be - loaded into GATE from the plugin manager. Most plugins are handled by - running "bin/ant all" but you will need to build SUPPLE manually. - --> - <property name="perl.bin" value="perl" /> - - <target name="plugins.html" depends="plugins.build"> - <typedef resource="gate/util/ant/antlib.xml" classpathref="run.class.path" /> - <!-- clean out previous run --> - <delete dir="build/plugins" /> - <mkdir dir="build/plugins" /> - - <!-- expand the plugin creole.xml files with information from any - @CreoleResource annotations on their resources --> - <expandcreoles todir="build/plugins" gatehome="${basedir}"> - <fileset dir="plugins" includes="Tools/creole.xml" /> - <fileset dir="plugins" includes="*/creole.xml" excludes="Tools/creole.xml" /> - </expandcreoles> - - <exec dir="bin" executable="${perl.bin}"> - <arg value="-CDS" /> - <arg file="bin/plugins-info-to-HTML.pl" /> - <arg value="runningFromAnt" /> - </exec> - </target> - -</project> Copied: gate/branches/sawdust2/gate-core/COPYRIGHT.txt (from rev 19498, gate/branches/sawdust2/COPYRIGHT.txt) =================================================================== --- gate/branches/sawdust2/gate-core/COPYRIGHT.txt (rev 0) +++ gate/branches/sawdust2/gate-core/COPYRIGHT.txt 2016-08-11 17:35:29 UTC (rev 19499) @@ -0,0 +1,4 @@ +GATE Developer +Copyright (c) +1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015 +The University of Sheffield (http://www.shef.ac.uk/). Copied: gate/branches/sawdust2/gate-core/build.xml (from rev 19498, gate/branches/sawdust2/build.xml) =================================================================== --- gate/branches/sawdust2/gate-core/build.xml (rev 0) +++ gate/branches/sawdust2/gate-core/build.xml 2016-08-11 17:35:29 UTC (rev 19499) @@ -0,0 +1,330 @@ +<?xml version="1.0"?> +<!-- $Id$ --> +<project name="GATE" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant" xmlns:jacoco="antlib:org.jacoco.ant"> + <description> + GATE + see http://gate.ac.uk + </description> + + <!-- Prevent Ant from warning about includeantruntime not being set --> + <property name="build.sysclasspath" value="ignore" /> + + <!-- ******************************************************************* + **************** USER OPTIONS ************************************ + ******************************************************************* + + Make changes to this section of the build file to customise your + GATE build script --> + + <!-- Load user properties from build.properties. If you need to override + any of the properties set in this build file, you should create + build.properties in the same directory. Property definitions in + the properties file will override those in the build file. + + note that Ant properties are expanded in this file, this can be a + very powerful tool. --> + <property file="build.properties" /> + + <!-- if deprecation warnings should be shown --> + <property name="deprecation" value="false" /> + <property name="gate.compile.maxwarnings" value="10000" /> + + <!-- If you use a 3D accelerated X server, such as Xgl or Aiglx and + your windows are not resizing properly, then you need to uncomment + the following line --> + <!-- <property name="os.Linux.awt.toolkit" value="sun.awt.motif.MToolkit"/> --> + + <!-- ******************************************************************* + **************** USER OPTIONS END HERE! ************************** + ******************************************************************* --> + + <!-- set global properties for this build --> + + <!-- Directories --> + <property name="gate.home" location="${basedir}" /> + + <!-- Sources --> + <property name="srcDir" location="src/main/java" /> + <property name="tests.srcDir" location="src/test/java" /> + + <!-- Files required by the build process --> + <property name="buildDir" location="build" /> + + <!-- Files required by the build process --> + <property name="binDir" location="bin" /> + + <!-- Output directory for the build process --> + <property name="outputDir" location="classes/main" /> + <property name="tests.outputDir" location="classes/test" /> + + <!-- Libraries directory for the build process --> + <property name="libDir" location="lib" /> + + <!-- Documentation directory --> + <property name="docDir" location="doc" /> + + <!-- load ant-contrib for the "if" task --> + <taskdef resource="net/sf/antcontrib/antlib.xml"> + <classpath> + <pathelement location="${buildDir}/lib/ant-contrib.jar" /> + </classpath> + </taskdef> + + <!-- Read version and build numbers --> + <loadfile property="gate.version" srcFile="${buildDir}/version.txt" /> + <loadfile property="gate.build" srcFile="${buildDir}/build.txt" /> + + <!-- Use the new 1.3+ compiler --> + <property name="build.compiler" value="modern" /> + + <!-- The libraries --> + <fileset id="libs" dir="${libDir}"> + <include name="*.jar" /> + <include name="*.zip" /> + </fileset> + + <!-- Default to the server VM (slower startup but faster running) unless + overridden above --> + <property name="server.or.client" value="-server" /> + + <!-- The build CLASSPATH --> + <path id="build.class.path"> + <fileset refid="libs" /> + </path> + + <!-- The run CLASSPATH --> + <path id="run.class.path"> + <pathelement location="${binDir}" /> + <pathelement location="${binDir}/gate.jar" /> + <fileset refid="libs" /> + </path> + + <!-- The test CLASSPATH --> + <path id="test.class.path"> + <pathelement location="${binDir}" /> + <pathelement location="${binDir}/gate.jar" /> + <pathelement location="${tests.outputDir}" /> + <fileset refid="libs" /> + </path> + + <tstamp> + <format property="TODAY_UK" pattern="d-MMMM-yyyy" locale="en" /> + <format property="TSTAMP_UK" pattern="hh:mm" locale="en" /> + </tstamp> + + + <!-- Prints out some information messages --> + <echo level="info"> + This is the ANT build script for GATE (http://gate.ac.uk). + Type "ant help" for details about the targets available. + GATE ${gate.version}, build ${gate.build} + Java version ${java.version}</echo> + + <!-- Prints out details about the targets --> + <target name="help"> + <echo level="info"> + This is the ANT build script for gate (http://gate.ac.uk). + The following targets are available + -all (default target): compiles the GATE classes and makes the gate.jar archive. + + -compile: compiles all the .java files + -resources: copies the resources to the output directory (${outputDir}) + -jar: creates the gate.jar archive + -clean: cleans up the output from all previous builds + + -doc: creates the Javadoc and Java2HTML documentation + -docclean: deletes all built documentation + -jape: rebuilds the JAPE parser files and associated documentation + -test: runs the GATE test suite + + -distro: make a GATE distribution (calls all build tasks in the process) + </echo> + </target> + + <target name="check.info.plist"> + <!-- we need to rebuild Info.plist if (a) this is a release build or (b) + the current Info.plist is older than version.txt or build.txt. --> + <condition property="info.plist.build.required"> + <or> + <isset property="release.build" /> + <and> + <!-- Check that GATE.app exists (it won't if this is a copy of GATE + installed from the installer on Windows) --> + <available file="GATE.app/Contents" /> + <not> + <uptodate targetfile="GATE.app/Contents/Info.plist"> + <srcfiles dir="${buildDir}" includes="version.txt, build.txt, Info.plist.template" /> + </uptodate> + </not> + </and> + </or> + </condition> + </target> + + <!-- Generate the Mac launcher Info.plist file from the template, filling in + the correct version string. --> + <target name="build.info.plist" if="info.plist.build.required"> + <!-- include the build number in the Info.plist version string unless + it's a release build --> + <condition property="info.plist.version" value="${gate.version}" else="${gate.version} (build ${gate.build})"> + <isset property="release.build" /> + </condition> + <copy file="${buildDir}/Info.plist.template" tofile="GATE.app/Contents/Info.plist" overwrite="yes" encoding="UTF-8"> + <filterset> + <filter token="version" value="${info.plist.version}" /> + </filterset> + </copy> + <!-- Touch GATE.app so Finder notices the .plist change --> + <touch> + <dirset dir="${basedir}" includes="GATE.app" /> + </touch> + </target> + + <target name="prepare" depends="check.info.plist, build.info.plist"> + <mkdir dir="${outputDir}" /> + </target> + + <target name="svg2java" unless="do.not.draw" depends="prepare"> + <java fork="true" classname="englishcoffeedrinker.svg.in.SVGBatchConverter" failonerror="true"> + <jvmarg value="-Xmx512m" /> + <jvmarg value="-Djava.awt.headless=true" /> + <classpath> + <fileset dir="${buildDir}/lib"> + <include name="**/*.jar" /> + </fileset> + <fileset dir="${libDir}"> + <include name="**/*.jar" /> + </fileset> + </classpath> + <arg value="-e" /> + <arg value="-n" /> + <arg value="+Icon" /> + <arg value="-o" /> + <arg value="${srcDir}" /> + <arg value="-p" /> + <arg value="gate.resources.img.svg" /> + <arg value="-t" /> + <arg value="scalable" /> + <arg value="${srcDir}/gate/resources/img/svg" /> + </java> + </target> + + <!-- Plugins --> + <!-- Learning plugin needs to be before Lang_Chinese --> + <filelist id="plugins.to.build" dir="plugins" files=" + AlchemyAPI Alignment Annotation_Merging Copy_Annots_Between_Docs + Coref_Tools Crowd_Sourcing Developer_Tools DocumentNormalizer Format_CSV Format_DataSift + Format_FastInfoset Format_HTML5Microdata Format_MediaWiki Format_PubMed Gazetteer_LKB + Gazetteer_Ontology_Based GENIA Groovy Information_Retrieval Inter_Annotator_Agreement + JAPE_Plus Keyphrase_Extraction_Algorithm Lang_Arabic Lang_Bulgarian Lang_Cebuano + Learning Lang_Chinese Lang_French Lang_German Lang_Hindi Lang_Romanian + Lang_Russian Lang_Welsh Language_Identification LingPipe Linguistic_Simplifier + Machine_Learning Ontology Ontology_BDM_Computation Ontology_Tools OpenNLP Parser_Minipar + Parser_RASP Schema_Tools Stanford_CoreNLP Stemmer_Snowball Tagger_Abner + Tagger_Boilerpipe Tagger_Chemistry Tagger_DateNormalizer Tagger_Framework + Tagger_Lupedia Tagger_Measurements Tagger_MetaMap Tagger_MutationFinder + Tagger_NormaGene Tagger_NP_Chunking Tagger_Numbers Tagger_OpenCalais + Tagger_PennBio Tagger_TextRazor Tagger_Zemanta + Teamware_Tools TermRaider Text_Categorization Tools Twitter UIMA + Web_Crawler_Websphinx WordNet Lang_Danish + " /> + <target name="plugins.build"> + <for param="plugin"> + <path> + <filelist refid="plugins.to.build" /> + </path> + <sequential> + <echo>Building plugin @{plugin}</echo> + <ant dir="@{plugin}" inheritAll="false" target="build" > + <property name="gate.home" value="${basedir}" /> + </ant> + </sequential> + </for> + </target> + + <!-- Make documentation --> + <target name="java2html.taskdef"> + <taskdef name="java2html" classname="de.java2html.anttasks.Java2HtmlTask" classpath="${buildDir}/lib/java2html.jar" /> + </target> + + <target name="javadoc.core" depends="java2html.taskdef"> + <javadoc access="protected" destdir="${docDir}/javadoc" classpathref="run.class.path" Encoding="UTF-8" Use="yes" Windowtitle="GATE JavaDoc" docencoding="UTF-8" charset="UTF-8" source="1.8" useexternalfile="yes" breakiterator="true" linksource="yes" > + <fileset dir="${srcDir}" includes="**/*.java" excludes="gate/resources/**" /> + <link href="http://docs.oracle.com/javase/8/docs/api/" /> + </javadoc> + <!-- Now replace the ugly Java-html files with a better version --> + <delete dir="${docDir}/javadoc/src-html" /> + <java2html srcdir="${srcDir}" destdir="${docDir}/javadoc/src-html" includes="**/*.java" style="eclipse" showLineNumbers="true" showFileName="true" showTableBorder="false" includeDocumentHeader="true" outputFormat="html" lineAnchorPrefix="line." tabs="2" addLineAnchors="true" showDefaultTitle="true" useShortFileName="true" overwrite="true" /> + </target> + + <!-- Make documentation - internal --> + <target name="internaljavadoc" depends="java2html.taskdef"> + <javadoc access="private" destdir="${docDir}/javadoc/internal" classpathref="run.class.path" Encoding="UTF-8" Use="yes" Windowtitle="GATE JavaDoc (including private members)" link="http://docs.oracle.com/javase/8/docs/api/" docencoding="UTF-8" charset="UTF-8" source="1.8" useexternalfile="yes" breakiterator="true" linksource="yes" > + <fileset dir="${srcDir}" includes="**/*.java" excludes="gate/resources/**" /> + </javadoc> + <delete dir="${docDir}/javadoc/internal/src-html" /> + <java2html srcdir="${srcDir}" destdir="${docDir}/javadoc/internal/src-html" includes="**/*.java" style="eclipse" showLineNumbers="true" showFileName="true" showTableBorder="false" includeDocumentHeader="true" outputFormat="html" lineAnchorPrefix="line." tabs="2" addLineAnchors="true" showDefaultTitle="true" useShortFileName="true" overwrite="true" /> + </target> + + <!-- Clear all built documentation --> + <target name="docclean"> + <delete includeemptydirs="true"> + <fileset dir="${docDir}/javadoc" excludes="**/CVS,**/CVS/**,**/.cvsignore,internal,internal/**" /> + </delete> + <delete includeemptydirs="true"> + <fileset dir="${docDir}/javadoc/internal" excludes="**/CVS,**/CVS/**,**/.cvsignore" /> + </delete> + </target> + + <!-- Rebuild the JAPE file parser --> + <target name="jape"> + <java classname="javacc" fork="true" spawn="false" dir="${srcDir}/gate/jape/parser"> + <classpath> + <pathelement location="${buildDir}/lib/javacc.jar" /> + </classpath> + <arg value="ParseCpsl.jj" /> + </java> + + <java classname="jjdoc" fork="true" spawn="false" dir="${srcDir}/gate/jape/parser"> + <classpath> + <pathelement location="${buildDir}/lib/javacc.jar" /> + </classpath> + <arg value="ParseCpsl.jj" /> + </java> + + <move file="${srcDir}/gate/jape/parser/ParseCpsl.html" toFile="${srcDir}/gate/jape/parser/ParseCpslPlain.html" /> + </target> + + <!-- + Regenerate plugins.html. If perl is not on your path or you need to use a + non-default perl interpreter, set -Dperl.bin=/path/to/perl on the ant command + line. + + Notes: + 1) All plugins need to be compiled and in a state where they could be + loaded into GATE from the plugin manager. Most plugins are handled by + running "bin/ant all" but you will need to build SUPPLE manually. + --> + <property name="perl.bin" value="perl" /> + + <target name="plugins.html" depends="plugins.build"> + <typedef resource="gate/util/ant/antlib.xml" classpathref="run.class.path" /> + <!-- clean out previous run --> + <delete dir="build/plugins" /> + <mkdir dir="build/plugins" /> + + <!-- expand the plugin creole.xml files with information from any + @CreoleResource annotations on their resources --> + <expandcreoles todir="build/plugins" gatehome="${basedir}"> + <fileset dir="plugins" includes="Tools/creole.xml" /> + <fileset dir="plugins" includes="*/creole.xml" excludes="Tools/creole.xml" /> + </expandcreoles> + + <exec dir="bin" executable="${perl.bin}"> + <arg value="-CDS" /> + <arg file="bin/plugins-info-to-HTML.pl" /> + <arg value="runningFromAnt" /> + </exec> + </target> + +</project> Copied: gate/branches/sawdust2/gate-core/gate.exe (from rev 19498, gate/branches/sawdust2/gate.exe) =================================================================== (Binary files differ) Copied: gate/branches/sawdust2/gate-core/gate.l4j.ini (from rev 19498, gate/branches/sawdust2/gate.l4j.ini) =================================================================== --- gate/branches/sawdust2/gate-core/gate.l4j.ini (rev 0) +++ gate/branches/sawdust2/gate-core/gate.l4j.ini 2016-08-11 17:35:29 UTC (rev 19499) @@ -0,0 +1,2 @@ +-Xmx1G +-Xms200m Added: gate/branches/sawdust2/gate-core/gate.xml =================================================================== --- gate/branches/sawdust2/gate-core/gate.xml (rev 0) +++ gate/branches/sawdust2/gate-core/gate.xml 2016-08-11 17:35:29 UTC (rev 19499) @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<!-- gate.xml --> +<!-- $Id: gate.xml 18850 2015-08-04 14:44:01Z domrout $ --> + +<!-- any entries in this file will be processed at Gate.init() + time - i.e. will appear in every GATE invocation --> + +<GATE> + +<GATECONFIG Save_options_on_exit="true" Save_session_on_exit="true" Toolbar_Text="true" /> + + +</GATE> Copied: gate/branches/sawdust2/gate-core/licence.html (from rev 19498, gate/branches/sawdust2/licence.html) =================================================================== --- gate/branches/sawdust2/gate-core/licence.html (rev 0) +++ gate/branches/sawdust2/gate-core/licence.html 2016-08-11 17:35:29 UTC (rev 19499) @@ -0,0 +1,188 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> + +<html><head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> + <title>GNU Lesser General Public License - GNU Project - Free Software Foundation (FSF)</title> + <link rel="alternate" type="application/rdf+xml" + href="http://www.gnu.org/licenses/lgpl-3.0.rdf" /> +</head> +<body> +<h3 style="text-align: center;">GNU LESSER GENERAL PUBLIC LICENSE</h3> +<p style="text-align: center;">Version 3, 29 June 2007</p> + +<p>Copyright © 2007 Free Software Foundation, Inc. + <<a href="http://fsf.org/">http://fsf.org/</a>></p><p> + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed.</p> + +<p>This version of the GNU Lesser General Public License incorporates +the terms and conditions of version 3 of the GNU General Public +License, supplemented by the additional permissions listed below.</p> + +<h4><a name="section0"></a>0. Additional Definitions.</h4> + +<p>As used herein, “this License” refers to version 3 of the GNU Lesser +General Public License, and the “GNU GPL” refers to version 3 of the GNU +General Public License.</p> + +<p>“The Library” refers to a covered work governed by this License, +other than an Application or a Combined Work as defined below.</p> + +<p>An “Application” is any work that makes use of an interface provided +by the Library, but which is not otherwise based on the Library. +Defining a subclass of a class defined by the Library is deemed a mode +of using an interface provided by the Library.</p> + +<p>A “Combined Work” is a work produced by combining or linking an +Application with the Library. The particular version of the Library +with which the Combined Work was made is also called the “Linked +Version”.</p> + +<p>The “Minimal Corresponding Source” for a Combined Work means the +Corresponding Source for the Combined Work, excluding any source code +for portions of the Combined Work that, considered in isolation, are +based on the Application, and not on the Linked Version.</p> + +<p>The “Corresponding Application Code” for a Combined Work means the +object code and/or source code for the Application, including any data +and utility programs needed for reproducing the Combined Work from the +Application, but excluding the System Libraries of the Combined Work.</p> + +<h4><a name="section1"></a>1. Exception to Section 3 of the GNU GPL.</h4> + +<p>You may convey a covered work under sections 3 and 4 of this License +without being bound by section 3 of the GNU GPL.</p> + +<h4><a name="section2"></a>2. Conveying Modified Versions.</h4> + +<p>If you modify a copy of the Library, and, in your modifications, a +facility refers to a function or data to be supplied by an Application +that uses the facility (other than as an argument passed when the +facility is invoked), then you may convey a copy of the modified +version:</p> + +<ul> +<li>a) under this License, provided that you make a good faith effort to + ensure that, in the event an Application does not supply the + function or data, the facility still operates, and performs + whatever part of its purpose remains meaningful, or</li> + +<li>b) under the GNU GPL, with none of the additional permissions of + this License applicable to that copy.</li> +</ul> + +<h4><a name="section3"></a>3. Object Code Incorporating Material from Library Header Files.</h4> + +<p>The object code form of an Application may incorporate material from +a header file that is part of the Library. You may convey such object +code under terms of your choice, provided that, if the incorporated +material is not limited to numerical parameters, data structure +layouts and accessors, or small macros, inline functions and templates +(ten or fewer lines in length), you do both of the following:</p> + +<ul> +<li>a) Give prominent notice with each copy of the object code that the + Library is used in it and that the Library and its use are + covered by this License.</li> + +<li>b) Accompany the object code with a copy of the GNU GPL and this license + document.</li> +</ul> + +<h4><a name="section4"></a>4. Combined Works.</h4> + +<p>You may convey a Combined Work under terms of your choice that, +taken together, effectively do not restrict modification of the +portions of the Library contained in the Combined Work and reverse +engineering for debugging such modifications, if you also do each of +the following:</p> + +<ul> +<li>a) Give prominent notice with each copy of the Combined Work that + the Library is used in it and that the Library and its use are + covered by this License.</li> + +<li>b) Accompany the Combined Work with a copy of the GNU GPL and this license + document.</li> + +<li>c) For a Combined Work that displays copyright notices during + execution, include the copyright notice for the Library among + these notices, as well as a reference directing the user to the + copies of the GNU GPL and this license document.</li> + +<li>d) Do one of the following: + +<ul> +<li>0) Convey the Minimal Corresponding Source under the terms of this + License, and the Corresponding Application Code in a form + suitable for, and under terms that permit, the user to + recombine or relink the Application with a modified version of + the Linked Version to produce a modified Combined Work, in the + manner specified by section 6 of the GNU GPL for conveying + Corresponding Source.</li> + +<li>1) Use a suitable shared library mechanism for linking with the + Library. A suitable mechanism is one that (a) uses at run time + a copy of the Library already present on the user's computer + system, and (b) will operate properly with a modified version + of the Library that is interface-compatible with the Linked + Version.</li> + +</ul></li> + +<li>e) Provide Installation Information, but only if you would otherwise + be required to provide such information under section 6 of the + GNU GPL, and only to the extent that such information is + necessary to install and execute a modified version of the + Combined Work produced by recombining or relinking the + Application with a modified version of the Linked Version. (If + you use option 4d0, the Installation Information must accompany + the Minimal Corresponding Source and Corresponding Application + Code. If you use option 4d1, you must provide the Installation + Information in the manner specified by section 6 of the GNU GPL + for conveying Corresponding Source.)</li> +</ul> + +<h4><a name="section5"></a>5. Combined Libraries.</h4> + +<p>You may place library facilities that are a work based on the +Library side by side in a single library together with other library +facilities that are not Applications and are not covered by this +License, and convey such a combined library under terms of your +choice, if you do both of the following:</p> + +<ul> +<li>a) Accompany the combined library with a copy of the same work based + on the Library, uncombined with any other library facilities, + conveyed under the terms of this License.</li> + +<li>b) Give prominent notice with the combined library that part of it + is a work based on the Library, and explaining where to find the + accompanying uncombined form of the same work.</li> + +</ul> + +<h4><a name="section6"></a>6. Revised Versions of the GNU Lesser General Public License.</h4> + +<p>The Free Software Foundation may publish revised and/or new versions +of the GNU Lesser General Public License from time to time. Such new +versions will be similar in spirit to the present version, but may +differ in detail to address new problems or concerns.</p> + +<p>Each version is given a distinguishing version number. If the +Library as you received it specifies that a certain numbered version +of the GNU Lesser General Public License “or any later version” +applies to it, you have the option of following the terms and +conditions either of that published version or of any later version +published by the Free Software Foundation. If the Library as you +received it does not specify a version number of the GNU Lesser +General Public License, you may choose any version of the GNU Lesser +General Public License ever published by the Free Software Foundation.</p> + +<p>If the Library as you received it specifies that a proxy can decide +whether future versions of the GNU Lesser General Public License shall +apply, that proxy's public statement of acceptance of any version is +permanent authorization for you to choose that version for the +Library.</p> + +</body></html> Copied: gate/branches/sawdust2/gate-core/pom.xml (from rev 19498, gate/branches/sawdust2/pom.xml) =================================================================== --- gate/branches/sawdust2/gate-core/pom.xml (rev 0) +++ gate/branches/sawdust2/gate-core/pom.xml 2016-08-11 17:35:29 UTC (rev 19499) @@ -0,0 +1,606 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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> + + <name>GATE Core</name> + + <groupId>uk.ac.gate</groupId> + <artifactId>gate-core</artifactId> + <version>9.0-SNAPSHOT</version> + + <description> + GATE - general architecture for text engineering - is open source + software capable of solving almost any text processing problem. This + artifact enables you to embed the core GATE Embedded with its essential + dependencies. You will able to use the GATE Embedded API and load and + store GATE XML documents. This artifact is the perfect dependency for + CREOLE plugins or for applications that need to customize the GATE + dependencies due to conflict with their own dependencies or for lower + footprint. + </description> + <url>http://gate.ac.uk/</url> + + <organization> + <name>GATE</name> + <url>http://gate.ac.uk</url> + </organization> + + <developers> + <developer> + <id>gate-team</id> + <name>GATE Team</name> + <email>gate-develop...@lists.sourceforge.net</email> + </developer> + </developers> + + <licenses> + <license> + <name>GNU Lesser General Public License (LGPL), Version 3</name> + <url>http://www.gnu.org/licenses/lgpl.html</url> + <distribution>repo</distribution> + </license> + </licenses> + + <mailingLists> + <mailingList> + <name>GATE Users</name> + <post>gate-us...@lists.sourceforge.net</post> + <archive>http://news.gmane.org/gmane.comp.ai.gate.general</archive> + </mailingList> + </mailingLists> + + <scm> + <connection> + scm:svn:http://svn.code.sf.net/p/gate/code/gate/trunk</connection> + <developerConnection> + scm:svn:svn+ssh://svn.code.sf.net/p/gate/code/gate/trunk</developerConnection> + <url>http://sourceforge.net/p/gate/code/HEAD/tree/gate/trunk</url> + </scm> + + <packaging>jar</packaging> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.compiler.source>1.8</maven.compiler.source> + <maven.compiler.target>1.8</maven.compiler.target> + </properties> + + <dependencies> + <!-- things that we repackage under an alternative package name --> + <dependency> + <groupId>uk.ac.gate</groupId> + <artifactId>gate-asm</artifactId> + <version>5.0.3</version> + <scope>compile</scope> + </dependency> + + <!-- aether and it's dependencies for loading CREOLE plugins via Maven --> + <dependency> + <groupId>org.eclipse.aether</groupId> + <artifactId>aether-api</artifactId> + <version>1.1.0</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.eclipse.aether</groupId> + <artifactId>aether-util</artifactId> + <version>1.1.0</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.eclipse.aether</groupId> + <artifactId>aether-impl</artifactId> + <version>1.1.0</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.eclipse.aether</groupId> + <artifactId>aether-connector-basic</artifactId> + <version>1.1.0</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.eclipse.aether</groupId> + <artifactId>aether-transport-file</artifactId> + <version>1.1.0</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.eclipse.aether</groupId> + <artifactId>aether-transport-http</artifactId> + <version>1.1.0</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.eclipse.aether</groupId> + <artifactId>aether-transport-wagon</artifactId> + <version>1.1.0</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-aether-provider</artifactId> + <version>3.3.9</version> + <scope>compile</scope> + </dependency> + + <dependency> + <groupId>org.apache.maven.wagon</groupId> + <artifactId>wagon-ssh</artifactId> + <version>2.10</version> + <scope>compile</scope> + </dependency> + + <!-- - If this is omitted, we somehow get a ClassNotFoundException for - + org.codehaus.plexus.util.xml.pull.EntityReplacementMap despite the - dependency + appearing with scope compile in the dependency hierarchy... --> + <!-- <dependency> + <groupId>org.codehaus.plexus</groupId> + <artifactId>plexus-utils</artifactId> + <version>3.0.22</version> + <scope>compile</scope> + </dependency> --> + + <dependency> + <groupId>org.apache.maven</groupId> + <artifactId>maven-settings-builder</artifactId> + <version>3.3.9</version> + <scope>compile</scope> + </dependency> + + <!-- needed to ensure the same version across configurations --> + <dependency> + <groupId>commons-logging</groupId> + <artifactId>commons-logging</artifactId> + <version>1.1.3</version> + <scope>compile</scope> + </dependency> + + <!-- used for escaping strings in the Annotation Stack and elsewhere --> + <dependency> + <groupId>commons-lang</groupId> + <artifactId>commons-lang</artifactId> + <version>2.6</version> + <scope>compile</scope> + </dependency> + + <!-- used to load files into String variables as well as helping to close + streams etc. --> + <dependency> + <groupId>commons-io</groupId> + <artifactId>commons-io</artifactId> + <version>2.4</version> + <scope>compile</scope> + </dependency> + + <!-- the logging framework GATE uses --> + <dependency> + <groupId>log4j</groupId> + <artifactId>log4j</artifactId> + <version>1.2.17</version> + <scope>compile</scope> + </dependency> + + <!-- used extensively throughout GATE for processing XML files --> + <dependency> + <groupId>org.jdom</groupId> + <artifactId>jdom</artifactId> + <version>1.1.3</version> + <scope>compile</scope> + </dependency> + + <!-- used to parse and load HTML documents into GATE --> + <dependency> + <groupId>net.sourceforge.nekohtml</groupId> + <artifactId>nekohtml</artifactId> + <version>1.9.14</version> + <scope>compile</scope> + <exclusions> + <!-- exclude stuff that is now part of Java --> + <exclusion> + <groupId>xml-apis</groupId> + <artifactId>xml-apis</artifactId> + </exclusion> + </exclusions> + </dependency> + + <!-- the actual Tika pased format parsers --> + <dependency> + <groupId>org.apache.tika</groupId> + <artifactId>tika-parsers</artifactId> + <version>1.7</version> + <scope>compile</scope> + + <exclusions> + <!-- we don't currently use the RSS/ATOM aspects of Tika so we don't + need ROME --> + <exclusion> + <groupId>rome</groupId> + <artifactId>rome</artifactId> + </exclusion> + + <!-- we don't currently support netCDF documents so we don't need this --> + <exclusion> + <groupId>edu.ucar</groupId> + <artifactId>netcdf</artifactId> + </exclusion> + + <!-- we don't use Tika to parse HTML so we don't need it's HTML parser --> + <exclusion> + <groupId>org.ccil.cowan.tagsoup</groupId> + <artifactId>tagsoup</artifactId> + </exclusion> + + <!-- we don't use Tika to parse Java classes so we don't need ASM --> + <exclusion> + <groupId>asm</groupId> + <artifactId>asm</artifactId> + </exclusion> + <exclusion> + <groupId>org.ow2.asm</groupId> + <artifactId>asm-debug-all</artifactId> + </exclusion> + + <!-- we aren't using any of the GUI aspects of tika so we don't need + to be able to do syntax highlighting --> + <exclusion> + <groupId>com.uwyn</groupId> + <artifactId>jhighlight</artifactId> + </exclusion> + + <!-- we exclude boilerpipe as it isn't required for Tika given the way + we currently configure it, and it contains a copy of NekoHTML which causes + HTML parsing in GATE to change, and the tests to break --> + <exclusion> + <groupId>de.l3s.boilerpipe</groupId> + <artifactId>boilerpipe</artifactId> + </exclusion> + + <!-- we don't handle audio files so we don't need the following --> + <exclusion> + <groupId>org.gagravarr</groupId> + <artifactId>vorbis-java-tika</artifactId> + </exclusion> + <exclusion> + <groupId>org.gagravarr</groupId> + <artifactId>vorbis-java-core</artifactId> + </exclusion> + <exclusion> + <groupId>com.googlecode.mp4parser</groupId> + <artifactId>isoparser</artifactId> + </exclusion> + + <!-- no idea what these are used for internally to tika but we don't + seem to need them --> + <exclusion> + <groupId>com.googlecode.juniversalchardet</groupId> + <artifactId>juniversalchardet</artifactId> + </exclusion> + <exclusion> + <groupId>org.tukaani</groupId> + <artifactId>xz</artifactId> + </exclusion> + <exclusion> + <groupId>com.adobe.xmp</groupId> + <artifactId>xmpcore</artifactId> + </exclusion> + + <!-- exclude stuff that is part of Java 6 core --> + <exclusion> + <groupId>org.apache.geronimo.specs</groupId> + <artifactId>geronimo-stax-api_1.0_spec</artifactId> + </exclusion> + + <!-- we are not handling Matlab files so we don't need this --> + <exclusion> + <groupId>net.sourceforge.jmatio</groupId> + <artifactId>jmatio</artifactId> + </exclusion> + + <!-- we are most certainly not supporting the parsing of Outlook PST + files! --> + <exclusion> + <groupId>com.pff</groupId> + <artifactId>java-libpst</artifactId> + </exclusion> + + <!-- we don't support images so we don't need their metadata --> + <exclusion> + <groupId>com.drewnoakes</groupId> + <artifactId>metadata-extractor</artifactId> + </exclusion> + + </exclusions> + + </dependency> + + <!-- We use Woodstox instead of the default Sun StAX implementation as + it seems to behave better. NOTE: I don't know if this is still the case but + it seems safer not to break things! --> + <dependency> + <groupId>org.codehaus.woodstox</groupId> + <artifactId>woodstox-core-lgpl</artifactId> + <version>4.2.0</version> + <scope>compile</scope> + <exclusions> + <!-- exclude stuff that is part of core Java --> + <exclusion> + <groupId>javax.xml.stream</groupId> + <artifactId>stax-api</artifactId> + </exclusion> + </exclusions> + </dependency> + + <!-- we need Ivy for creole plugins which use the IVY element. Note this + will be deprecated at some future point --> + <dependency> + <groupId>org.apache.ivy</groupId> + <artifactId>ivy</artifactId> + <version>2.3.0</version> + <scope>compile</scope> + </dependency> + + <!-- ANT is used internally by GATE for some tasks, such as the export + for GATECloud.net --> + <dependency> + <groupId>org.apache.ant</groupId> + <artifactId>ant</artifactId> + <version>1.9.3</version> + <scope>compile</scope> + </dependency> + + <!--required for loading and saving .gapp files and by some plugins. we + pull in the full XPP3 so we only need XStream's master artifact --> + <dependency> + <groupId>com.thoughtworks.xstream</groupId> + <artifactId>xstream</artifactId> + <version>1.4.7</version> + <scope>compile</scope> + <exclusions> + <!-- we will pull in the full xpp3 so we don't need these --> + <exclusion> + <groupId>xmlpull</groupId> + <artifactId>xmlpull</artifactId> + </exclusion> + <exclusion> + <groupId>xpp3</groupId> + <artifactId>xpp3_min</artifactId> + </exclusion> + </exclusions> + </dependency> + + <!-- XPP3 provides the actual implementation under pinning our use of XStream --> + <dependency> + <groupId>xpp3</groupId> + <artifactId>xpp3</artifactId> + <version>1.1.4c</version> + <scope>runtime</scope> + </dependency> + + <!-- needed by CreoleAnnotationHandler at runtime --> + <dependency> + <groupId>jaxen</groupId> + <artifactId>jaxen</artifactId> + <version>1.1.6</version> + <scope>runtime</scope> + <exclusions> + <!-- we don't need any of these dependencies --> + <exclusion> + <groupId>xml-apis</groupId> + <artifactId>xml-apis</artifactId> + </exclusion> + <exclusion> + <groupId>xerces</groupId> + <artifactId>xercesImpl</artifactId> + </exclusion> + <exclusion> + <groupId>xom</groupId> + <artifactId>xom</artifactId> + </exclusion> + <exclusion> + <groupId>jdom</groupId> + <artifactId>jdom</artifactId> + </exclusion> + </exclusions> + </dependency> + + <!-- used to parse command line options passed to the GATE GUI --> + <dependency> + <groupId>gnu.getopt</groupId> + <artifactId>java-getopt</artifactId> + <version>1.0.13</version> + <scope>compile</scope> + </dependency> + + <!-- required for Spring Framework support in GATE --> + <dependency> + <groupId>org.springframework</groupId> + <artifactId>spring-aop</artifactId> + <version>2.5.6.SEC01</version> + <scope>compile</scope> + </dependency> + + <!-- required for outputting documents as JSON --> + <dependency> + <groupId>com.fasterxml.jackson.core</groupId> + <artifactId>jackson-databind</artifactId> + <version>2.3.2</version> + <scope>compile</scope> + </dependency> + + <!-- required for the new controller metadata viewer --> + <dependency> + <groupId>org.xhtmlrenderer</groupId> + <artifactId>flying-saucer-core</artifactId> + <version>9.0.4</version> + <scope>compile</scope> + </dependency> + + <!-- Used for comparing XML files during some of the GATE tests --> + <dependency> + <groupId>xmlunit</groupId> + <artifactId>xmlunit</artifactId> + <version>1.5</version> + <scope>test</scope> + </dependency> + + <!-- Used for date parsing and formatting --> + <dependency> + <groupId>joda-time</groupId> + <artifactId>joda-time</artifactId> + <version>2.9.2</version> + <scope>compile</scope> + </dependency> + + <!-- Used for testing GATE --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.11</version> + <scope>test</scope> + </dependency> + + </dependencies> + + + <build> + <plugins> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.7.6.201602180812</version> + <executions> + <execution> + <id>default-prepare-agent</id> + <goals> + <goal>prepare-agent</goal> + </goals> + </execution> + <execution> + <id>default-report</id> + <phase>prepare-package</phase> + <goals> + <goal>report</goal> + </goals> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <version>2.10</version> + <executions> + <execution> + <id>copy-dependencies</id> + <phase>package</phase> + <goals> + <goal>copy-dependencies</goal> + </goals> + <configuration> + <outputDirectory>${project.basedir}/lib</outputDirectory> + <overWriteReleases>false</overWriteReleases> + <overWriteSnapshots>false</overWriteSnapshots> + <overWriteIfNewer>true</overWriteIfNewer> + </configuration> + </execution> + </executions> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.9.1</version> + <configuration> + <!-- in theory we should only need one of these and it would be nice to get + rid of them alltogether but that's for another day --> + <failOnError>false</failOnError> + <additionalparam>-Xdoclint:none</additionalparam> + </configuration> + </plugin> + </plugins> + + <resources> + <!-- this adds the version number into the right file in the jar --> + <resource> + <directory>src/main/resources</directory> + <filtering>true</filtering> + <includes> + <include>gate/resources/version.txt</include> + </includes> + </resource> + + <!-- copy all the other resources without altering them so we don't accidentally + corrupt any binary formats --> + <resource> + <directory>src/main/resources</directory> + <filtering>false</filtering> + <excludes> + <exclude>gate/resources/version.txt</exclude> + </excludes> + </resource> + </resources> + </build> + + <reporting> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-surefire-report-plugin</artifactId> + <version>2.19.1</version> + </plugin> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>findbugs-maven-plugin</artifactId> + <version>3.0.3</version> + <configuration> + <xmlOutput>true</xmlOutput> + <effort>Max</effort> + <threshold>Low</threshold> + </configuration> + </plugin> + <plugin> + <groupId>org.jacoco</groupId> + <artifactId>jacoco-maven-plugin</artifactId> + <version>0.7.6.201602180812</version> + <configuration> + <excludes> + <!-- this excludes known GUI code from the code coverage results as + we know we aren't testing them so will likely have a 0% coverage --> + <exclude>**/gui/**/*</exclude> + <exclude>**/swing/**/*</exclude> + </excludes> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-project-info-reports-plugin</artifactId> + <version>2.9</version> + <configuration> + <dependencyLocationsEnabled>false</dependencyLocationsEnabled> + <systemPropertyVariables> + <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> + </systemPropertyVariables> + </configuration> + </plugin> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>2.9.1</version> + <configuration> + <!-- in theory we should only need one of these and it would be nice to get + rid of them alltogether but that's for another day --> + <failOnError>false</failOnError> + <additionalparam>-Xdoclint:none</additionalparam> + </configuration> + </plugin> + </plugins> + </reporting> + +</project> Modified: gate/branches/sawdust2/gate-parent/pom.xml =================================================================== --- gate/branches/sawdust2/gate-parent/pom.xml 2016-08-11 11:43:27 UTC (rev 19498) +++ gate/branches/sawdust2/gate-parent/pom.xml 2016-08-11 17:35:29 UTC (rev 19499) @@ -41,8 +41,8 @@ </dependencies> <modules> - <module>../</module> - <module>../build</module> + <module>../gate-core</module> + <module>../gate-core/build</module> <module>../plugins</module> </modules> </project> Deleted: gate/branches/sawdust2/gate.exe =================================================================== (Binary files differ) Deleted: gate/branches/sawdust2/gate.l4j.ini =================================================================== --- gate/branches/sawdust2/gate.l4j.ini 2016-08-11 11:43:27 UTC (rev 19498) +++ gate/branches/sawdust2/gate.l4j.ini 2016-08-11 17:35:29 UTC (rev 19499) @@ -1,2 +0,0 @@ --Xmx1G --Xms200m Deleted: gate/branches/sawdust2/gate.xml =================================================================== --- gate/branches/sawdust2/gate.xml 2016-08-11 11:43:27 UTC (rev 19498) +++ gate/branches/sawdust2/gate.xml 2016-08-11 17:35:29 UTC (rev 19499) @@ -1,13 +0,0 @@ -<?xml version="1.0"?> -<!-- gate.xml --> -<!-- $Id$ --> - -<!-- any entries in this file will be processed at Gate.init() - time - i.e. will appear in every GATE invocation --> - -<GATE> - -<GATECONFIG Save_options_on_exit="true" Save_session_on_exit="true" Toolbar_Text="true" /> - - -</GATE> Deleted: gate/branches/sawdust2/index.html =================================================================== --- gate/branches/sawdust2/index.html 2016-08-11 11:43:27 UTC (rev 19498) +++ gate/branches/sawdust2/index.html 2016-08-11 17:35:29 UTC (rev 19499) @@ -1,46 +0,0 @@ -<HTML> -<HEAD> - <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> - <TITLE>GATE - a General Architecture for Text Engineering</TITLE> -</HEAD> -<BODY TEXT="#000000" BGCOLOR="#FFFFFF"> - -<H1> -<A HREF="http://gate.ac.uk/"> -<IMG SRC="doc/gateHeader.gif" ALT="GATE" HEIGHT=76 WIDTH=356 BORDER="0"></A> -</H1> - -<H2>GATE documentation</H2> - -<P> -Up-to-date versions of the documentation are available at -<A HREF=http://gate.ac.uk/>http://gate.ac.uk/</A>: -<UL> -<LI> -<A HREF=http://gate.ac.uk/gate/doc/>the software documentation</A> -<LI> -<A HREF=http://gate.ac.uk/userguide/>the User Guide (HTML)</A> -</UL> - -<P> -Local copies: -<UL> -<LI> -<A HREF=doc/index.html>the software documentation</A> -<LI> -<A HREF="tao.pdf">the User Guide (PDF)</A> -</UL> - - -<H2>GATE licencing</H2> - -<P> -This software is licenced under the -<A HREF="licence.html">GNU Library General Public Licence</A>. - - -<!-- $Id$ ---> -</BODY> -</HTML> - - Deleted: gate/branches/sawdust2/licence.html =================================================================== --- gate/branches/sawdust2/licence.html 2016-08-11 11:43:27 UTC (rev 19498) +++ gate/branches/sawdust2/licence.html 2016-08-11 17:35:29 UTC (rev 19499) @@ -1,188 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> - -<html><head> - <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> - <title>GNU Lesser General Public License - GNU Project - Free Software Foundation (FSF)</title> - <link rel="alternate" type="application/rdf+xml" - href="http://www.gnu.org/licenses/lgpl-3.0.rdf" /> -</head> -<body> -<h3 style="text-align: center;">GNU LESSER GENERAL PUBLIC LICENSE</h3> -<p style="text-align: center;">Version 3, 29 June 2007</p> - -<p>Copyright © 2007 Free Software Foundation, Inc. - <<a href="http://fsf.org/">http://fsf.org/</a>></p><p> - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed.</p> - -<p>This version of the GNU Lesser General Public License incorporates -the terms and conditions of version 3 of the GNU General Public -License, supplemented by the additional permissions listed below.</p> - -<h4><a name="section0"></a>0. Additional Definitions.</h4> - -<p>As used herein, “this License” refers to version 3 of the GNU Lesser -General Public License, and the “GNU GPL” refers to version 3 of the GNU -General Public License.</p> - -<p>“The Library” refers to a covered work governed by this License, -other than an Application or a Combined Work as defined below.</p> - -<p>An “Application” is any work that makes use of an interface provided -by the Library, but which is not otherwise based on the Library. -Defining a subclass of a class defined by the Library is deemed a mode -of using an interface provided by the Library.</p> - -<p>A “Combined Work” is a work produced by combining or linking an -Application with the Library. The particular version of the Library -with which the Combined Work was made is also called the “Linked -Version”.</p> - -<p>The “Minimal Corresponding Source” for a Combined Work means the -Corresponding Source for the Combined Work, excluding any source code -for portions of the Combined Work that, considered in isolation, are -based on the Application, and not on the Linked Version.</p> - -<p>The “Corresponding Application Code” for a Combined Work means the -object code and/or source code for the Application, including any data -and utility programs needed for reproducing the Combined Work from the -Application, but excluding the System Libraries of the Combined Work.</p> - -<h4><a name="section1"></a>1. Exception to Section 3 of the GNU GPL.</h4> - -<p>You may convey a covered work under sections 3 and 4 of this License -without being bound by section 3 of the GNU GPL.</p> - -<h4><a name="section2"></a>2. Conveying Modified Versions.</h4> - -<p>If you modify a copy of the Library, and, in your modifications, a -facility refers to a function or data to be supplied by an Application -that uses the facility (other than as an argument passed when the -facility is invoked), then you may convey a copy of the modified -version:</p> - -<ul> -<li>a) under this License, provided that you make a good faith effort to - ensure that, in the event an Application does not supply the - function or data, the facility still operates, and performs - whatever part of its purpose remains meaningful, or</li> - -<li>b) under the GNU GPL, with none of the additional permissions of - this License applicable to that copy.</li> -</ul> - -<h4><a name="section3"></a>3. Object Code Incorporating Material from Library Header Files.</h4> - -<p>The object code form of an Application may incorporate material from -a header file that is part of the Library. You may convey such object -code under terms of your choice, provided that, if the incorporated -material is not limited to numerical parameters, data structure -layouts and accessors, or small macros, inline functions and templates -(ten or fewer lines in length), you do both of the following:</p> - -<ul> -<li>a) Give prominent notice with each copy of the object code that the - Library is used in it and that the Library and its use are - covered by this License.</li> - -<li>b) Accompany the object code with a copy of the GNU GPL and this license - document.</li> -</ul> - -<h4><a name="section4"></a>4. Combined Works.</h4> - -<p>You may convey a Combined Work under terms of your choice that, -taken together, effectively do not restrict modification of the -portions of the Library contained in the Combined Work and reverse -engineering for debugging such modifications, if you also do each of -the following:</p> - -<ul> -<li>a) Give prominent notice with each copy of the Combined Work that - the Library is used in it and that the Library and its use are - covered by this License.</li> - -<li>b) Accompany the Combined Work with a copy of the GNU GPL and this license - document.</li> - -<li>c) For a Combined Work that displays copyright notices during - execution, include the copyright notice for the Library among - these notices, as well as a reference directing the user to the - copies of the GNU GPL and this license document.</li> - -<li>d) Do one of the following: - -<ul> -<li>0) Convey the Minimal Corresponding Source under the terms of this - License, and the Corresponding Application Code in a form - suitable for, and under terms that permit, the user to - recombine or relink the Application with a modified version of - the Linked Version to produce a modified Combined Work, in the - manner specified by section 6 of the GNU GPL for conveying - Corresponding Source.</li> - -<li>1) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (a) uses at run time - a copy of the Library already present on the user's computer - system, and (b) will operate properly with a modified version - of the Library that is interface-compatible with the Linked - Version.</li> - -</ul></li> - -<li>e) Provide Installation Information, but only if you would otherwise - be required to provide such information under section 6 of the - GNU GPL, and only to the extent that such information is - necessary to install and execute a modified version of the - Combined Work produced by recombining or relinking the - Application with a modified version of the Linked Version. (If - you use option 4d0, the Installation Information must accompany - the Minimal Corresponding Source and Corresponding Application - Code. If you use option 4d1, you must provide the Installation - Information in the manner specified by section 6 of the GNU GPL - for conveying Corresponding Source.)</li> -</ul> - -<h4><a name="section5"></a>5. Combined Libraries.</h4> - -<p>You may place library facilities that are a work based on the -Library side by side in a single library together with other library -facilities that are not Applications and are not covered by this -License, and convey such a combined library under terms of your -choice, if you do both of the following:</p> - -<ul> -<li>a) Accompany the combined library with a copy of the same work based - on the Library, uncombined with any other library facilities, - conveyed under the terms of this License.</li> - -<li>b) Give prominent notice with the combined library that part of it - is a work based on the Library, and explaining where to find the - accompanying uncombined form of the same work.</li> - -</ul> - -<h4><a name="section6"></a>6. Revised Versions of the GNU Lesser General Public License.</h4> - -<p>The Free Software Foundation may publish revised and/or new versions -of the GNU Lesser General Public License from time to time. Such new -versions will be similar in spirit to the present version, but may -differ in detail to address new problems or concerns.</p> - -<p>Each version is given a distinguishing version number. If the -Library as you received it specifies that a certain numbered version -of the GNU Lesser General Public License “or any later version” -applies to it, you have the option of following the terms and -conditions either of that published version or of any later version -published by the Free Software Foundation. If the Library as you -received it does not specify a version number of the GNU Lesser -General Public License, you may choose any version of the GNU Lesser -General Public License ever published by the Free Software Foundation.</p> - -<p>If the Library as you received it specifies that a proxy can decide -whether future versions of the GNU Lesser General Public License shall -apply, that proxy's public statement of acceptance of any version is -permanent authorization for you to choose that version for the -Library.</p> - -</body></html> Deleted: gate/branches/sawdust2/pom.xml =================================================================== --- gate/branches/sawdust2/pom.xml 2016-08-11 11:43:27 UTC (rev 19498) +++ gate/branches/sawdust2/pom.xml 2016-08-11 17:35:29 UTC (rev 19499) @@ -1,606 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<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> - - <name>GATE Core</name> - - <groupId>uk.ac.gate</groupId> - <artifactId>gate-core</artifactId> - <version>9.0-SNAPSHOT</version> - - <description> - GATE - general architecture for text engineering - is open source - software capable of solving almost any text processing problem. This - artifact enables you to embed the core GATE Embedded with its essential - dependencies. You will able to use the GATE Embedded API and load and - store GATE XML documents. This artifact is the perfect dependency for - CREOLE plugins or for applications that need to customize the GATE - dependencies due to conflict with their own dependencies or for lower - footprint. - </description> - <url>http://gate.ac.uk/</url> - - <organization> - <name>GATE</name> - <url>http://gate.ac.uk</url> - </organization> - - <developers> - <developer> - <id>gate-team</id> - <name>GATE Team</name> - <email>gate-develop...@lists.sourceforge.net</email> - </developer> - </developers> - - <licenses> - <license> - <name>GNU Lesser General Public License (LGPL), Version 3</name> - <url>http://www.gnu.org/licenses/lgpl.html</url> - <distribution>repo</distribution> - </license> - </licenses> - - <mailingLists> - <mailingList> - <name>GATE Users</name> - <post>gate-us...@lists.sourceforge.net</post> - <archive>http://news.gmane.org/gmane.comp.ai.gate.general</archive> - </mailingList> - </mailingLists> - - <scm> - <connection> - scm:svn:http://svn.code.sf.net/p/gate/code/gate/trunk</connection> - <developerConnection> - scm:svn:svn+ssh://svn.code.sf.net/p/gate/code/gate/trunk</developerConnection> - <url>http://sourceforge.net/p/gate/code/HEAD/tree/gate/trunk</url> - </scm> - - <packaging>jar</packaging> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <maven.compiler.source>1.8</maven.compiler.source> - <maven.compiler.target>1.8</maven.compiler.target> - </properties> - - <dependencies> - <!-- things that we repackage under an alternative package name --> - <dependency> - <groupId>uk.ac.gate</groupId> - <artifactId>gate-asm</artifactId> - <version>5.0.3</version> - <scope>compile</scope> - </dependency> - - <!-- aether and it's dependencies for loading CREOLE plugins via Maven --> - <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-api</artifactId> - <version>1.1.0</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-util</artifactId> - <version>1.1.0</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-impl</artifactId> - <version>1.1.0</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-connector-basic</artifactId> - <version>1.1.0</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-transport-file</artifactId> - <version>1.1.0</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-transport-http</artifactId> - <version>1.1.0</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>org.eclipse.aether</groupId> - <artifactId>aether-transport-wagon</artifactId> - <version>1.1.0</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-aether-provider</artifactId> - <version>3.3.9</version> - <scope>compile</scope> - </dependency> - - <dependency> - <groupId>org.apache.maven.wagon</groupId> - <artifactId>wagon-ssh</artifactId> - <version>2.10</version> - <scope>compile</scope> - </dependency> - - <!-- - If this is omitted, we somehow get a ClassNotFoundException for - - org.codehaus.plexus.util.xml.pull.EntityReplacementMap despite the - dependency - appearing with scope compile in the dependency hierarchy... --> - <!-- <dependency> - <groupId>org.codehaus.plexus</groupId> - <artifactId>plexus-utils</artifactId> - <version>3.0.22</version> - <scope>compile</scope> - </dependency> --> - - <dependency> - <groupId>org.apache.maven</groupId> - <artifactId>maven-settings-builder</artifactId> - <version>3.3.9</version> - <scope>compile</scope> - </dependency> - - <!-- needed to ensure the same version across configurations --> - <dependency> - <groupId>commons-logging</groupId> - <artifactId>commons-logging</artifactId> - <version>1.1.3</version> - <scope>compile</scope> - </dependency> - - <!-- used for escaping strings in the Annotation Stack and elsewhere --> - <dependency> - <groupId>commons-lang</groupId> - <artifactId>commons-lang</artifactId> - <version>2.6</version> - <scope>compile</scope> - </dependency> - - <!-- used to load files into String variables as well as helping to close - streams etc. --> - <dependency> - <groupId>commons-io</groupId> - <artifactId>commons-io</artifactId> - <version>2.4</version> - <scope>compile</scope> - </dependency> - - <!-- the logging framework GATE uses --> - <dependency> - <groupId>log4j</groupId> - <artifactId>log4j</artifactId> - <version>1.2.17</version> - <scope>compile</scope> - </dependency> - - <!-- used extensively throughout GATE for processing XML files --> - <dependency> - <groupId>org.jdom</groupId> - <artifactId>jdom</artifactId> - <version>1.1.3</version> - <scope>compile</scope> - </dependency> - - <!-- used to parse and load HTML documents into GATE --> - <dependency> - <groupId>net.sourceforge.nekohtml</groupId> - <artifactId>nekohtml</artifactId> - <version>1.9.14</version> - <scope>compile</scope> - <exclusions> - <!-- exclude stuff that is now part of Java --> - <exclusion> - <groupId>xml-apis</groupId> - <artifactId>xml-apis</artifactId> - </exclusion> - </exclusions> - </dependency> - - <!-- the actual Tika pased format parsers --> - <dependency> - <groupId>org.apache.tika</groupId> - <artifactId>tika-parsers</artifactId> - <version>1.7</version> - <scope>compile</scope> - - <exclusions> - <!-- we don't currently use the RSS/ATOM aspects of Tika so we don't - need ROME --> - <exclusion> - <groupId>rome</groupId> - <artifactId>rome</artifactId> - </exclusion> - - <!-- we don't currently support netCDF documents so we don't need this --> - <exclusion> - <groupId>edu.ucar</groupId> - <artifactId>netcdf</artifactId> - </exclusion> - - <!-- we don't use Tika to parse HTML so we don't need it's HTML parser --> - <exclusion> - <groupId>org.ccil.cowan.tagsoup</groupId> - <artifactId>tagsoup</artifactId> - </exclusion> - - <!-- we don't use Tika to parse Java classes so we don't need ASM --> - <exclusion> - <groupId>asm</groupId> - <artifactId>asm</artifactId> - </exclusion> - <exclusion> - <groupId>org.ow2.asm</groupId> - <artifactId>asm-debug-all</artifactId> - </exclusion> - - <!-- we aren't using any of the GUI aspects of tika so we don't need - to be able to do syntax highlighting --> - <exclusion> - <groupId>com.uwyn</groupId> - <artifactId>jhighlight</artifactId> - </exclusion> - - <!-- we exclude boilerpipe as it isn't required for Tika given the way - we currently configure it, and it contains a copy of NekoHTML which causes - HTML parsing in GATE to change, and the tests to break --> - <exclusion> - <groupId>de.l3s.boilerpipe</groupId> - <artifactId>boilerpipe</artifactId> - </exclusion> - - <!-- we don't handle audio files so we don't need the following --> - <exclusion> - <groupId>org.gagravarr</groupId> - <artifactId>vorbis-java-tika</artifactId> - </exclusion> - <exclusion> - <groupId>org.gagravarr</groupId> - <artifactId>vorbis-java-core</artifactId> - </exclusion> - <exclusion> - <groupId>com.googlecode.mp4parser</groupId> - <artifactId>isoparser</artifactId> - </exclusion> - - <!-- no idea what these are used for internally to tika but we don't - seem to need them --> - <exclusion> - <groupId>com.googlecode.juniversalchardet</groupId> - <artifactId>juniversalchardet</artifactId> - </exclusion> - <exclusion> - <groupId>org.tukaani</groupId> - <artifactId>xz</artifactId> - </exclusion> - <exclusion> - <groupId>com.adobe.xmp</groupId> - <artifactId>xmpcore</artifactId> - </exclusion> - - <!-- exclude stuff that is part of Java 6 core --> - <exclusion> - <groupId>org.apache.geronimo.specs</groupId> - <artifactId>geronimo-stax-api_1.0_spec</artifactId> - </exclusion> - - <!-- we are not handling Matlab files so we don't need this --> - <exclusion> - <groupId>net.sourceforge.jmatio</groupId> - <artifactId>jmatio</artifactId> - </exclusion> - - <!-- we are most certainly not supporting the parsing of Outlook PST - files! --> - <exclusion> - <groupId>com.pff</groupId> - <artifactId>java-libpst</artifactId> - </exclusion> - - <!-- we don't support images so we don't need their metadata --> - <exclusion> - <groupId>com.drewnoakes</groupId> - <artifactId>metadata-extractor</artifactId> - </exclusion> - - </exclusions> - - </dependency> - - <!-- We use Woodstox instead of the default Sun StAX implementation as - it seems to behave better. NOTE: I don't know if this is still the case but - it seems safer not to break things! --> - <dependency> - <groupId>org.codehaus.woodstox</groupId> - <artifactId>woodstox-core-lgpl</artifactId> - <version>4.2.0</version> - <scope>compile</scope> - <exclusions> - <!-- exclude stuff that is part of core Java --> - <exclusion> - <groupId>javax.xml.stream</groupId> - <artifactId>stax-api</artifactId> - </exclusion> - </exclusions> - </dependency> - - <!-- we need Ivy for creole plugins which use the IVY element. Note this - will be deprecated at some future point --> - <dependency> - <groupId>org.apache.ivy</groupId> - <artifactId>ivy</artifactId> - <version>2.3.0</version> - <scope>compile</scope> - </dependency> - - <!-- ANT is used internally by GATE for some tasks, such as the export - for GATECloud.net --> - <dependency> - <groupId>org.apache.ant</groupId> - <artifactId>ant</artifactId> - <version>1.9.3</version> - <scope>compile</scope> - </dependency> - - <!--required for loading and saving .gapp files and by some plugins. we - pull in the full XPP3 so we only need XStream's master artifact --> - <dependency> - <groupId>com.thoughtworks.xstream</groupId> - <artifactId>xstream</artifactId> - <version>1.4.7</version> - <scope>compile</scope> - <exclusions> - <!-- we will pull in the full xpp3 so we don't need these --> - <exclusion> - <groupId>xmlpull</groupId> - <artifactId>xmlpull</artifactId> - </exclusion> - <exclusion> - <groupId>xpp3</groupId> - <artifactId>xpp3_min</artifactId> - </exclusion> - </exclusions> - </dependency> - - <!-- XPP3 provides the actual implementation under pinning our use of XStream --> - <dependency> - <groupId>xpp3</groupId> - <artifactId>xpp3</artifactId> - <version>1.1.4c</version> - <scope>runtime</scope> - </dependency> - - <!-- needed by CreoleAnnotationHandler at runtime --> - <dependency> - <groupId>jaxen</groupId> - <artifactId>jaxen</artifactId> - <version>1.1.6</version> - <scope>runtime</scope> - <exclusions> - <!-- we don't need any of these dependencies --> - <exclusion> - <groupId>xml-apis</groupId> - <artifactId>xml-apis</artifactId> - </exclusion> - <exclusion> - <groupId>xerces</groupId> - <artifactId>xercesImpl</artifactId> - </exclusion> - <exclusion> - <groupId>xom</groupId> - <artifactId>xom</artifactId> - </exclusion> - <exclusion> - <groupId>jdom</groupId> - <artifactId>jdom</artifactId> - </exclusion> - </exclusions> - </dependency> - - <!-- used to parse command line options passed to the GATE GUI --> - <dependency> - <groupId>gnu.getopt</groupId> - <artifactId>java-getopt</artifactId> - <version>1.0.13</version> - <scope>compile</scope> - </dependency> - - <!-- required for Spring Framework support in GATE --> - <dependency> - <groupId>org.springframework</groupId> - <artifactId>spring-aop</artifactId> - <version>2.5.6.SEC01</version> - <scope>compile</scope> - </dependency> - - <!-- required for outputting documents as JSON --> - <dependency> - <groupId>com.fasterxml.jackson.core</groupId> - <artifactId>jackson-databind</artifactId> - <version>2.3.2</version> - <scope>compile</scope> - </dependency> - - <!-- required for the new controller metadata viewer --> - <dependency> - <groupId>org.xhtmlrenderer</groupId> - <artifactId>flying-saucer-core</artifactId> - <version>9.0.4</version> - <scope>compile</scope> - </dependency> - - <!-- Used for comparing XML files during some of the GATE tests --> - <dependency> - <groupId>xmlunit</groupId> - <artifactId>xmlunit</artifactId> - <version>1.5</version> - <scope>test</scope> - </dependency> - - <!-- Used for date parsing and formatting --> - <dependency> - <groupId>joda-time</groupId> - <artifactId>joda-time</artifactId> - <version>2.9.2</version> - <scope>compile</scope> - </dependency> - - <!-- Used for testing GATE --> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.11</version> - <scope>test</scope> - </dependency> - - </dependencies> - - - <build> - <plugins> - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <version>0.7.6.201602180812</version> - <executions> - <execution> - <id>default-prepare-agent</id> - <goals> - <goal>prepare-agent</goal> - </goals> - </execution> - <execution> - <id>default-report</id> - <phase>prepare-package</phase> - <goals> - <goal>report</goal> - </goals> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-dependency-plugin</artifactId> - <version>2.10</version> - <executions> - <execution> - <id>copy-dependencies</id> - <phase>package</phase> - <goals> - <goal>copy-dependencies</goal> - </goals> - <configuration> - <outputDirectory>${project.basedir}/lib</outputDirectory> - <overWriteReleases>false</overWriteReleases> - <overWriteSnapshots>false</overWriteSnapshots> - <overWriteIfNewer>true</overWriteIfNewer> - </configuration> - </execution> - </executions> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.9.1</version> - <configuration> - <!-- in theory we should only need one of these and it would be nice to get - rid of them alltogether but that's for another day --> - <failOnError>false</failOnError> - <additionalparam>-Xdoclint:none</additionalparam> - </configuration> - </plugin> - </plugins> - - <resources> - <!-- this adds the version number into the right file in the jar --> - <resource> - <directory>src/main/resources</directory> - <filtering>true</filtering> - <includes> - <include>gate/resources/version.txt</include> - </includes> - </resource> - - <!-- copy all the other resources without altering them so we don't accidentally - corrupt any binary formats --> - <resource> - <directory>src/main/resources</directory> - <filtering>false</filtering> - <excludes> - <exclude>gate/resources/version.txt</exclude> - </excludes> - </resource> - </resources> - </build> - - <reporting> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-surefire-report-plugin</artifactId> - <version>2.19.1</version> - </plugin> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>findbugs-maven-plugin</artifactId> - <version>3.0.3</version> - <configuration> - <xmlOutput>true</xmlOutput> - <effort>Max</effort> - <threshold>Low</threshold> - </configuration> - </plugin> - <plugin> - <groupId>org.jacoco</groupId> - <artifactId>jacoco-maven-plugin</artifactId> - <version>0.7.6.201602180812</version> - <configuration> - <excludes> - <!-- this excludes known GUI code from the code coverage results as - we know we aren't testing them so will likely have a 0% coverage --> - <exclude>**/gui/**/*</exclude> - <exclude>**/swing/**/*</exclude> - </excludes> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-project-info-reports-plugin</artifactId> - <version>2.9</version> - <configuration> - <dependencyLocationsEnabled>false</dependencyLocationsEnabled> - <systemPropertyVariables> - <jacoco-agent.destfile>target/jacoco.exec</jacoco-agent.destfile> - </systemPropertyVariables> - </configuration> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>2.9.1</version> - <configuration> - <!-- in theory we should only need one of these and it would be nice to get - rid of them alltogether but that's for another day --> - <failOnError>false</failOnError> - <additionalparam>-Xdoclint:none</additionalparam> - </configuration> - </plugin> - </plugins> - </reporting> - -</project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. http://sdm.link/zohodev2dev _______________________________________________ GATE-cvs mailing list GATE-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gate-cvs