Created
June 1, 2010 17:09
-
-
Save wolfc/421181 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From d330865720d41e76d9f46f023272d757f1e680cd Mon Sep 17 00:00:00 2001 | |
From: Carlo de Wolf <[email protected]> | |
Date: Tue, 1 Jun 2010 18:33:06 +0200 | |
Subject: [PATCH] EJBTHREE-2104: hacks for maven 2.0.9 | |
--- | |
pom.xml | 8 +++++++- | |
1 files changed, 7 insertions(+), 1 deletions(-) | |
diff --git a/pom.xml b/pom.xml | |
index 25f3e41..0033ed4 100644 | |
--- a/pom.xml | |
+++ b/pom.xml | |
@@ -73,13 +73,19 @@ | |
<module>timeout-spi</module> | |
</modules> | |
+ <!-- By default we build all modules. --> | |
<!-- if we do '-P !ejb-3.1' do not build EJB 3.1 stuff --> | |
+ <!-- When using 2.0.9 you can only have one profile active (bug), | |
+ so specifying -P ejb3.0 will give you only EJB 3.0 stuff. | |
+ When using 2.0.10+ you need to use -P !ejb-3.1 --> | |
<profiles> | |
<profile> | |
+ <id>ejb-3.0</id> | |
+ </profile> | |
+ <profile> | |
<id>ejb-3.1</id> | |
<activation> | |
<activeByDefault>true</activeByDefault> | |
- <property><name>!dummy</name></property> | |
</activation> | |
<modules> | |
<module>ejb-3.1</module> | |
-- | |
1.7.0.4 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment