Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2011-02-08 03:02:36 -0500
committerspingel2011-02-08 03:02:36 -0500
commite47f5a3bf0f9015919a66274223ab9d5eca05dae (patch)
treef401b657315cf3901783eb4e48a9a249e250c7a4
parent35dd725248293a6a22ed6a94bd7e080098c0cfe9 (diff)
downloadorg.eclipse.mylyn.incubator-e47f5a3bf0f9015919a66274223ab9d5eca05dae.tar.gz
org.eclipse.mylyn.incubator-e47f5a3bf0f9015919a66274223ab9d5eca05dae.tar.xz
org.eclipse.mylyn.incubator-e47f5a3bf0f9015919a66274223ab9d5eca05dae.zip
bug 296436: modularize Mylyn Incubator build
-rw-r--r--org.eclipse.mylyn.incubator-site/.cvsignore1
-rw-r--r--org.eclipse.mylyn.incubator-site/assembly.xml13
-rw-r--r--org.eclipse.mylyn.incubator-site/index.html42
-rw-r--r--org.eclipse.mylyn.incubator-site/pack-and-sign/build.xml140
-rw-r--r--org.eclipse.mylyn.incubator-site/pack-and-sign/sign-and-wait.sh72
-rw-r--r--org.eclipse.mylyn.incubator-site/pom.xml105
-rw-r--r--org.eclipse.mylyn.incubator-site/site.xml31
-rw-r--r--pom.xml280
8 files changed, 678 insertions, 6 deletions
diff --git a/org.eclipse.mylyn.incubator-site/.cvsignore b/org.eclipse.mylyn.incubator-site/.cvsignore
new file mode 100644
index 00000000..eb5a316c
--- /dev/null
+++ b/org.eclipse.mylyn.incubator-site/.cvsignore
@@ -0,0 +1 @@
+target
diff --git a/org.eclipse.mylyn.incubator-site/assembly.xml b/org.eclipse.mylyn.incubator-site/assembly.xml
new file mode 100644
index 00000000..907a49c0
--- /dev/null
+++ b/org.eclipse.mylyn.incubator-site/assembly.xml
@@ -0,0 +1,13 @@
+<assembly>
+ <id>site</id>
+ <formats>
+ <format>zip</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>${project.build.directory}/site</directory>
+ <outputDirectory>/</outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly>
diff --git a/org.eclipse.mylyn.incubator-site/index.html b/org.eclipse.mylyn.incubator-site/index.html
new file mode 100644
index 00000000..6a23cdc0
--- /dev/null
+++ b/org.eclipse.mylyn.incubator-site/index.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>Eclipse Mylyn Software Repository</title>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+<meta name="author" content="Eclipse Mylyn Project" />
+<link rel="stylesheet" type="text/css" href="/eclipse/eclipse.org-common/stylesheets/visual.css" media="screen" />
+<link rel="stylesheet" type="text/css" href="/eclipse/eclipse.org-common/stylesheets/layout.css" media="screen" />
+</head>
+<body>
+<div id="header">
+<a href="http://www.eclipse.org/"><img src="/eclipse/eclipse.org-common/stylesheets/header_logo.gif" width="163" height="68" border="0" alt="Eclipse Logo" class="logo" /></a>
+</div>
+<div id="midcolumn">
+
+<p>This software repository URL
+<b><script type="text/javascript">
+<!--
+ document.write(document.URL);
+// -->
+</script></b>
+provides access to the software repository of the
+<a href="http://www.eclipse.org/Mylyn/">Eclipse Mylyn project</a>.
+
+<p>
+<b>Compatibility: </b>This version of Mylyn supports Eclipse 3.5.2 (Galileo SR2) or later.</p>
+</p>
+
+<p>If you are using Eclipse Helios you may also install Mylyn from the Helios repository.
+
+Click <b>Help > Install New Software</b>, type "helios", select the Helios repository URL, select
+<b>Collaboration > Eclipse Mylyn</b> and click <b>Install</b>.
+
+<p>Alternatively you may install Mylyn using the Eclipse Marketplace client: click
+<b>Help > Eclipse Marketplace</b>, enter "Mylyn" into the search field, then click <b>Go</b> and <b>Install</b>.</p>
+
+<p>For more information about installing or updating software, see the
+<a href="http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/tasks-124.htm">Eclipse Platform Help</a>.</p>
+
+</div>
+</body>
+</html>
diff --git a/org.eclipse.mylyn.incubator-site/pack-and-sign/build.xml b/org.eclipse.mylyn.incubator-site/pack-and-sign/build.xml
new file mode 100644
index 00000000..57ccc2c0
--- /dev/null
+++ b/org.eclipse.mylyn.incubator-site/pack-and-sign/build.xml
@@ -0,0 +1,140 @@
+<project name="pack-and-sign" default="pack-and-sign" basedir=".">
+
+ <dirname property="scriptdir" file="${ant.file.pack-and-sign}"/>
+ <property name="pack200" value="${java.home}/bin"/>
+
+ <target name="pack-and-sign">
+ <fail unless="localRepository">Required property localRepository not set</fail>
+ <fail unless="projectDir">Required property projectDir not set</fail>
+ <fail unless="repositoryName">Required property repositoryName not set</fail>
+
+ <echo>Running on ${os.name} ${os.version} (${os.arch}) / ${ant.version} / ${java.vendor} ${java.vm.name} ${java.version}</echo>
+
+ <!-- sign -->
+
+ <condition property="sign.skip" value="true"><equals arg1="${skipSign}" arg2="true"/></condition>
+
+ <antcall target="sign"/>
+
+ <!-- condition jars -->
+
+ <delete dir="${projectDir}/condition"/>
+ <copy todir="${projectDir}/condition">
+ <fileset dir="${projectDir}/site">
+ <include name="**/*mylyn*.jar"/>
+ </fileset>
+ </copy>
+
+ <antcall target="pack">
+ <param name="args" value="-processAll -repack"/>
+ <param name="site" value="${projectDir}/condition"/>
+ </antcall>
+
+ <copy todir="${projectDir}/site">
+ <fileset dir="${projectDir}/condition">
+ <include name="**/*mylyn*.jar"/>
+ </fileset>
+ </copy>
+
+ <!-- create site archive -->
+
+ <antcall target="publish"/>
+
+ <zip file="${projectDir}/site-archive.zip">
+ <fileset dir="${projectDir}/site">
+ <include name="**/*"/>
+ </fileset>
+ </zip>
+
+ <!-- pack200 -->
+
+ <antcall target="pack">
+ <param name="args" value="-pack"/>
+ <param name="site" value="${projectDir}/site"/>
+ </antcall>
+
+ <antcall target="publish"/>
+
+ <!-- create packed site archive -->
+
+ <zip file="${projectDir}/site-packed.zip">
+ <fileset dir="${projectDir}/site">
+ <include name="**/*"/>
+ </fileset>
+ </zip>
+ </target>
+
+ <target name="sign" unless="sign.skip">
+ <chmod perm="755" file="${scriptdir}/sign-and-wait.sh"/>
+ <exec executable="${scriptdir}/sign-and-wait.sh" failonerror="true">
+ <arg value="${projectDir}/site"/>
+ </exec>
+ </target>
+
+ <target name="pack">
+ <delete file="${site}/content.jar" />
+ <delete file="${site}/artifacts.jar" />
+
+ <path id="jarprocessor.classpath">
+ <fileset dir="${localRepository}/org/sonatype/tycho/tycho-p2-runtime">
+ <include name="*/eclipse/plugins/org.eclipse.equinox.p2.jarprocessor_*.jar" />
+ </fileset>
+ </path>
+
+ <echo>Using ${pack200} for packing</echo>
+
+ <!-- pack200 -->
+ <java jvm="${java.home}/bin/java" classname="org.eclipse.equinox.internal.p2.jarprocessor.Main"
+ fork="true" classpathref="jarprocessor.classpath" failonerror="true" maxmemory="512m"
+ dir="${projectDir}/site">
+ <jvmarg line="-Dorg.eclipse.update.jarprocessor.pack200=${pack200}" />
+ <arg line="-verbose ${args}" />
+ <arg line="-outputDir ${site} ${site}" />
+ </java>
+
+ <!-- remove corrupted jars -->
+ <!--
+ <delete>
+ <fileset dir="${projectDir}/site">
+ <include name="plugins/com.google.gwt*.pack.gz"/>
+ </fileset>
+ </delete>
+ -->
+ </target>
+
+ <target name="publish">
+ <delete file="${projectDir}/site/content.jar" />
+ <delete file="${projectDir}/site/artifacts.jar" />
+
+ <path id="eclipse.classpath">
+ <fileset dir="${localRepository}/org/sonatype/tycho/tycho-p2-runtime">
+ <include name="*/eclipse/plugins/org.eclipse.equinox.launcher_*.jar" />
+ </fileset>
+ </path>
+
+ <!-- generate metadata -->
+ <java jvm="${java.home}/bin/java" classname="org.eclipse.equinox.launcher.Main" fork="true"
+ classpathref="eclipse.classpath" failonerror="true" maxmemory="256m"
+ dir="${projectDir}/site">
+ <arg line="-application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher" />
+ <arg line="-source ${projectDir}/site" />
+ <arg line="-metadataRepository file://${projectDir}/site" />
+ <arg line="-artifactRepository file://${projectDir}/site" />
+ <arg line="-metadataRepositoryName '${repositoryName}'" />
+ <arg line="-artifactRepositoryName '${repositoryName}'" />
+ <arg line="-compress -reusePackedFiles -reusePack200Files -publishArtifacts" />
+ </java>
+
+ <!-- publish categories -->
+ <java jvm="${java.home}/bin/java" classname="org.eclipse.equinox.launcher.Main" fork="true"
+ classpathref="eclipse.classpath" failonerror="true" maxmemory="256m"
+ dir="${projectDir}/site">
+ <arg line="-application org.eclipse.equinox.p2.publisher.CategoryPublisher" />
+ <arg line="-metadataRepository file://${projectDir}/site" />
+ <arg line="-categoryDefinition file://${projectDir}/../site.xml" />
+ <arg line="-compress -categoryQualifier" />
+ </java>
+ </target>
+
+</project>
+
diff --git a/org.eclipse.mylyn.incubator-site/pack-and-sign/sign-and-wait.sh b/org.eclipse.mylyn.incubator-site/pack-and-sign/sign-and-wait.sh
new file mode 100644
index 00000000..11ef105d
--- /dev/null
+++ b/org.eclipse.mylyn.incubator-site/pack-and-sign/sign-and-wait.sh
@@ -0,0 +1,72 @@
+#!/bin/bash -e
+
+#*******************************************************************************
+# Copyright (c) 2009 Tasktop Technologies and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# Tasktop Technologies - initial API and implementation
+#*******************************************************************************
+
+if [ $# -eq 0 ]
+then
+ echo "usage: sign-and-wait.sh directory"
+ exit 1
+fi
+
+set -v
+
+SRC=$1
+DST=/home/data/httpd/download-staging.priv/tools/mylyn/hudson/signing
+OUT=$DST/output
+LOG=/home/data/httpd/download-staging.priv/arch/signer.log
+
+# prepare
+
+rm -rf $DST
+mkdir -p $DST
+mkdir -p $OUT
+
+# create zip
+
+echo Creating archive for signing
+
+cd $SRC
+/usr/bin/find -name "org.eclipse*mylyn*.jar" | zip $DST/mylyn.zip -@
+
+# sign
+
+/usr/bin/sign $DST/mylyn.zip nomail $OUT
+
+# wait up to 30 minutes for signing to complete
+
+tail -f $LOG | grep -E \(Extracting\|Finished\) &
+
+I=0
+while [ $I -lt 60 ] && [ ! -e $OUT/mylyn.zip ]; do
+ echo Waiting for $OUT/mylyn.zip
+ sleep 30
+ let I=I+1
+done
+
+PID=`jobs -l -p`
+kill $PID
+
+if [ ! -e $OUT/mylyn.zip ]
+then
+ echo
+ echo Signing Failed: Timeout waiting for $OUT/mylyn.zip
+ exit 1
+fi
+
+# unzip
+
+echo Unzipping signed files
+/usr/bin/unzip -o -d $SRC $OUT/mylyn.zip
+
+# cleanup
+
+rm $DST/mylyn.zip
diff --git a/org.eclipse.mylyn.incubator-site/pom.xml b/org.eclipse.mylyn.incubator-site/pom.xml
new file mode 100644
index 00000000..05f80f3d
--- /dev/null
+++ b/org.eclipse.mylyn.incubator-site/pom.xml
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright (C) 2009, Igor Fedorenko <igor@ifedorenko.com>
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+ -->
+<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.eclipse.mylyn.incubator</groupId>
+ <artifactId>mylyn-incubator-parent</artifactId>
+ <version>0.0.1-SNAPSHOT</version>
+ </parent>
+ <artifactId>incubator-site</artifactId>
+ <version>3.5.0-SNAPSHOT</version>
+ <packaging>eclipse-update-site</packaging>
+ <name>Mylyn Incubator</name>
+ <properties>
+ <qualifier>${project.unqualifiedVersion}</qualifier>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.2-beta-4</version>
+ <configuration>
+ <descriptors>
+ <descriptor>assembly.xml</descriptor>
+ </descriptors>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-resources</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${basedir}/target/site</outputDirectory>
+ <resources>
+ <resource>
+ <directory>.</directory>
+ <includes>
+ <include>index.html</include>
+ <include>web/*</include>
+ </includes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.6</version>
+ <executions>
+ <execution>
+ <id>pack-and-sign</id>
+ <phase>install</phase>
+ <configuration>
+ <target>
+ <ant antfile="pack-and-sign/build.xml">
+ <property name="localRepository" value="${settings.localRepository}"/>
+ <property name="projectDir" value="${project.build.directory}"/>
+ <property name="repositoryName" value="${mylyn-incubator-repository}"/>
+ <property name="pack200" value="${mylyn-pack200}"/>
+ <property name="skipSign" value="${mylyn-skip-sign}"/>
+ </ant>
+ <echo file="${project.build.directory}/version.properties">
+ <![CDATA[
+${unqualifiedVersion}
+${buildQualifier}
+]]>
+ </echo>
+ </target>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+
+ </plugins>
+ </build>
+</project>
diff --git a/org.eclipse.mylyn.incubator-site/site.xml b/org.eclipse.mylyn.incubator-site/site.xml
new file mode 100644
index 00000000..6d53bc0a
--- /dev/null
+++ b/org.eclipse.mylyn.incubator-site/site.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<site>
+ <description url="http://download.eclipse.org/tools/mylyn/update/weekly/incubator">
+ Mylyn Incubator
+ </description>
+ <feature url="features/org.eclipse.mylyn.sandbox.ui_feature_0.0.0.jar" id="org.eclipse.mylyn.sandbox.ui_feature" version="0.0.0">
+ <category name="Incubator"/>
+ </feature>
+ <feature url="features/org.eclipse.mylyn.monitor_feature_0.0.0.jar" id="org.eclipse.mylyn.monitor_feature" version="0.0.0">
+ <category name="Incubator"/>
+ </feature>
+ <feature url="features/org.eclipse.mylyn.web.tasks_feature_0.0.0.jar" id="org.eclipse.mylyn.web.tasks_feature" version="0.0.0">
+ <category name="Incubator"/>
+ </feature>
+ <feature url="features/org.eclipse.mylyn.wikitext.sandbox_0.0.0.jar" id="org.eclipse.mylyn.wikitext.sandbox" version="0.0.0">
+ <category name="Incubator"/>
+ </feature>
+ <feature url="features/org.eclipse.mylyn.experimental_sdk_feature_0.0.0.jar" id="org.eclipse.mylyn.experimental_sdk_feature" version="0.0.0">
+ <category name="SDKIncubator"/>
+ </feature>
+ <category-def name="Incubator" label="Mylyn Incubator">
+ <description>
+ Mylyn bridges that integrate with documents and programming languages. Mylyn connectors that integrate with task repositories.
+ </description>
+ </category-def>
+ <category-def name="SDKIncubator" label="Mylyn Plug-in Development">
+ <description>
+ Source code and documentation for integrators building on Mylyn.
+ </description>
+ </category-def>
+</site>
diff --git a/pom.xml b/pom.xml
index 137aa0f5..3af8a991 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2,16 +2,64 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
- <parent>
- <groupId>org.eclipse.mylyn</groupId>
- <artifactId>mylyn-parent</artifactId>
- <version>3.5.0-SNAPSHOT</version>
- <relativePath>../org.eclipse.mylyn/org.eclipse.mylyn.releng</relativePath>
- </parent>
+
<groupId>org.eclipse.mylyn.incubator</groupId>
<artifactId>mylyn-incubator-parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
+
+ <properties>
+ <tycho-version>0.10.0</tycho-version>
+
+ <mylyn-credentials></mylyn-credentials>
+ <mylyn-keyring>${basedir}/eclipse.keyring</mylyn-keyring>
+ <mylyn-keyring-password>${basedir}/eclipse.keyring.password</mylyn-keyring-password>
+
+ <mylyn-skip-source-check>true</mylyn-skip-source-check>
+ <mylyn-skip-sign>true</mylyn-skip-sign>
+
+ <mylyn-test-args>-ea -Dmylyn.credentials=${mylyn-credentials}</mylyn-test-args>
+ <mylyn-test-app-args>-eclipse.keyring ${mylyn-keyring} -eclipse.password ${mylyn-keyring-password}</mylyn-test-app-args>
+ <mylyn-test-append></mylyn-test-append>
+
+ <mylyn-incubator-repository>Mylyn Incubator</mylyn-incubator-repository>
+
+ <mylyn-pack200>${java.home}/bin</mylyn-pack200>
+
+ <!--<maven.test.skip>true</maven.test.skip>-->
+ <maven.test.error.ignore>true</maven.test.error.ignore>
+ <maven.test.failure.ignore>true</maven.test.failure.ignore>
+ </properties>
+
+ <mailingLists>
+ <mailingList>
+ <name>Mylyn Incubator Mailing List</name>
+ <post>mylyn-incubator-dev@eclipse.org</post>
+ <subscribe>https://dev.eclipse.org/mailman/listinfo/mylyn-incubator-dev</subscribe>
+ <unsubscribe>https://dev.eclipse.org/mailman/listinfo/mylyn-incubator-dev</unsubscribe>
+ <archive>http://dev.eclipse.org/mhonarc/lists/mylyn-incubator-dev</archive>
+ </mailingList>
+ </mailingLists>
+
+ <issueManagement>
+ <url>https://bugs.eclipse.org/bugs/buglist.cgi?query_format=advanced;classification=Mylyn;product=Mylyn%20Incubator</url>
+ <system>Bugzilla</system>
+ </issueManagement>
+
+ <licenses>
+ <license>
+ <name>Eclipse Public License v1.0</name>
+ <comments>
+ All rights reserved.
+
+ This program and the accompanying materials are made
+ available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.htm
+ </comments>
+ </license>
+ </licenses>
+
<modules>
<module>org.eclipse.mylyn.examples.monitor.study</module>
<module>org.eclipse.mylyn.ide.capabilities</module>
@@ -31,5 +79,225 @@
<module>org.eclipse.mylyn.wikitext.sandbox-feature</module>
<module>org.eclipse.mylyn.wikitext.sandbox.ui</module>
<module>org.eclipse.mylyn.experimental-sdk-feature</module>
+ <module>org.eclipse.mylyn.incubator-site</module>
</modules>
+
+ <repositories>
+ <repository>
+ <id>eclipse-mylyn</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/mylyn/snapshots/weekly/</url>
+ </repository>
+ <repository>
+ <id>eclipse-orbit</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/tools/orbit/committers/drops/S20110124210048/repository/</url>
+ </repository>
+ </repositories>
+
+ <profiles>
+ <profile>
+ <id>galileo</id>
+ <properties>
+ <platform-version>[3.5.0,3.6.0)</platform-version>
+ </properties>
+ <repositories>
+ <repository>
+ <id>galileo</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/releases/galileo/</url>
+ </repository>
+ </repositories>
+ </profile>
+ <profile>
+ <id>helios</id>
+ <properties>
+ <platform-version>[3.6.0,3.7.0)</platform-version>
+ </properties>
+ <repositories>
+ <repository>
+ <id>helios</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/releases/helios/</url>
+ </repository>
+ </repositories>
+ </profile>
+ <profile>
+ <id>indigo</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <properties>
+ <platform-version>[3.7.0,3.8.0)</platform-version>
+ </properties>
+ <repositories>
+ <repository>
+ <id>indigo</id>
+ <layout>p2</layout>
+ <url>http://download.eclipse.org/releases/indigo/</url>
+ </repository>
+ </repositories>
+ </profile>
+ <profile>
+ <id>hudson.eclipse.org</id>
+ <activation>
+ <property>
+ <name>user.name</name>
+ <value>hudsonbuild</value>
+ </property>
+ </activation>
+ <properties>
+ <mylyn-credentials>${env.WORKSPACE}/credentials.properties</mylyn-credentials>
+ <mylyn-keyring>${env.WORKSPACE}/keyring</mylyn-keyring>
+ <mylyn-keyring-password>${env.WORKSPACE}/keyring.password</mylyn-keyring-password>
+ <mylyn-pack200>/shared/common/jdk-1.5.0-22.x86_64/bin</mylyn-pack200>
+ <mylyn-test-args>-ea -Dmylyn.credentials=${mylyn-credentials} -Dorg.eclipse.mylyn.wikitext.tests.disableOutput=true -Dhttp.proxyHost=proxy.eclipse.org -Dhttp.proxyPort=9898 -DhttpnonProxyHosts=wiki.eclipse.org</mylyn-test-args>
+ <mylyn-test-app-args>-eclipse.keyring ${mylyn-keyring} -eclipse.password ${mylyn-keyring-password}</mylyn-test-app-args>
+ </properties>
+ </profile>
+ </profiles>
+
+ <pluginRepositories>
+ <pluginRepository>
+ <!-- need maven-findbugs-2.3.2-SNAPSHOT, see
+ http://jira.codehaus.org/browse/MFINDBUGS-122
+ remove this when this version is released -->
+ <id>codehaus.snapshots</id>
+ <url>http://snapshots.repository.codehaus.org/</url>
+ </pluginRepository>
+ </pluginRepositories>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>tycho-maven-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <extensions>true</extensions>
+ </plugin>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>target-platform-configuration</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <resolver>p2</resolver>
+ <environments>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>win32</os>
+ <ws>win32</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86</arch>
+ </environment>
+ <environment>
+ <os>linux</os>
+ <ws>gtk</ws>
+ <arch>x86_64</arch>
+ </environment>
+ <environment>
+ <os>macosx</os>
+ <ws>cocoa</ws>
+ <arch>x86_64</arch>
+ </environment>
+ </environments>
+ </configuration>
+ </plugin>
+ </plugins>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-compiler-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <!-- TODO remove workaround when
+ https://issues.sonatype.org/browse/TYCHO-473
+ is fixed -->
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-source-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <executions>
+ <execution>
+ <id>attach-source</id>
+ <phase>process-classes</phase>
+ <goals>
+ <goal>plugin-source</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.sonatype.tycho</groupId>
+ <artifactId>maven-osgi-packaging-plugin</artifactId>
+ <version>${tycho-version}</version>
+ <configuration>
+ <format>'I'yyyyMMdd-HHmm</format>
+ <archiveSite>true</archiveSite>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.4.1</version>
+ <configuration>
+ <encoding>ISO-8859-1</encoding>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>1.3</version>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>findbugs-maven-plugin</artifactId>
+ <version>2.3.2-SNAPSHOT</version>
+ <configuration>
+ <findbugsXmlOutput>true</findbugsXmlOutput>
+ <failOnError>false</failOnError>
+ <skip>true</skip>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.5</version>
+ <configuration>
+ <sourceEncoding>utf-8</sourceEncoding>
+ <minimumTokens>100</minimumTokens>
+ <targetJdk>1.5</targetJdk>
+ <format>xml</format>
+ <failOnViolation>false</failOnViolation>
+ <skip>true</skip>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>cpd-check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
</project>

Back to the top