From d06aa4a787aa3979b1d219222dcc2ac67ddf8b4b Mon Sep 17 00:00:00 2001 From: Mykola Nikishov Date: Wed, 9 Dec 2015 19:20:27 +0200 Subject: [PATCH 1/5] Build with Maven/Tycho Initial POM using POM-less feature [1]. [1] https://wiki.eclipse.org/Tycho/Release_Notes/0.24#POM-less_Tycho_builds --- .mvn/extensions.xml | 8 ++++++++ README.md | 5 +++++ pom.xml | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+) create mode 100644 .mvn/extensions.xml create mode 100644 pom.xml diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml new file mode 100644 index 0000000..d5055af --- /dev/null +++ b/.mvn/extensions.xml @@ -0,0 +1,8 @@ + + + + org.eclipse.tycho.extras + tycho-pomless + 0.24.0 + + diff --git a/README.md b/README.md index 64cee65..52ffdf5 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,8 @@ e4macs ====== Sources to the Emacs+ plugin for Eclipse [e4 releases starting at Kepler] + +How to build +------------ +* install Apache Maven 3.3+ +* run `mvn clean install` diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..6fd7d8c --- /dev/null +++ b/pom.xml @@ -0,0 +1,36 @@ + + + 4.0.0 + com.mulgasoft.emacsplus + parent + 0.0.1-SNAPSHOT + pom + + + 0.24.0 + + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho.version} + true + + + + + + Emacs+ + Emacs+Feature + Emacs+MacCmd + Emacs+MacCmdFeature + Emacs+MacCmdOptionalBindings + Emacs+MacCmdOptionalFeature + Emacs+OptionalBindings + Emacs+OptionalFeature + + + From afd6c10fdf2dd6723aef28c5b92e3fd278fb462a Mon Sep 17 00:00:00 2001 From: Mykola Nikishov Date: Wed, 9 Dec 2015 20:46:15 +0200 Subject: [PATCH 2/5] Add Kepler's p2 repository --- pom.xml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pom.xml b/pom.xml index 6fd7d8c..5ecb541 100644 --- a/pom.xml +++ b/pom.xml @@ -33,4 +33,13 @@ Emacs+OptionalFeature + + + + kepler + p2 + http://download.eclipse.org/releases/kepler + + + From a04c8eead33fc4320abe1c310a4f2603c4e7fe9f Mon Sep 17 00:00:00 2001 From: Mykola Nikishov Date: Wed, 9 Dec 2015 20:56:52 +0200 Subject: [PATCH 3/5] Enable Travis CI builds --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e2ee72a --- /dev/null +++ b/.travis.yml @@ -0,0 +1,10 @@ +sudo: false +language: java +cache: + directories: + - $HOME/.m2 + +jdk: + - oraclejdk8 + - oraclejdk7 + - openjdk7 From a67bb1cf070c275a4731a663bfd8b99caa09304e Mon Sep 17 00:00:00 2001 From: Mykola Nikishov Date: Thu, 10 Dec 2015 18:54:11 +0200 Subject: [PATCH 4/5] Install Maven 3.3.x manually POM-less builds require Maven 3.3+ but Travis CI provides Maven 3.2 out of the box. [1] https://docs.travis-ci.com/user/customizing-the-build/ [2] https://github.com/travis-ci/travis-ci/issues/4872 [3] https://github.com/travis-ci/travis-ci/issues/3778 --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index e2ee72a..e150c13 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,3 +8,9 @@ jdk: - oraclejdk8 - oraclejdk7 - openjdk7 + +before_install: + - wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip + - unzip -qq apache-maven-3.3.9-bin.zip + - export M2_HOME=$PWD/apache-maven-3.3.9 + - export PATH=$M2_HOME/bin:$PATH From 04faf832cf7d0cf4d8c8fd315fdeb9e886ec1879 Mon Sep 17 00:00:00 2001 From: Mykola Nikishov Date: Thu, 14 Mar 2019 11:22:35 +0200 Subject: [PATCH 5/5] Build against Java 8, Java 9 and Java 11 --- .travis.yml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index e150c13..00f9db1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,13 @@ cache: jdk: - oraclejdk8 - - oraclejdk7 - - openjdk7 + - oraclejdk9 + - oraclejdk11 + +matrix: + allow_failures: + - jdk: oraclejdk9 + - jdk: oraclejdk11 before_install: - wget https://archive.apache.org/dist/maven/maven-3/3.3.9/binaries/apache-maven-3.3.9-bin.zip