Author: felixk
Date: Thu Jan 3 23:02:21 2008
New Revision: 608764
URL: http://svn.apache.org/viewvc?rev=608764&view=rev
Log:
Build by default a distribution for your current platform. Additional platform distribution
builds can be add by indicating the profile of your choice.
E.g. (working on linux-x86)
mvn install --> dist for linux-x86
mvn install -Pmacosx --> dists for linux-x86 and macosx
Modified:
directory/sandbox/felixk/studio/pom.xml
Modified: directory/sandbox/felixk/studio/pom.xml
URL: http://svn.apache.org/viewvc/directory/sandbox/felixk/studio/pom.xml?rev=608764&r1=608763&r2=608764&view=diff
==============================================================================
--- directory/sandbox/felixk/studio/pom.xml (original)
+++ directory/sandbox/felixk/studio/pom.xml Thu Jan 3 23:02:21 2008
@@ -57,6 +57,13 @@
<profiles>
<profile>
<id>linux-x86</id>
+ <activation>
+ <os>
+ <arch>i386</arch>
+ <family>unix</family>
+ <name>linux</name>
+ </os>
+ </activation>
<!--
Everything in here is linux-x86 specific.
All sources/dependencies within this profile go to
@@ -175,6 +182,13 @@
<profile>
<id>linux-x86_64</id>
+ <activation>
+ <os>
+ <arch>amd64</arch>
+ <family>unix</family>
+ <name>linux</name>
+ </os>
+ </activation>
<!--
Everything in here is linux-x86_64 specific.
All sources/dependencies within this profile go to
@@ -293,6 +307,13 @@
<profile>
<id>linux-ppc</id>
+ <activation>
+ <os>
+ <arch>ppc</arch>
+ <family>unix</family>
+ <name>linux</name>
+ </os>
+ </activation>
<!--
Everything in here is linux-ppc specific.
All sources/dependencies within this profile go to
@@ -411,6 +432,12 @@
<profile>
<id>win32</id>
+ <activation>
+ <os>
+ <arch>x86</arch>
+ <family>windows</family>
+ </os>
+ </activation>
<!--
Everything in here is win32 specific.
All sources/dependencies within this profile go to
@@ -529,6 +556,11 @@
<profile>
<id>macosx</id>
+ <activation>
+ <os>
+ <family>macosx</family>
+ </os>
+ </activation>
<!--
Everything in here is macosx specific.
All sources/dependencies within this profile go to
|