From 959e5a6bcd373274f281b66e9c1ab23449bb3730 Mon Sep 17 00:00:00 2001 From: "Ian D. Bollinger" Date: Mon, 23 Jun 2014 18:56:30 -0400 Subject: [PATCH] Automate builds with Eclipse Tycho While Eclipse Tycho is unbelievably awful, it's still better than nothing. Apparently a good percentage (50%+) of Eclipse plug-ins are using it for their builds. To invoke: * All plug-ins may be built using "mvn compile". * All tests may be run using "mvn integration-test." Currently, there are failing tests and they are ignored so that Maven will continue to run the remaining tests. A number of these failures are probably due to the test harness. Once the test failures are fixed, we can disable ignoring test failures. After that, we can set up continuous integration with Travis CI. Other alterations: * Added a root `.project` file so root files like the parent pom were easier to edit in Eclipse. * Added `target/` to root `.gitignore` since Maven uses `target/` subdirectories for builds. As an added bonus, easymock is now obtained from Eclipse Orbit. This should mean that we can drop easymock from the repository. --- .gitignore | 1 + .project | 11 ++ net.sf.eclipsefp.haskell-feature/pom.xml | 14 ++ net.sf.eclipsefp.haskell-update-site/pom.xml | 14 ++ net.sf.eclipsefp.haskell.browser/pom.xml | 14 ++ net.sf.eclipsefp.haskell.buildwrapper/pom.xml | 14 ++ net.sf.eclipsefp.haskell.compat/pom.xml | 14 ++ net.sf.eclipsefp.haskell.core.test/pom.xml | 14 ++ net.sf.eclipsefp.haskell.core/pom.xml | 14 ++ net.sf.eclipsefp.haskell.debug.core/pom.xml | 14 ++ .../pom.xml | 14 ++ net.sf.eclipsefp.haskell.debug.ui/pom.xml | 14 ++ net.sf.eclipsefp.haskell.doc.user/pom.xml | 14 ++ .../pom.xml | 14 ++ net.sf.eclipsefp.haskell.ghccompiler/pom.xml | 14 ++ net.sf.eclipsefp.haskell.hlint.test/pom.xml | 14 ++ net.sf.eclipsefp.haskell.hlint/pom.xml | 14 ++ net.sf.eclipsefp.haskell.hugs/pom.xml | 14 ++ net.sf.eclipsefp.haskell.profiler/pom.xml | 14 ++ net.sf.eclipsefp.haskell.style.test/pom.xml | 14 ++ net.sf.eclipsefp.haskell.style/pom.xml | 14 ++ net.sf.eclipsefp.haskell.test/pom.xml | 14 ++ net.sf.eclipsefp.haskell.ui.test/pom.xml | 27 ++++ net.sf.eclipsefp.haskell.ui/pom.xml | 14 ++ net.sf.eclipsefp.haskell.util.test/pom.xml | 14 ++ net.sf.eclipsefp.haskell.util/pom.xml | 14 ++ net.sf.eclipsefp.haskell.visual/pom.xml | 14 ++ net.sf.eclipsefp.haskell/pom.xml | 14 ++ org.easymock/META-INF/MANIFEST.MF | 2 +- org.easymock/pom.xml | 14 ++ pom.xml | 124 ++++++++++++++++++ 31 files changed, 528 insertions(+), 1 deletion(-) create mode 100644 .project create mode 100644 net.sf.eclipsefp.haskell-feature/pom.xml create mode 100644 net.sf.eclipsefp.haskell-update-site/pom.xml create mode 100644 net.sf.eclipsefp.haskell.browser/pom.xml create mode 100644 net.sf.eclipsefp.haskell.buildwrapper/pom.xml create mode 100644 net.sf.eclipsefp.haskell.compat/pom.xml create mode 100644 net.sf.eclipsefp.haskell.core.test/pom.xml create mode 100644 net.sf.eclipsefp.haskell.core/pom.xml create mode 100644 net.sf.eclipsefp.haskell.debug.core/pom.xml create mode 100644 net.sf.eclipsefp.haskell.debug.ui.test/pom.xml create mode 100644 net.sf.eclipsefp.haskell.debug.ui/pom.xml create mode 100644 net.sf.eclipsefp.haskell.doc.user/pom.xml create mode 100644 net.sf.eclipsefp.haskell.ghccompiler.test/pom.xml create mode 100644 net.sf.eclipsefp.haskell.ghccompiler/pom.xml create mode 100644 net.sf.eclipsefp.haskell.hlint.test/pom.xml create mode 100644 net.sf.eclipsefp.haskell.hlint/pom.xml create mode 100644 net.sf.eclipsefp.haskell.hugs/pom.xml create mode 100644 net.sf.eclipsefp.haskell.profiler/pom.xml create mode 100644 net.sf.eclipsefp.haskell.style.test/pom.xml create mode 100644 net.sf.eclipsefp.haskell.style/pom.xml create mode 100644 net.sf.eclipsefp.haskell.test/pom.xml create mode 100644 net.sf.eclipsefp.haskell.ui.test/pom.xml create mode 100644 net.sf.eclipsefp.haskell.ui/pom.xml create mode 100644 net.sf.eclipsefp.haskell.util.test/pom.xml create mode 100644 net.sf.eclipsefp.haskell.util/pom.xml create mode 100644 net.sf.eclipsefp.haskell.visual/pom.xml create mode 100644 net.sf.eclipsefp.haskell/pom.xml create mode 100644 org.easymock/pom.xml create mode 100644 pom.xml diff --git a/.gitignore b/.gitignore index 15fda4166..4bea7684a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,3 +11,4 @@ CompilationThroughScion_files /cabal-dev ast.txt .metadata +target/ diff --git a/.project b/.project new file mode 100644 index 000000000..a23c43fa5 --- /dev/null +++ b/.project @@ -0,0 +1,11 @@ + + + eclipsefp + + + + + + + + diff --git a/net.sf.eclipsefp.haskell-feature/pom.xml b/net.sf.eclipsefp.haskell-feature/pom.xml new file mode 100644 index 000000000..e61316e87 --- /dev/null +++ b/net.sf.eclipsefp.haskell-feature/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell + 2.6.1-SNAPSHOT + eclipse-feature + diff --git a/net.sf.eclipsefp.haskell-update-site/pom.xml b/net.sf.eclipsefp.haskell-update-site/pom.xml new file mode 100644 index 000000000..cecb49b77 --- /dev/null +++ b/net.sf.eclipsefp.haskell-update-site/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell-update-site + 0.0.1-SNAPSHOT + eclipse-update-site + diff --git a/net.sf.eclipsefp.haskell.browser/pom.xml b/net.sf.eclipsefp.haskell.browser/pom.xml new file mode 100644 index 000000000..7f6c19013 --- /dev/null +++ b/net.sf.eclipsefp.haskell.browser/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.browser + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.buildwrapper/pom.xml b/net.sf.eclipsefp.haskell.buildwrapper/pom.xml new file mode 100644 index 000000000..9a88bf41d --- /dev/null +++ b/net.sf.eclipsefp.haskell.buildwrapper/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.buildwrapper + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.compat/pom.xml b/net.sf.eclipsefp.haskell.compat/pom.xml new file mode 100644 index 000000000..7a71d8edf --- /dev/null +++ b/net.sf.eclipsefp.haskell.compat/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.compat + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.core.test/pom.xml b/net.sf.eclipsefp.haskell.core.test/pom.xml new file mode 100644 index 000000000..ea88958e1 --- /dev/null +++ b/net.sf.eclipsefp.haskell.core.test/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.core.test + 2.6.1-SNAPSHOT + eclipse-test-plugin + diff --git a/net.sf.eclipsefp.haskell.core/pom.xml b/net.sf.eclipsefp.haskell.core/pom.xml new file mode 100644 index 000000000..339d75612 --- /dev/null +++ b/net.sf.eclipsefp.haskell.core/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.core + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.debug.core/pom.xml b/net.sf.eclipsefp.haskell.debug.core/pom.xml new file mode 100644 index 000000000..3a3211f2d --- /dev/null +++ b/net.sf.eclipsefp.haskell.debug.core/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.debug.core + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.debug.ui.test/pom.xml b/net.sf.eclipsefp.haskell.debug.ui.test/pom.xml new file mode 100644 index 000000000..b0cd9aca4 --- /dev/null +++ b/net.sf.eclipsefp.haskell.debug.ui.test/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.debug.ui.test + 2.6.1-SNAPSHOT + eclipse-test-plugin + diff --git a/net.sf.eclipsefp.haskell.debug.ui/pom.xml b/net.sf.eclipsefp.haskell.debug.ui/pom.xml new file mode 100644 index 000000000..3cfe5bdb4 --- /dev/null +++ b/net.sf.eclipsefp.haskell.debug.ui/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.debug.ui + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.doc.user/pom.xml b/net.sf.eclipsefp.haskell.doc.user/pom.xml new file mode 100644 index 000000000..3d7de654d --- /dev/null +++ b/net.sf.eclipsefp.haskell.doc.user/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.doc.user + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.ghccompiler.test/pom.xml b/net.sf.eclipsefp.haskell.ghccompiler.test/pom.xml new file mode 100644 index 000000000..490f2e8af --- /dev/null +++ b/net.sf.eclipsefp.haskell.ghccompiler.test/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.ghccompiler.test + 2.6.1-SNAPSHOT + eclipse-test-plugin + diff --git a/net.sf.eclipsefp.haskell.ghccompiler/pom.xml b/net.sf.eclipsefp.haskell.ghccompiler/pom.xml new file mode 100644 index 000000000..d95cfee3c --- /dev/null +++ b/net.sf.eclipsefp.haskell.ghccompiler/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.ghccompiler + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.hlint.test/pom.xml b/net.sf.eclipsefp.haskell.hlint.test/pom.xml new file mode 100644 index 000000000..6f3bfef0d --- /dev/null +++ b/net.sf.eclipsefp.haskell.hlint.test/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.hlint.test + 2.6.1-SNAPSHOT + eclipse-test-plugin + diff --git a/net.sf.eclipsefp.haskell.hlint/pom.xml b/net.sf.eclipsefp.haskell.hlint/pom.xml new file mode 100644 index 000000000..e86abb7bd --- /dev/null +++ b/net.sf.eclipsefp.haskell.hlint/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.hlint + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.hugs/pom.xml b/net.sf.eclipsefp.haskell.hugs/pom.xml new file mode 100644 index 000000000..1ebf1fb46 --- /dev/null +++ b/net.sf.eclipsefp.haskell.hugs/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.hugs + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.profiler/pom.xml b/net.sf.eclipsefp.haskell.profiler/pom.xml new file mode 100644 index 000000000..c2090848b --- /dev/null +++ b/net.sf.eclipsefp.haskell.profiler/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.profiler + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.style.test/pom.xml b/net.sf.eclipsefp.haskell.style.test/pom.xml new file mode 100644 index 000000000..d5fa5aa52 --- /dev/null +++ b/net.sf.eclipsefp.haskell.style.test/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.style.test + 2.6.1-SNAPSHOT + eclipse-test-plugin + diff --git a/net.sf.eclipsefp.haskell.style/pom.xml b/net.sf.eclipsefp.haskell.style/pom.xml new file mode 100644 index 000000000..e7330b849 --- /dev/null +++ b/net.sf.eclipsefp.haskell.style/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.style + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.test/pom.xml b/net.sf.eclipsefp.haskell.test/pom.xml new file mode 100644 index 000000000..39b222110 --- /dev/null +++ b/net.sf.eclipsefp.haskell.test/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.test + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.ui.test/pom.xml b/net.sf.eclipsefp.haskell.ui.test/pom.xml new file mode 100644 index 000000000..8ece8429b --- /dev/null +++ b/net.sf.eclipsefp.haskell.ui.test/pom.xml @@ -0,0 +1,27 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.ui.test + 2.6.1-SNAPSHOT + eclipse-test-plugin + + + + org.eclipse.tycho + tycho-surefire-plugin + + true + false + 30 + + + + + diff --git a/net.sf.eclipsefp.haskell.ui/pom.xml b/net.sf.eclipsefp.haskell.ui/pom.xml new file mode 100644 index 000000000..a44d42e87 --- /dev/null +++ b/net.sf.eclipsefp.haskell.ui/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.ui + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.util.test/pom.xml b/net.sf.eclipsefp.haskell.util.test/pom.xml new file mode 100644 index 000000000..1440c504d --- /dev/null +++ b/net.sf.eclipsefp.haskell.util.test/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.util.test + 2.6.1-SNAPSHOT + eclipse-test-plugin + diff --git a/net.sf.eclipsefp.haskell.util/pom.xml b/net.sf.eclipsefp.haskell.util/pom.xml new file mode 100644 index 000000000..ecece3d45 --- /dev/null +++ b/net.sf.eclipsefp.haskell.util/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.util + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell.visual/pom.xml b/net.sf.eclipsefp.haskell.visual/pom.xml new file mode 100644 index 000000000..9c0a66ba8 --- /dev/null +++ b/net.sf.eclipsefp.haskell.visual/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell.visual + 2.6.1-SNAPSHOT + eclipse-plugin + diff --git a/net.sf.eclipsefp.haskell/pom.xml b/net.sf.eclipsefp.haskell/pom.xml new file mode 100644 index 000000000..b4c4f6ee5 --- /dev/null +++ b/net.sf.eclipsefp.haskell/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + net.sf.eclipsefp.haskell + 2.6.0-SNAPSHOT + eclipse-plugin + diff --git a/org.easymock/META-INF/MANIFEST.MF b/org.easymock/META-INF/MANIFEST.MF index 467df1da4..4e9aef866 100644 --- a/org.easymock/META-INF/MANIFEST.MF +++ b/org.easymock/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %bundleName Bundle-SymbolicName: org.easymock -Bundle-Version: 2.2 +Bundle-Version: 2.2.0 Bundle-Vendor: %bundleVendor Bundle-Localization: plugin Bundle-ClassPath: lib/easymock.jar diff --git a/org.easymock/pom.xml b/org.easymock/pom.xml new file mode 100644 index 000000000..baa27e39a --- /dev/null +++ b/org.easymock/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + + net.sf.eclipsefp + org.easymock + 2.2.0 + eclipse-plugin + diff --git a/pom.xml b/pom.xml new file mode 100644 index 000000000..be9ce596b --- /dev/null +++ b/pom.xml @@ -0,0 +1,124 @@ + + + 4.0.0 + net.sf.eclipsefp + eclipsefp + 0.0.1-SNAPSHOT + pom + + 0.20.0 + UTF-8 + + + + eclipse-kepler + p2 + http://download.eclipse.org/releases/kepler + + + eclipse-birt + p2 + http://download.eclipse.org/birt/update-site/4.3 + + + orbit + p2 + http://download.eclipse.org/tools/orbit/downloads/drops/R20140525021250/repository/ + + + + net.sf.eclipsefp.haskell + net.sf.eclipsefp.haskell-feature + + + net.sf.eclipsefp.haskell.browser + net.sf.eclipsefp.haskell.buildwrapper + net.sf.eclipsefp.haskell.compat + net.sf.eclipsefp.haskell.core + net.sf.eclipsefp.haskell.core.test + net.sf.eclipsefp.haskell.debug.core + net.sf.eclipsefp.haskell.debug.ui + net.sf.eclipsefp.haskell.debug.ui.test + net.sf.eclipsefp.haskell.doc.user + net.sf.eclipsefp.haskell.ghccompiler + net.sf.eclipsefp.haskell.ghccompiler.test + net.sf.eclipsefp.haskell.hlint + net.sf.eclipsefp.haskell.hlint.test + net.sf.eclipsefp.haskell.hugs + net.sf.eclipsefp.haskell.profiler + net.sf.eclipsefp.haskell.style + net.sf.eclipsefp.haskell.style.test + net.sf.eclipsefp.haskell.test + net.sf.eclipsefp.haskell.ui + net.sf.eclipsefp.haskell.ui.test + net.sf.eclipsefp.haskell.util + net.sf.eclipsefp.haskell.util.test + net.sf.eclipsefp.haskell.visual + + + + + + org.eclipse.tycho + tycho-surefire-plugin + ${tycho-version} + + + true + + + + + + + org.eclipse.tycho + tycho-maven-plugin + ${tycho-version} + true + + + org.eclipse.tycho + tycho-compiler-plugin + ${tycho-version} + + -err:-forbidden + + + + org.eclipse.tycho + target-platform-configuration + ${tycho-version} + + + + linux + gtk + x86 + + + linux + gtk + x86_64 + + + win32 + win32 + x86 + + + win32 + win32 + x86_64 + + + macosx + cocoa + x86_64 + + + + + + +