Revision: 19238
http://sourceforge.net/p/gate/code/19238
Author: markagreenwood
Date: 2016-04-13 17:08:57 +0000 (Wed, 13 Apr 2016)
Log Message:
-----------
refactored the POMs to use a parent to reduce repetition and make it easier to
do bug fixes/changes across all plugins
Modified Paths:
--------------
gate/branches/sawdust2/plugins/ANNIE/pom.xml
gate/branches/sawdust2/plugins/Developer_Tools/.classpath
gate/branches/sawdust2/plugins/Developer_Tools/pom.xml
gate/branches/sawdust2/plugins/Tools/pom.xml
Modified: gate/branches/sawdust2/plugins/ANNIE/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/ANNIE/pom.xml 2016-04-13 10:45:35 UTC
(rev 19237)
+++ gate/branches/sawdust2/plugins/ANNIE/pom.xml 2016-04-13 17:08:57 UTC
(rev 19238)
@@ -1,8 +1,17 @@
<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>
- <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>base-plugin</artifactId>
+ <!-- this should be the version of GATE you wish to build
against -->
+ <version>9.0-SNAPSHOT</version>
+ </parent>
+
+ <!-- this is the description of this plugin -->
<groupId>uk.ac.gate.plugins</groupId>
<artifactId>annie</artifactId>
<version>9.0-SNAPSHOT</version>
@@ -21,23 +30,6 @@
</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>
-
- <!-- this dependency is optional but includes some useful
classes for testing
- GATE plugins, should only ever be used in the test
scope -->
- <dependency>
- <groupId>uk.ac.gate</groupId>
- <artifactId>test-utils</artifactId>
- <version>9.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
-
<!-- add any other libraries your plugin depends on. Any other
GATE plugins
you depend on at compile time should use the provided
scope -->
@@ -49,139 +41,4 @@
</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>
- <!-- this adds the maven coordinates into the test
resource file creole.properties
- which is used to help load this plugin for
testing -->
- <testResource>
- <directory>src/test/resources</directory>
- <filtering>true</filtering>
- <includes>
- <include>creole.properties</include>
- </includes>
- </testResource>
-
- <!-- copy all the other resources without altering them
so we don't accidentally
- corrupt datastores or other binary formats -->
- <testResource>
- <directory>src/test/resources</directory>
- <filtering>false</filtering>
- <excludes>
- <exclude>creole.properties</exclude>
- </excludes>
- </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>
- <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>gate/gui/**/*</exclude>
-
<exclude>gate/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>
- <failOnError>false</failOnError>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
</project>
\ No newline at end of file
Modified: gate/branches/sawdust2/plugins/Developer_Tools/.classpath
===================================================================
--- gate/branches/sawdust2/plugins/Developer_Tools/.classpath 2016-04-13
10:45:35 UTC (rev 19237)
+++ gate/branches/sawdust2/plugins/Developer_Tools/.classpath 2016-04-13
17:08:57 UTC (rev 19238)
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/main/java"/>
- <classpathentry combineaccessrules="false" kind="src" path="/GATE"/>
<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"/>
Modified: gate/branches/sawdust2/plugins/Developer_Tools/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/Developer_Tools/pom.xml 2016-04-13
10:45:35 UTC (rev 19237)
+++ gate/branches/sawdust2/plugins/Developer_Tools/pom.xml 2016-04-13
17:08:57 UTC (rev 19238)
@@ -1,8 +1,17 @@
<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>
- <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>base-plugin</artifactId>
+ <!-- this should be the version of GATE you wish to build
against -->
+ <version>9.0-SNAPSHOT</version>
+ </parent>
+
+ <!-- this is the description of this plugin -->
<groupId>uk.ac.gate.plugins</groupId>
<artifactId>developer-tools</artifactId>
<version>9.0-SNAPSHOT</version>
@@ -21,158 +30,8 @@
</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 your plugin depends on. Any other
GATE plugins
you depend on at compile time should use the provided
scope -->
-
- <dependency>
- <groupId>uk.ac.gate</groupId>
- <artifactId>gate-compiler-jdt</artifactId>
- <version>4.3.2-P20140317-1600</version>
- </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>
- <!-- this adds the maven coordinates into the test
resource file creole.properties
- which is used to help load this plugin for
testing -->
- <testResource>
- <directory>src/test/resources</directory>
- <filtering>true</filtering>
- <includes>
- <include>creole.properties</include>
- </includes>
- </testResource>
-
- <!-- copy all the other resources without altering them
so we don't accidentally
- corrupt datastores or other binary formats -->
- <testResource>
- <directory>src/test/resources</directory>
- <filtering>false</filtering>
- <excludes>
- <exclude>creole.properties</exclude>
- </excludes>
- </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>
- <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>gate/gui/**/*</exclude>
-
<exclude>gate/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>
- <failOnError>false</failOnError>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
</project>
\ No newline at end of file
Modified: gate/branches/sawdust2/plugins/Tools/pom.xml
===================================================================
--- gate/branches/sawdust2/plugins/Tools/pom.xml 2016-04-13 10:45:35 UTC
(rev 19237)
+++ gate/branches/sawdust2/plugins/Tools/pom.xml 2016-04-13 17:08:57 UTC
(rev 19238)
@@ -1,8 +1,17 @@
<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>
- <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>uk.ac.gate.plugins</groupId>
+ <artifactId>base-plugin</artifactId>
+ <!-- this should be the version of GATE you wish to build
against -->
+ <version>9.0-SNAPSHOT</version>
+ </parent>
+
+ <!-- this is the description of this plugin -->
<groupId>uk.ac.gate.plugins</groupId>
<artifactId>tools</artifactId>
<version>9.0-SNAPSHOT</version>
@@ -21,26 +30,9 @@
</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>
-
- <!-- this dependency is optional but includes some useful
classes for testing
- GATE plugins, should only ever be used in the test
scope -->
- <dependency>
- <groupId>uk.ac.gate</groupId>
- <artifactId>test-utils</artifactId>
- <version>9.0-SNAPSHOT</version>
- <scope>test</scope>
- </dependency>
-
<!-- add any other libraries your plugin depends on. Any other
GATE plugins
you depend on at compile time should use the provided
scope -->
-
+
<dependency>
<groupId>uk.ac.gate.plugins</groupId>
<artifactId>annie</artifactId>
@@ -50,139 +42,4 @@
</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>
- <!-- this adds the maven coordinates into the test
resource file creole.properties
- which is used to help load this plugin for
testing -->
- <testResource>
- <directory>src/test/resources</directory>
- <filtering>true</filtering>
- <includes>
- <include>creole.properties</include>
- </includes>
- </testResource>
-
- <!-- copy all the other resources without altering them
so we don't accidentally
- corrupt datastores or other binary formats -->
- <testResource>
- <directory>src/test/resources</directory>
- <filtering>false</filtering>
- <excludes>
- <exclude>creole.properties</exclude>
- </excludes>
- </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>
- <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>gate/gui/**/*</exclude>
-
<exclude>gate/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>
- <failOnError>false</failOnError>
- </configuration>
- </plugin>
- </plugins>
- </reporting>
-
</project>
\ No newline at end of file
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!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs