You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2019/11/02 15:38:04 UTC
[uima-uimaj] 02/02: Merge branch 'master' of
https://github.com/apache/uima-uimaj
This is an automated email from the ASF dual-hosted git repository.
schor pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/uima-uimaj.git
commit f572adabf61523b9a0ffd1a8fd91d858af643eca
Merge: 25f0f2c dac0176
Author: Marshall Schor <ms...@schor.com>
AuthorDate: Sat Nov 2 11:37:42 2019 -0400
Merge branch 'master' of https://github.com/apache/uima-uimaj
# Conflicts:
# uimaj-eclipse-update-site/pom.xml resolved
PearPackagingMavenPlugin/pom.xml | 3 +-
aggregate-uimaj-docbooks/pom.xml | 3 +-
aggregate-uimaj-eclipse-plugins/pom.xml | 3 +-
aggregate-uimaj/pom.xml | 3 +-
jVinci/pom.xml | 3 +-
jcasgen-maven-plugin/pom.xml | 3 +-
pom.xml | 3 +-
uima-docbook-overview-and-setup/pom.xml | 3 +-
uima-docbook-references/pom.xml | 3 +-
uima-docbook-tools/pom.xml | 3 +-
uima-docbook-tutorials-and-users-guides/pom.xml | 3 +-
uima-docbook-v3-users-guide/pom.xml | 3 +-
uimaj-adapter-soap/pom.xml | 3 +-
uimaj-adapter-vinci/pom.xml | 3 +-
uimaj-bootstrap/pom.xml | 3 +-
uimaj-component-test-util/pom.xml | 3 +-
uimaj-core/pom.xml | 3 +-
uimaj-cpe/pom.xml | 3 +-
uimaj-document-annotation/pom.xml | 3 +-
uimaj-eclipse-feature-runtime/pom.xml | 3 +-
uimaj-eclipse-feature-tools/pom.xml | 3 +-
uimaj-eclipse-update-site/pom.xml | 559 ++++++++++++------------
uimaj-ep-cas-editor-ide/pom.xml | 3 +-
uimaj-ep-cas-editor/pom.xml | 3 +-
uimaj-ep-configurator/pom.xml | 3 +-
uimaj-ep-debug/pom.xml | 3 +-
uimaj-ep-jcasgen/pom.xml | 3 +-
uimaj-ep-launcher/pom.xml | 3 +-
uimaj-ep-pear-packager/pom.xml | 3 +-
uimaj-ep-runtime/pom.xml | 3 +-
uimaj-examples/pom.xml | 3 +-
uimaj-json/pom.xml | 3 +-
uimaj-parent/pom.xml | 4 +-
uimaj-test-util/pom.xml | 3 +-
uimaj-tools/pom.xml | 3 +-
uimaj-v3migration-jcas/pom.xml | 9 +-
36 files changed, 354 insertions(+), 317 deletions(-)
diff --cc uimaj-eclipse-update-site/pom.xml
index b8079b7,9fd2632..685f89e
--- a/uimaj-eclipse-update-site/pom.xml
+++ b/uimaj-eclipse-update-site/pom.xml
@@@ -1,279 -1,280 +1,280 @@@
--<?xml version="1.0" encoding="UTF-8"?>
--<!--
-- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you may not use this file except in compliance
-- with the License. You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing,
-- software distributed under the License is distributed on an
-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
-- KIND, either express or implied. See the License for the
-- specific language governing permissions and limitations
-- under the License.
---->
--<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
-- <modelVersion>4.0.0</modelVersion>
--
-- <parent>
-- <groupId>org.apache.uima</groupId>
-- <artifactId>uimaj-parent</artifactId>
-- <version>3.0.1</version>
-- <relativePath />
-- </parent>
--
-- <artifactId>uimaj-eclipse-update-site</artifactId>
- <version>3.1.1-SNAPSHOT</version>
- <version>3.1.1</version>
-- <packaging>pom</packaging>
--
-- <name>Apache UIMA Eclipse: ${project.artifactId}</name>
-- <description>The UIMA Java SDK Eclipse update site</description>
-- <url>${uimaWebsiteUrl}</url>
--
-- <scm>
-- <connection>
-- scm:git:https://github.com/apache/uima-uimaj/uimaj-eclipse-update-site
-- </connection>
-- <developerConnection>
-- scm:git:https://github.com/apache/uima-uimaj/uimaj-eclipse-update-site
-- </developerConnection>
-- <url>
-- https://github.com/apache/uima-uimaj/tree/master/uimaj-eclipse-update-site
-- </url>
- <tag>uimaj-eclipse-update-site-3.1.1</tag>
-- </scm>
--
-- <properties>
-- <uimaScmRoot>uimaj</uimaScmRoot>
-- <uimaScmProject>${project.artifactId}</uimaScmProject>
--
-- <eclipseUpdateSiteComponent>uimaj</eclipseUpdateSiteComponent>
--
-- <eclipseUpdateSubSite>${project.build.directory}/eclipse-update-site-v3/${eclipseUpdateSiteComponent}</eclipseUpdateSubSite>
--
-- <dropPrevVersions>false</dropPrevVersions>
--
-- </properties>
--
-- <build>
-
-
-- <plugins>
-- <plugin>
-- <groupId>org.apache.maven.plugins</groupId>
-- <artifactId>maven-dependency-plugin</artifactId>
-- <executions>
-- <execution>
-- <id>copy-new-plugins</id>
-- <goals><goal>copy</goal></goals>
-- <configuration>
-- <!-- ===================================================================
-- the PLUGINS
-- note: rename to add org.apache.uima. and
-- hyphen change to underscore in destination to follow
-- Eclipse conventions
-- Name must be the same as the ID for the plugin or feature
-- ======================================================================= -->
-- <artifactItems>
-- <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-cas-editor</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.caseditor_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
-- <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-cas-editor-ide</artifactId><version>${project.version}</version><destFileName>org.apache.uima.caseditor.ide_${parsedVersion.osgiVersion}.jar</destFileName></artifactItem>
-- <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-configurator</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.desceditor_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
-- <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-debug</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.debug_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
-- <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-jcasgen</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.jcas.jcasgenp_${parsedVersion.osgiVersion}.jar</destFileName></artifactItem>
-- <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-pear-packager</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.pear_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
-- <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-runtime</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.runtime_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
-- <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-launcher</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.launcher_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
-- </artifactItems>
-- <outputDirectory>${toBePacked}</outputDirectory>
-- </configuration>
-- </execution>
-- <execution>
-- <id>copy-features</id>
-- <goals>
-- <goal>copy</goal>
-- </goals>
-- <configuration>
-- <!-- ===================================================================
-- the FEATURES
-- note: rename to add org.apache.uima. and
-- hyphen change to underscore in destination to follow
-- Eclipse conventions
-- Name must be the same as the ID for the plugin or feature
-- ======================================================================= -->
-- <artifactItems>
-- <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-eclipse-feature-runtime</artifactId><version>${project.version}</version><destFileName>org.apache.uima.runtime_${parsedVersion.osgiVersion}.jar</destFileName></artifactItem>
-- <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-eclipse-feature-tools</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.tools_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
-- </artifactItems>
-- <outputDirectory>${eusWork}/features</outputDirectory>
-- </configuration>
-- </execution>
-- </executions>
-- </plugin>
--
-- <plugin>
-- <artifactId>maven-antrun-plugin</artifactId>
-- <executions>
--
-- <!-- ==================================================== -->
-- <!-- -->
-- <!-- P O S T JAR S I G N I N G by Digicert -->
-- <!-- -->
-- <!-- is not here, it was -->
-- <!-- moved to uima-wide parent pom 10/2018 -->
-- <!-- ==================================================== -->
-
-
-- <execution>
-- <id>BuildUpdateSite-pack-svnget-buildMetadata-commit-to-dev</id>
-- <phase>package</phase>
-- <goals>
-- <goal>run</goal>
-- </goals>
- <configuration>
- <configuration combine.self="override">
-- <target>
-- <taskdef classname="net.sf.antcontrib.logic.IfTask" name="if" />
-
-
-- <condition property="eclipse.home" value="${uima-maven-build-eclipse-home}">
-- <not>
-- <equals arg1="${uima-maven-build-eclipse-home}" arg2="$${uima-maven-build-eclipse-home}" />
-- </not>
-- </condition>
--
-- <property environment="envVar" />
-- <condition property="eclipse.home" value="${envVar.ECLIPSE_HOME}">
-- <isset property="envVar.ECLIPSE_HOME" />
-- </condition>
-
-
-- <fail unless="eclipse.home" message="********** Please set up and use an ant property eclipse.home set to an Eclipse installation at level 3.3 or later, e.g. c:/eclipses/3.3/eclipse" />
-- <fail unless="uima-eclipse-jar-processor" message="********** Please add to your settings.xml file the property uima-eclipse-jar-processor, point to this within an Eclipse installation at level 4.2 or later, e.g. \$\{uima-maven-build-eclipse-home\}/plugins/org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110808-1657.jar" />
-- <!-- skip this when dropping previous versions -->
-- <if>
-- <equals arg1="${dropPrevVersions}" arg2="false" />
-- <then>
-- <if>
-- <equals arg1="${isApacheRelease}" arg2="true" />
-- <then>
-
-
-- <echo>checking out eclipse update subsite ${eclipseUpdateSiteComponent} from dist ...release...</echo>
-- <delete dir="${eclipseUpdateSubSite}" quiet="true" />
-- <exec executable="svn" failonerror="true">
-- <arg value="checkout" />
-- <arg value="${distsvnroot}repos/dist/release/uima/eclipse-update-site-v3/${eclipseUpdateSiteComponent}" />
-- <arg value="${eclipseUpdateSubSite}" />
-- </exec>
-
-
-- <echo>Saving original content and artifacts for the site</echo>
- <copy todir="${project.build.directory}/saved" failonerror="true">
- <copy todir="${project.build.directory}/saved" failonerror="true">
-- <fileset dir="${eclipseUpdateSubSite}" includes="content.jar,artifacts.jar" />
-- </copy>
-
-
-- </then>
-- <else>
-- <echo>skipping checkout of current svn dist release (because not apache-release)</echo>
-- <!-- https://issues.apache.org/jira/browse/UIMA-3501 -->
-- <delete dir="${eclipseUpdateSubSite}" quiet="true" />
-- </else>
-- </if>
-- </then>
-- </if>
-
-
-- <echo>Compress plugin Jars using pack200 - this may take a minute or 2</echo>
-- <java fork="true" maxmemory="256m" jar="${uima-eclipse-jar-processor}" failonerror="true">
-- <arg line="-processAll" />
-- <arg line="-repack" />
-- <arg line="-pack" />
-- <arg line="-verbose" />
-- <arg line="-outputDir ${eusWork}/plugins" />
-- <arg line="${toBePacked}" />
-- </java>
-
-
-- <echo>Save conditioned Jars prior to signing, in case of redo</echo>
- <echo>-------------------------------------------------------</echo>
- <echo>-------------------------------------------------------</echo>
-- <copy todir="${project.build.directory}/saved/features" failonerror="true">
- <fileset dir="${eusWork}/features" includes="*.jar" />
- <fileset dir="${eusWork}/features" includes="*.jar" />
-- </copy>
-- <copy todir="${project.build.directory}/saved/plugins" failonerror="true">
- <fileset dir="${eusWork}/plugins" includes="*.jar" />
- <fileset dir="${eusWork}/plugins" includes="*.jar" />
-- </copy>
-
-
-- <echo>Generate the p2 metadata and publish new artifacts</echo>
-- <java fork="true" maxmemory="256m" jar="${eclipse-equinox-launcher}" failonerror="true">
-- <arg line="-application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher" />
-- <arg line="-metadataRepository file:///${eclipseUpdateSubSite}" />
-- <arg line="-artifactRepository file:///${eclipseUpdateSubSite}" />
-- <arg line="-source ${eusWork}" />
-- <arg line="-configs ANY.ANY.ANY" />
-- <arg line="-publishArtifacts" />
-- <arg line="-reusePack200Files" />
-- <arg line="-compress" />
-- <arg line="-append" />
-- </java>
-- <echo>Augment p2 metadata with category information</echo>
-- <java fork="true" maxmemory="256m" jar="${eclipse-equinox-launcher}" failonerror="true">
-- <arg line="-application org.eclipse.equinox.p2.publisher.CategoryPublisher" />
-- <arg line="-metadataRepository file:///${eclipseUpdateSubSite}" />
-- <arg line="-categoryDefinition file:///${basedir}/category.xml" />
-- <arg line="-categoryQualifier apache-uima" />
-- <arg line="-compress" />
-- </java>
-- <if>
-- <equals arg2="true" arg1="${isApacheRelease}" />
-- <then>
-- <echo message="Generating checksums for new features and plugins" />
-- <checksum algorithm="SHA-512" fileext=".sha512" format="MD5SUM" forceoverwrite="yes">
-- <fileset dir="${eusWork}">
-- <include name="**/*.gz" />
-- <include name="**/*.jar" />
-- </fileset>
-- </checksum>
-- <echo message="Generating gpg signatures for new features and plugins" />
-- <apply failonerror="true" dir="${eusWork}" executable="gpg">
-- <arg value="--detach-sign" />
-- <arg value="--armor" />
-- <arg value="--batch" />
-- <fileset dir="${eusWork}">
-- <include name="**/*.jar" />
-- <include name="**/*.jar.pack.gz" />
-- </fileset>
-- </apply>
-- <echo message="Copying the checksums and signatures to the update subsite" />
-- <copy todir="${eclipseUpdateSubSite}" failonerror="true">
-- <fileset dir="${eusWork}">
-- <include name="**/*.asc" />
-- <include name="**/*.sha512" />
-- </fileset>
-- </copy>
-- <echo message="Clearing previous checksums and signatures for update artifacts.jar and content.jar" />
-- <delete dir="${eclipseUpdateSubSite}">
-- <include name="*.sha512" />
-- <include name="*.asc" />
-- </delete>
-- <echo message="Generating checksums for updated artifacts.jar and content.jar" />
-- <checksum algorithm="SHA-512" fileext=".sha512" format="MD5SUM" forceoverwrite="yes">
-- <fileset dir="${eclipseUpdateSubSite}">
-- <include name="*.jar" />
-- </fileset>
-- </checksum>
-- <echo message="Generating gpg signatures for artifacts.jar and content.jar" />
-- <apply failonerror="true" dir="${eclipseUpdateSubSite}" executable="gpg">
-- <arg value="--detach-sign" />
-- <arg value="--armor" />
-- <arg value="--batch" />
-- <fileset dir="${eclipseUpdateSubSite}">
-- <include name="*.jar" />
-- </fileset>
-- </apply>
-- </then>
-- </if>
-- </target>
-- </configuration>
-- </execution>
-- </executions>
-- </plugin>
--
-- </plugins>
-- </build>
--
--</project>
++<?xml version="1.0" encoding="UTF-8"?>
++<!--
++ Licensed to the Apache Software Foundation (ASF) under one
++ or more contributor license agreements. See the NOTICE file
++ distributed with this work for additional information
++ regarding copyright ownership. The ASF licenses this file
++ to you under the Apache License, Version 2.0 (the
++ "License"); you may not use this file except in compliance
++ with the License. You may obtain a copy of the License at
++
++ http://www.apache.org/licenses/LICENSE-2.0
++
++ Unless required by applicable law or agreed to in writing,
++ software distributed under the License is distributed on an
++ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
++ KIND, either express or implied. See the License for the
++ specific language governing permissions and limitations
++ under the License.
++-->
++<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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
++ <modelVersion>4.0.0</modelVersion>
++
++ <parent>
++ <groupId>org.apache.uima</groupId>
++ <artifactId>uimaj-parent</artifactId>
++ <version>3.0.1</version>
++ <relativePath />
++ </parent>
++
++ <artifactId>uimaj-eclipse-update-site</artifactId>
++ <version>3.1.1</version>
++ <packaging>pom</packaging>
++
++ <name>Apache UIMA Eclipse: ${project.artifactId}</name>
++ <description>The UIMA Java SDK Eclipse update site</description>
++ <url>${uimaWebsiteUrl}</url>
++
++ <scm>
++ <connection>
++ scm:git:https://github.com/apache/uima-uimaj/uimaj-eclipse-update-site
++ </connection>
++ <developerConnection>
++ scm:git:https://github.com/apache/uima-uimaj/uimaj-eclipse-update-site
++ </developerConnection>
++ <url>
++ https://github.com/apache/uima-uimaj/tree/master/uimaj-eclipse-update-site
++ </url>
++ <tag>uimaj-eclipse-update-site-3.1.1</tag>
++ </scm>
++
++ <properties>
++ <uimaScmRoot>uimaj</uimaScmRoot>
++ <uimaScmProject>${project.artifactId}</uimaScmProject>
++
++ <eclipseUpdateSiteComponent>uimaj</eclipseUpdateSiteComponent>
++
++ <eclipseUpdateSubSite>${project.build.directory}/eclipse-update-site-v3/${eclipseUpdateSiteComponent}</eclipseUpdateSubSite>
++
++ <dropPrevVersions>false</dropPrevVersions>
++
++ </properties>
++
++ <build>
++
++ <plugins>
++ <plugin>
++ <groupId>org.apache.maven.plugins</groupId>
++ <artifactId>maven-dependency-plugin</artifactId>
++ <executions>
++ <execution>
++ <id>copy-new-plugins</id>
++ <goals><goal>copy</goal></goals>
++ <configuration>
++ <!-- ===================================================================
++ the PLUGINS
++ note: rename to add org.apache.uima. and
++ hyphen change to underscore in destination to follow
++ Eclipse conventions
++ Name must be the same as the ID for the plugin or feature
++ ======================================================================= -->
++ <artifactItems>
++ <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-cas-editor</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.caseditor_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
++ <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-cas-editor-ide</artifactId><version>${project.version}</version><destFileName>org.apache.uima.caseditor.ide_${parsedVersion.osgiVersion}.jar</destFileName></artifactItem>
++ <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-configurator</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.desceditor_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
++ <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-debug</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.debug_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
++ <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-jcasgen</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.jcas.jcasgenp_${parsedVersion.osgiVersion}.jar</destFileName></artifactItem>
++ <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-pear-packager</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.pear_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
++ <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-runtime</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.runtime_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
++ <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-ep-launcher</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.launcher_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
++ </artifactItems>
++ <outputDirectory>${toBePacked}</outputDirectory>
++ </configuration>
++ </execution>
++ <execution>
++ <id>copy-features</id>
++ <goals>
++ <goal>copy</goal>
++ </goals>
++ <configuration>
++ <!-- ===================================================================
++ the FEATURES
++ note: rename to add org.apache.uima. and
++ hyphen change to underscore in destination to follow
++ Eclipse conventions
++ Name must be the same as the ID for the plugin or feature
++ ======================================================================= -->
++ <artifactItems>
++ <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-eclipse-feature-runtime</artifactId><version>${project.version}</version><destFileName>org.apache.uima.runtime_${parsedVersion.osgiVersion}.jar</destFileName></artifactItem>
++ <artifactItem><groupId>org.apache.uima</groupId><artifactId>uimaj-eclipse-feature-tools</artifactId> <version>${project.version}</version><destFileName>org.apache.uima.tools_${parsedVersion.osgiVersion}.jar </destFileName></artifactItem>
++ </artifactItems>
++ <outputDirectory>${eusWork}/features</outputDirectory>
++ </configuration>
++ </execution>
++ </executions>
++ </plugin>
++
++ <plugin>
++ <artifactId>maven-antrun-plugin</artifactId>
++ <executions>
++
++ <!-- ==================================================== -->
++ <!-- -->
++ <!-- P O S T JAR S I G N I N G by Digicert -->
++ <!-- -->
++ <!-- is not here, it was -->
++ <!-- moved to uima-wide parent pom 10/2018 -->
++ <!-- ==================================================== -->
++
++ <execution>
++ <id>BuildUpdateSite-pack-svnget-buildMetadata-commit-to-dev</id>
++ <phase>package</phase>
++ <goals>
++ <goal>run</goal>
++ </goals>
++ <configuration>
++ <target>
++ <taskdef classname="net.sf.antcontrib.logic.IfTask" name="if" />
++
++ <condition property="eclipse.home" value="${uima-maven-build-eclipse-home}">
++ <not>
++ <equals arg1="${uima-maven-build-eclipse-home}" arg2="$${uima-maven-build-eclipse-home}" />
++ </not>
++ </condition>
++
++ <property environment="envVar" />
++ <condition property="eclipse.home" value="${envVar.ECLIPSE_HOME}">
++ <isset property="envVar.ECLIPSE_HOME" />
++ </condition>
++
++ <fail unless="eclipse.home" message="********** Please set up and use an ant property eclipse.home set to an Eclipse installation at level 3.3 or later, e.g. c:/eclipses/3.3/eclipse" />
++ <fail unless="uima-eclipse-jar-processor" message="********** Please add to your settings.xml file the property uima-eclipse-jar-processor, point to this within an Eclipse installation at level 4.2 or later, e.g. \$\{uima-maven-build-eclipse-home\}/plugins/org.eclipse.equinox.p2.jarprocessor_1.0.200.v20110808-1657.jar" />
++ <!-- skip this when dropping previous versions -->
++ <if>
++ <equals arg1="${dropPrevVersions}" arg2="false" />
++ <then>
++ <if>
++ <equals arg1="${isApacheRelease}" arg2="true" />
++ <then>
++
++ <echo>checking out eclipse update subsite ${eclipseUpdateSiteComponent} from dist ...release...</echo>
++ <delete dir="${eclipseUpdateSubSite}" quiet="true" />
++ <exec executable="svn" failonerror="true">
++ <arg value="checkout" />
++ <arg value="${distsvnroot}repos/dist/release/uima/eclipse-update-site-v3/${eclipseUpdateSiteComponent}" />
++ <arg value="${eclipseUpdateSubSite}" />
++ </exec>
++
++ <echo>Saving original content and artifacts for the site</echo>
++ <copy todir="${project.build.directory}/saved" failonerror="true">
++ <fileset dir="${eclipseUpdateSubSite}" includes="content.jar,artifacts.jar" />
++ </copy>
++
++ </then>
++ <else>
++ <echo>skipping checkout of current svn dist release (because not apache-release)</echo>
++ <!-- https://issues.apache.org/jira/browse/UIMA-3501 -->
++ <delete dir="${eclipseUpdateSubSite}" quiet="true" />
++ </else>
++ </if>
++ </then>
++ </if>
++
++ <echo>Compress plugin Jars using pack200 - this may take a minute or 2</echo>
++ <java fork="true" maxmemory="256m" jar="${uima-eclipse-jar-processor}" failonerror="true">
++ <arg line="-processAll" />
++ <arg line="-repack" />
++ <arg line="-pack" />
++ <arg line="-verbose" />
++ <arg line="-outputDir ${eusWork}/plugins" />
++ <arg line="${toBePacked}" />
++ </java>
++
++ <echo>Save conditioned Jars prior to signing, in case of redo</echo>
++ <echo>-------------------------------------------------------</echo>
++ <copy todir="${project.build.directory}/saved/features" failonerror="true">
++ <fileset dir="${eusWork}/features" includes="*.jar" />
++ </copy>
++ <copy todir="${project.build.directory}/saved/plugins" failonerror="true">
++ <fileset dir="${eusWork}/plugins" includes="*.jar" />
++ </copy>
++
++ <echo>Generate the p2 metadata and publish new artifacts</echo>
++ <java fork="true" maxmemory="256m" jar="${eclipse-equinox-launcher}" failonerror="true">
++ <arg line="-application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher" />
++ <arg line="-metadataRepository file:///${eclipseUpdateSubSite}" />
++ <arg line="-artifactRepository file:///${eclipseUpdateSubSite}" />
++ <arg line="-source ${eusWork}" />
++ <arg line="-configs ANY.ANY.ANY" />
++ <arg line="-publishArtifacts" />
++ <arg line="-reusePack200Files" />
++ <arg line="-compress" />
++ <arg line="-append" />
++ </java>
++ <echo>Augment p2 metadata with category information</echo>
++ <java fork="true" maxmemory="256m" jar="${eclipse-equinox-launcher}" failonerror="true">
++ <arg line="-application org.eclipse.equinox.p2.publisher.CategoryPublisher" />
++ <arg line="-metadataRepository file:///${eclipseUpdateSubSite}" />
++ <arg line="-categoryDefinition file:///${basedir}/category.xml" />
++ <arg line="-categoryQualifier apache-uima" />
++ <arg line="-compress" />
++ </java>
++ <if>
++ <equals arg2="true" arg1="${isApacheRelease}" />
++ <then>
++ <echo message="Generating checksums for new features and plugins" />
++ <checksum algorithm="SHA-512" fileext=".sha512" format="MD5SUM" forceoverwrite="yes">
++ <fileset dir="${eusWork}">
++ <include name="**/*.gz" />
++ <include name="**/*.jar" />
++ </fileset>
++ </checksum>
++ <echo message="Generating gpg signatures for new features and plugins" />
++ <apply failonerror="true" dir="${eusWork}" executable="gpg">
++ <arg value="--detach-sign" />
++ <arg value="--armor" />
++ <arg value="--batch" />
++ <fileset dir="${eusWork}">
++ <include name="**/*.jar" />
++ <include name="**/*.jar.pack.gz" />
++ </fileset>
++ </apply>
++ <echo message="Copying the checksums and signatures to the update subsite" />
++ <copy todir="${eclipseUpdateSubSite}" failonerror="true">
++ <fileset dir="${eusWork}">
++ <include name="**/*.asc" />
++ <include name="**/*.sha512" />
++ </fileset>
++ </copy>
++ <echo message="Clearing previous checksums and signatures for update artifacts.jar and content.jar" />
++ <delete dir="${eclipseUpdateSubSite}">
++ <include name="*.sha512" />
++ <include name="*.asc" />
++ </delete>
++ <echo message="Generating checksums for updated artifacts.jar and content.jar" />
++ <checksum algorithm="SHA-512" fileext=".sha512" format="MD5SUM" forceoverwrite="yes">
++ <fileset dir="${eclipseUpdateSubSite}">
++ <include name="*.jar" />
++ </fileset>
++ </checksum>
++ <echo message="Generating gpg signatures for artifacts.jar and content.jar" />
++ <apply failonerror="true" dir="${eclipseUpdateSubSite}" executable="gpg">
++ <arg value="--detach-sign" />
++ <arg value="--armor" />
++ <arg value="--batch" />
++ <fileset dir="${eclipseUpdateSubSite}">
++ <include name="*.jar" />
++ </fileset>
++ </apply>
++ </then>
++ </if>
++ </target>
++ </configuration>
++ </execution>
++ </executions>
++ </plugin>
++
++ </plugins>
++ </build>
++
++</project>