diff options
authorMatthias Sohn2013-04-18 18:15:44 -0400
committerSzymon Brandys2013-05-14 07:29:53 -0400
commit18842f0d6f63f77eb59aa579ac0a1b5701708e5b (patch)
parenta174ddf5f3ef4cc74a13a2cc3bf3a44a5117c34f (diff)
Bug 399023 - Prepare Hudson build
There is no simple way to fetch from 2 git repositories in one Hudson job. Hence enable a second build mode to enable splitting the build into 2 jobs on Hudson: - first job to build the client bundles, resulting artifacts will be uploaded to Nexus - second job to build the server, features, product and p2 repository and also perform static checks using findbugs and pmd. This job consumes the client bundles from Nexus. In order to build the server job call mvn clean install -P platform-kepler,static-checks To simplify local build of both client and server by default the parameterless build of the server will also build the client bundles and skip the static checks to reduce local build time. To build everything in one local build run use the following command from the server's root directory: mvn clean install
1 files changed, 9 insertions, 5 deletions
diff --git a/pom.xml b/pom.xml
index d279a42..951e844 100644
--- a/pom.xml
+++ b/pom.xml
@@ -89,6 +89,15 @@
+ <profile>
+ <id>local-build</id>
+ <activation>
+ <activeByDefault>true</activeByDefault>
+ </activation>
+ <modules>
+ <module>../org.eclipse.orion.client</module>
+ </modules>
+ </profile>
@@ -113,11 +122,6 @@
<!-- <module>tests/org.eclipse.orion.server.tests</module> -->
- <module>../org.eclipse.orion.client/bundles/org.eclipse.orion.client.core</module>
- <module>../org.eclipse.orion.client/bundles/org.eclipse.orion.client.editor</module>
- <module>../org.eclipse.orion.client/bundles/org.eclipse.orion.client.git</module>
- <module>../org.eclipse.orion.client/bundles/org.eclipse.orion.client.ui</module>
- <module>../org.eclipse.orion.client/bundles/org.eclipse.orion.client.users</module>