Author: schor Date: Sun Jan 13 00:49:08 2013 New Revision: 1432533 URL: http://svn.apache.org/viewvc?rev=1432533&view=rev Log: [UIMA-2568] Initial import of composite eclipse-update-site.
Added: uima/build/trunk/uima-eclipse-composite-update-site/buildCompositeRepository.xml (with props) uima/build/trunk/uima-eclipse-composite-update-site/pom.xml (with props) uima/build/trunk/uima-eclipse-composite-update-site/signEclipseUpdateSite.sh (with props) uima/build/trunk/uima-eclipse-composite-update-site/verifySigsEclipseUpdateSite.sh (with props) Modified: uima/build/trunk/uima-eclipse-composite-update-site/ (props changed) Propchange: uima/build/trunk/uima-eclipse-composite-update-site/ ------------------------------------------------------------------------------ --- svn:ignore (added) +++ svn:ignore Sun Jan 13 00:49:08 2013 @@ -0,0 +1,2 @@ +target +.project Added: uima/build/trunk/uima-eclipse-composite-update-site/buildCompositeRepository.xml URL: http://svn.apache.org/viewvc/uima/build/trunk/uima-eclipse-composite-update-site/buildCompositeRepository.xml?rev=1432533&view=auto ============================================================================== --- uima/build/trunk/uima-eclipse-composite-update-site/buildCompositeRepository.xml (added) +++ uima/build/trunk/uima-eclipse-composite-update-site/buildCompositeRepository.xml Sun Jan 13 00:49:08 2013 @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project name="buildCompositeRepository" basedir="." default="buildCompositeRepository"> + <target name="buildCompositeRepository"> + <echo>starting ${basedir}</echo> + <p2.composite.repository> + <repository location="target/eclipse-update-site" name="UIMA Composite Repository" /> + <add> + <repository location="uimaj"/> + <repository location="uima-as"/> + </add> + </p2.composite.repository> + <echo>done</echo> + </target> +</project> \ No newline at end of file Propchange: uima/build/trunk/uima-eclipse-composite-update-site/buildCompositeRepository.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: uima/build/trunk/uima-eclipse-composite-update-site/pom.xml URL: http://svn.apache.org/viewvc/uima/build/trunk/uima-eclipse-composite-update-site/pom.xml?rev=1432533&view=auto ============================================================================== --- uima/build/trunk/uima-eclipse-composite-update-site/pom.xml (added) +++ uima/build/trunk/uima-eclipse-composite-update-site/pom.xml Sun Jan 13 00:49:08 2013 @@ -0,0 +1,105 @@ +<?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 http://maven.apache.org/maven-v4_0_0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <parent> + <groupId>org.apache.uima</groupId> + <artifactId>parent-pom</artifactId> + <version>4</version> + <relativePath /> + </parent> + + <artifactId>uima-eclipse-composite-update-site</artifactId> + <packaging>pom</packaging> + <version>1</version> + + <name>Apache UIMA Eclipse: ${project.artifactId}</name> + <description>The UIMA Eclipse composite update site</description> + <url>${uimaWebsiteUrl}</url> + + <scm> + <connection> + scm:svn:http://svn.apache.org/repos/asf/uima/build/trunk/uima-eclipse-composite-update-site + </connection> + <developerConnection> + scm:svn:https://svn.apache.org/repos/asf/uima/build/trunk/uima-eclipse-composite-update-site + </developerConnection> + <url> + http://svn.apache.org/viewvc/uima/build/trunk/uima-eclipse-composite-update-site + </url> + </scm> + + <properties> + <uimaScmRoot>uimaj</uimaScmRoot> + <uimaScmProject>${project.artifactId}</uimaScmProject> + <eclipseUpdateSite>${project.build.directory}/eclipse-update-site</eclipseUpdateSite> + </properties> + + <!-- don't use dependency mechanism - use dependency:copy because we need to get multiple versions + for the eclipse-feature-projects, and Maven wants to resolve multiple versions into one. --> + + <build> + <plugins> + + <plugin> + <artifactId>maven-antrun-plugin</artifactId> + <executions> + <execution> + <id>BuildCompositeUpdateSite</id> + <phase>package</phase> + <configuration> + <target> + <!-- if the property uima-maven-build-eclipse-home is set, use it, otherwise don't --> + <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" /> + + <java jar="${eclipse-equinox-launcher}" fork="true" failonerror="true" maxmemory="256m"> + <arg line="-application org.eclipse.ant.core.antRunner" /> + <arg line="-f buildCompositeRepository.xml" /> + <arg line="-verbose"/> + </java> + --> + + </target> + </configuration> + <goals> + <goal>run</goal> + </goals> + </execution> + </executions> + </plugin> + + </plugins> + </build> + +</project> \ No newline at end of file Propchange: uima/build/trunk/uima-eclipse-composite-update-site/pom.xml ------------------------------------------------------------------------------ svn:eol-style = native Added: uima/build/trunk/uima-eclipse-composite-update-site/signEclipseUpdateSite.sh URL: http://svn.apache.org/viewvc/uima/build/trunk/uima-eclipse-composite-update-site/signEclipseUpdateSite.sh?rev=1432533&view=auto ============================================================================== --- uima/build/trunk/uima-eclipse-composite-update-site/signEclipseUpdateSite.sh (added) +++ uima/build/trunk/uima-eclipse-composite-update-site/signEclipseUpdateSite.sh Sun Jan 13 00:49:08 2013 @@ -0,0 +1,39 @@ +#!/bin/sh + +# 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. + +# Bourne shell syntax, this should hopefully run on pretty much anything. + +usage() { + echo "Usage: cd to the uimaj-eclipse-update-site project, then ./signEclipseUpdateSite.sh" +} + +if [ "$1" = "-help" ] +then + usage + exit 1 +fi + +# Create PGP signatures +for i in target/eclipse-update-site/*.jar; do gpg --output $i.asc --detach-sig --armor $i; done + +# Create MD5 checksums +for i in target/eclipse-update-site/*.jar; do md5sum --binary $i > $i.md5; done + +# Create SHA1 checksums +for i in target/eclipse-update-site/*.jar; do sha1sum --binary $i > $i.sha1; done Propchange: uima/build/trunk/uima-eclipse-composite-update-site/signEclipseUpdateSite.sh ------------------------------------------------------------------------------ svn:eol-style = native Added: uima/build/trunk/uima-eclipse-composite-update-site/verifySigsEclipseUpdateSite.sh URL: http://svn.apache.org/viewvc/uima/build/trunk/uima-eclipse-composite-update-site/verifySigsEclipseUpdateSite.sh?rev=1432533&view=auto ============================================================================== --- uima/build/trunk/uima-eclipse-composite-update-site/verifySigsEclipseUpdateSite.sh (added) +++ uima/build/trunk/uima-eclipse-composite-update-site/verifySigsEclipseUpdateSite.sh Sun Jan 13 00:49:08 2013 @@ -0,0 +1,35 @@ +#!/bin/sh + +# 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. + +# On windows, run this inside cygwin +# Bourne shell syntax, this should hopefully run on pretty much anything. + +usage() { + echo "Usage: cd to eclipseUpdateSite, then verifySigsEclipseUpdateSite.sh )" +} + +# Verify PGP signatures +for i in target/eclipse-update-site/*.jar; do gpg --verify $i.asc; done + +# Verify MD5 checksums +for i in target/eclipse-update-site/*.jar; do md5sum --check $i.md5; done + +# Verify SHA1 checksums +for i in target/eclipse-update-site/*.jar; do sha1sum --check $i.sha1; done + Propchange: uima/build/trunk/uima-eclipse-composite-update-site/verifySigsEclipseUpdateSite.sh ------------------------------------------------------------------------------ svn:eol-style = native