Skip to content

Commit

Permalink
Automate builds with Eclipse Tycho
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
ianbollinger committed Jun 23, 2014
1 parent c51e7cb commit 959e5a6
Show file tree
Hide file tree
Showing 31 changed files with 528 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -11,3 +11,4 @@ CompilationThroughScion_files
/cabal-dev /cabal-dev
ast.txt ast.txt
.metadata .metadata
target/
11 changes: 11 additions & 0 deletions .project
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>eclipsefp</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell-feature/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell-update-site/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell-update-site</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>eclipse-update-site</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.browser/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.browser</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.buildwrapper/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.buildwrapper</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.compat/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.compat</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.core.test/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.core.test</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.core/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.core</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.debug.core/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.debug.core</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.debug.ui.test/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.debug.ui.test</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.debug.ui/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.debug.ui</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.doc.user/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.doc.user</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.ghccompiler.test/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.ghccompiler.test</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.ghccompiler/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.ghccompiler</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.hlint.test/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.hlint.test</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.hlint/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.hlint</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.hugs/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.hugs</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.profiler/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.profiler</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.style.test/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.style.test</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.style/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.style</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.test/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.test</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
27 changes: 27 additions & 0 deletions net.sf.eclipsefp.haskell.ui.test/pom.xml
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.ui.test</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>
<forkedProcessTimeoutInSeconds>30</forkedProcessTimeoutInSeconds>
</configuration>
</plugin>
</plugins>
</build>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.ui/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.ui</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.util.test/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.util.test</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-test-plugin</packaging>
</project>
14 changes: 14 additions & 0 deletions net.sf.eclipsefp.haskell.util/pom.xml
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<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>net.sf.eclipsefp</groupId>
<artifactId>eclipsefp</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
<groupId>net.sf.eclipsefp</groupId>
<artifactId>net.sf.eclipsefp.haskell.util</artifactId>
<version>2.6.1-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>

0 comments on commit 959e5a6

Please sign in to comment.