Revision: 19217
http://sourceforge.net/p/gate/code/19217
Author: markagreenwood
Date: 2016-04-09 16:53:34 +0000 (Sat, 09 Apr 2016)
Log Message:
-----------
the Tools plugin is now a Maven project
Modified Paths:
--------------
gate/branches/sawdust2/plugins/Tools/.classpath
gate/branches/sawdust2/plugins/Tools/.project
Added Paths:
-----------
gate/branches/sawdust2/plugins/Tools/pom.xml
gate/branches/sawdust2/plugins/Tools/src/main/
gate/branches/sawdust2/plugins/Tools/src/main/java/
gate/branches/sawdust2/plugins/Tools/src/main/java/gate/
gate/branches/sawdust2/plugins/Tools/src/main/resources/
gate/branches/sawdust2/plugins/Tools/src/main/resources/creole.xml
gate/branches/sawdust2/plugins/Tools/src/test/
gate/branches/sawdust2/plugins/Tools/src/test/java/
gate/branches/sawdust2/plugins/Tools/src/test/resources/
Removed Paths:
-------------
gate/branches/sawdust2/plugins/Tools/creole.xml
gate/branches/sawdust2/plugins/Tools/src/gate/
Modified: gate/branches/sawdust2/plugins/Tools/.classpath
===================================================================
--- gate/branches/sawdust2/plugins/Tools/.classpath 2016-04-09 08:31:03 UTC
(rev 19216)
+++ gate/branches/sawdust2/plugins/Tools/.classpath 2016-04-09 16:53:34 UTC
(rev 19217)
@@ -1,8 +1,33 @@
<?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 kind="src" output="target/classes" path="src/main/java">
+ <attributes>
+ <attribute name="optional" value="true"/>
+ <attribute name="maven.pomderived" value="true"/>
+ </attributes>
+ </classpathentry>
<classpathentry combineaccessrules="false" exported="true" kind="src"
path="/GATE"/>
<classpathentry combineaccessrules="false" kind="src"
path="/GATE-plugin-ANNIE"/>
- <classpathentry kind="output" path="classes"/>
+ <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/Tools/.project
===================================================================
--- gate/branches/sawdust2/plugins/Tools/.project 2016-04-09 08:31:03 UTC
(rev 19216)
+++ gate/branches/sawdust2/plugins/Tools/.project 2016-04-09 16:53:34 UTC
(rev 19217)
@@ -10,8 +10,14 @@
<arguments>
</arguments>
</buildCommand>
+ <buildCommand>
+ <name>org.eclipse.m2e.core.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
</buildSpec>
<natures>
+ <nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
Deleted: gate/branches/sawdust2/plugins/Tools/creole.xml
===================================================================
--- gate/branches/sawdust2/plugins/Tools/creole.xml 2016-04-09 08:31:03 UTC
(rev 19216)
+++ gate/branches/sawdust2/plugins/Tools/creole.xml 2016-04-09 16:53:34 UTC
(rev 19217)
@@ -1,9 +0,0 @@
-<?xml version="1.0"?>
-<!-- $Id$ -->
-<CREOLE-DIRECTORY>
-
- <JAR SCAN="true">tools.jar</JAR>
- <REQUIRES GROUP="uk.ac.gate.plugins" ARTIFACT="annie"
VERSION="9.0-SNAPSHOT"/>
-
-</CREOLE-DIRECTORY>
-
Added: gate/branches/sawdust2/plugins/Tools/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/Tools/pom.xml
(rev 0)
+++ gate/branches/sawdust2/plugins/Tools/pom.xml 2016-04-09 16:53:34 UTC
(rev 19217)
@@ -0,0 +1,161 @@
+
+<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>
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>tools</artifactId>
+ <version>9.0-SNAPSHOT</version>
+
+ <licenses>
+ <license>
+ <name>GNU Lesser General Public License (LGPL), Version
3</name>
+ <url>http://www.gnu.org/licenses/lgpl-3.0.txt</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+
+ <organization>
+ <name>GATE</name>
+ <url>http://gate.ac.uk</url>
+ </organization>
+
+ <dependencies>
+ <dependency>
+ <groupId>uk.ac.gate</groupId>
+ <artifactId>gate-core</artifactId>
+ <!-- set this to the version of GATE you want to build
against -->
+ <version>9.0-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <!-- add any other libraries you depend on -->
+
+ <dependency>
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>annie</artifactId>
+ <version>9.0-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
+
+ <dependency>
+ <groupId>uk.ac.gate</groupId>
+ <artifactId>test-utils</artifactId>
+ <version>9.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <!-- In theory you shouldn't need to change anything below here -->
+
+ <repositories>
+ <repository>
+ <id>gate.ac.uk</id>
+ <name>GATE Development Repository</name>
+ <url>http://repo.gate.ac.uk/content/groups/public/</url>
+ </repository>
+ </repositories>
+
+ <properties>
+ <maven.compiler.source>1.8</maven.compiler.source>
+ <maven.compiler.target>1.8</maven.compiler.target>
+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <build>
+ <testResources>
+ <testResource>
+ <directory>src/test/resources</directory>
+ <filtering>true</filtering>
+ </testResource>
+ </testResources>
+ <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>
+ <execution>
+ <id>default-check</id>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ <configuration>
+ <rules>
+ <rule>
+
<element>BUNDLE</element>
+ <limits>
+
<limit>
+
<counter>COMPLEXITY</counter>
+
<value>COVEREDRATIO</value>
+
<minimum>0.60</minimum>
+
</limit>
+
</limits>
+ </rule>
+ </rules>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </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>
+ </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>
+ <failOnError>false</failOnError>
+ </configuration>
+ </plugin>
+ </plugins>
+ </reporting>
+
+</project>
\ No newline at end of file
Copied: gate/branches/sawdust2/plugins/Tools/src/main/resources/creole.xml
(from rev 19216, gate/branches/sawdust2/plugins/Tools/creole.xml)
===================================================================
--- gate/branches/sawdust2/plugins/Tools/src/main/resources/creole.xml
(rev 0)
+++ gate/branches/sawdust2/plugins/Tools/src/main/resources/creole.xml
2016-04-09 16:53:34 UTC (rev 19217)
@@ -0,0 +1,8 @@
+<?xml version="1.0"?>
+<!-- $Id$ -->
+<CREOLE-DIRECTORY>
+
+ <REQUIRES GROUP="uk.ac.gate.plugins" ARTIFACT="annie"
VERSION="9.0-SNAPSHOT"/>
+
+</CREOLE-DIRECTORY>
+
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs