Skip to content

Instantly share code, notes, and snippets.

@branflake2267
Created February 13, 2015 22:27
Show Gist options
  • Save branflake2267/02ec722c22ce419273cf to your computer and use it in GitHub Desktop.
Save branflake2267/02ec722c22ce419273cf to your computer and use it in GitHub Desktop.
trunk/pom.xml
<?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>
<groupId>com.google.eclipse.gpe</groupId>
<artifactId>trunk</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>gpe-repo</module>
<module>features/com.google.appengine.eclipse.wtp.maven.feature</module>
<module>features/com.google.gdt.eclipse.mobile.android.feature</module>
<module>features/com.google.gdt.eclipse.suite.e44.feature</module>
<module>plugins/com.google.appengine.eclipse.core</module>
<module>plugins/com.google.appengine.eclipse.core.test</module>
<module>plugins/com.google.appengine.eclipse.core.test.swtbot</module>
<module>plugins/com.google.appengine.eclipse.datatools</module>
<module>plugins/com.google.appengine.eclipse.dependencies</module>
<module>plugins/com.google.appengine.eclipse.webtools</module>
<module>plugins/com.google.appengine.eclipse.webtools.test</module>
<module>plugins/com.google.appengine.eclipse.wtp</module>
<module>plugins/com.google.appengine.eclipse.wtp.jpa</module>
<module>plugins/com.google.appengine.eclipse.wtp.jpa.e43</module>
<module>plugins/com.google.appengine.eclipse.wtp.maven</module>
<module>plugins/com.google.appengine.eclipse.wtp.swarm</module>
<module>plugins/com.google.cloudsdk.eclipse.wtp</module>
<module>plugins/com.google.cloudsdk.eclipse.wtp.test</module>
<module>plugins/com.google.gcp.eclipse.testing</module>
<module>plugins/com.google.gdt.eclipse.apiclientlib</module>
<module>plugins/com.google.gdt.eclipse.appengine.api</module>
<module>plugins/com.google.gdt.eclipse.appengine.api.test</module>
<module>plugins/com.google.gdt.eclipse.appengine.swarm</module>
<module>plugins/com.google.gdt.eclipse.appengine.swarm_backend</module>
<module>plugins/com.google.gdt.eclipse.appengine.swarm_backend.test.swtbot</module>
<module>plugins/com.google.gdt.eclipse.appengine.swarm.test.swtbot</module>
<module>plugins/com.google.gdt.eclipse.core</module>
<module>plugins/com.google.gdt.eclipse.core.test</module>
<module>plugins/com.google.gdt.eclipse.drive</module>
<module>plugins/com.google.gdt.eclipse.drive.test</module>
<module>plugins/com.google.gdt.eclipse.login</module>
<module>plugins/com.google.gdt.eclipse.login.test.swtbot</module>
<module>plugins/com.google.gdt.eclipse.managedapis</module>
<module>plugins/com.google.gdt.eclipse.managedapis.test</module>
<module>plugins/com.google.gdt.eclipse.maven</module>
<module>plugins/com.google.gdt.eclipse.mobile.android</module>
<module>plugins/com.google.gdt.eclipse.platform</module>
<module>plugins/com.google.gdt.eclipse.suite</module>
<module>plugins/com.google.gdt.eclipse.suite.test</module>
<module>plugins/com.google.gdt.eclipse.suite.test.swtbot</module>
<module>plugins/com.google.gdt.eclipse.suite.update</module>
<module>plugins/com.google.gdt.eclipse.swtbot</module>
<module>plugins/com.google.gwt.eclipse.core</module>
<module>plugins/com.google.gwt.eclipse.core.test</module>
<module>plugins/com.google.gwt.eclipse.core.test.swtbot</module>
<module>plugins/com.google.gwt.eclipse.libs</module>
<module>plugins/com.google.gwt.eclipse.oophm</module>
<module>plugins/com.google.gwt.eclipse.oophm.test</module>
<module>plugins/com.google.gwt.eclipse.testing</module>
</modules>
<properties>
<tycho.version>0.22.0</tycho.version>
<tycho-extras.version>0.22.0</tycho-extras.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- These constants are currently set up to build against Eclipse Luna. -->
<eclipse.target>luna</eclipse.target>
<jettyMinVersion>8.1</jettyMinVersion>
<jettyMaxVersion>8.2</jettyMaxVersion>
<swtbotVersion>2.2.1</swtbotVersion>
<!-- Repositories that Tycho will use to resolve compilation dependencies. -->
<adt-repo.url>http://dl-ssl.google.com/android/eclipse/</adt-repo.url>
<eclipse-repo.url>http://download.eclipse.org/releases/${eclipse.target}</eclipse-repo.url>
<swtbot-repo.url>http://download.eclipse.org/technology/swtbot/releases/latest/</swtbot-repo.url>
<comparator.repo>https://dl.google.com/eclipse/plugin/4.4</comparator.repo>
<!-- OS-specific JVM flags, empty for the default case but redefined below -->
<os-jvm-flags />
<uitest.vmparams>-Dorg.eclipse.swtbot.search.timeout=30000 -Xmx4g -XX:MaxPermSize=1g</uitest.vmparams>
</properties>
<repositories>
<repository>
<id>android</id>
<url>${adt-repo.url}</url>
<layout>p2</layout>
</repository>
<repository>
<id>eclipse</id>
<url>${eclipse-repo.url}</url>
<layout>p2</layout>
</repository>
<repository>
<id>swtbot</id>
<url>${swtbot-repo.url}</url>
<layout>p2</layout>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<filters>
<filter>
<type>java-package</type>
<id>org.eclipse.jetty.http</id>
<restrictTo>
<versionRange>[${jettyMinVersion},${jettyMaxVersion})</versionRange>
</restrictTo>
</filter>
</filters>
<environments>
<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>linux</os>
<ws>gtk</ws>
<arch>ppc</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>ppc64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>s390</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>s390x</arch>
</environment>
<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>macosx</os>
<ws>cocoa</ws>
<arch>x86</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>solaris</os>
<ws>gtk</ws>
<arch>sparc</arch>
</environment>
<environment>
<os>solaris</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>hpux</os>
<ws>gtk</ws>
<arch>ia64</arch>
</environment>
<environment>
<os>aix</os>
<ws>gtk</ws>
<arch>ppc</arch>
</environment>
<environment>
<os>aix</os>
<ws>gtk</ws>
<arch>ppc64</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<configuration>
<includes>
<include>**/*Test.java</include>
</includes>
<useUIHarness>true</useUIHarness>
<useUIThread>false</useUIThread>
<product>org.eclipse.sdk.ide</product>
<argLine>${ui.test.vmargs}</argLine>
<application>org.eclipse.ui.ide.workbench</application>
</configuration>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<showWarnings>true</showWarnings>
</configuration>
</plugin>
<!-- Reenable when the Git repo becomes the source of truth <plugin> <groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId> <version>${tycho.version}</version> <dependencies> <dependency>
<groupId>org.eclipse.tycho.extras</groupId> <artifactId>tycho-buildtimestamp-jgit</artifactId> <version>${tycho-extras.version}</version>
</dependency> <dependency> <groupId>org.eclipse.tycho.extras</groupId> <artifactId>tycho-sourceref-jgit</artifactId>
<version>${tycho-extras.version}</version> </dependency> </dependencies> <configuration> <strictBinIncludes>false</strictBinIncludes>
<format>'v'yyyyMMdd-HHmm</format> <timestampProvider>jgit</timestampProvider> <jgit.ignore> pom.xml </jgit.ignore>
<jgit.dirtyWorkingTree>${jgit.dirtyWorkingTree}</jgit.dirtyWorkingTree> <sourceReferences> <generate>true</generate>
</sourceReferences> <archive> <addMavenDescriptor>false</addMavenDescriptor> </archive> <additionalFileSets>
<fileSet> <directory>${project.build.directory}</directory> <includes> <include>.api_description</include>
</includes> </fileSet> </additionalFileSets> </configuration> </plugin> -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<argLine>-Xms40m -Xmx1G ${os-jvm-flags}</argLine>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<baselineMode>warn</baselineMode>
<baselineReplace>all</baselineReplace>
<baselineRepositories>
<repository>
<url>${comparator.repo}</url>
</repository>
</baselineRepositories>
</configuration>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>macosx-jvm-flags</id>
<activation>
<os>
<family>mac</family>
</os>
</activation>
<properties>
<os-jvm-flags>-XstartOnFirstThread</os-jvm-flags>
<ui.test.vmargs>${uitest.vmparams} -XstartOnFirstThread</ui.test.vmargs>
</properties>
</profile>
</profiles>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment