You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by fe...@apache.org on 2008/01/04 08:02:22 UTC
svn commit: r608764 - /directory/sandbox/felixk/studio/pom.xml
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
Re: svn commit: r608764 - /directory/sandbox/felixk/studio/pom.xml
Posted by Pierre-Arnaud Marcelot <pa...@marcelot.net>.
Hi Felix,
Thanks for the hint. I'll try on Mac OS X and Windows.
Regards,
Pierre-Arnaud
On Jan 4, 2008 8:06 AM, Felix Knecht <fe...@apache.org> wrote:
> @Pierre-Arnaud
>
>
> I haven't tested profile activation for windows and macosx, so the
> matcher maybe wrong. You can show the correct values (when working on a
> system like these) by executing
> 'mvn enforcer:display-info'
>
> Regards
> Felix
>
>
Re: svn commit: r608764 - /directory/sandbox/felixk/studio/pom.xml
Posted by Felix Knecht <fe...@apache.org>.
@Pierre-Arnaud
I haven't tested profile activation for windows and macosx, so the
matcher maybe wrong. You can show the correct values (when working on a
system like these) by executing
'mvn enforcer:display-info'
Regards
Felix