Hi,

So that is the next thing to tackle is trying to make this platform agnostic.
you can use profiles for exactly this purpose.
http://maven.apache.org/guides/introduction/introduction-to-profiles.html
http://maven.apache.org/plugins/maven-enforcer-plugin/rules/requireOS.html

Based on the profile you can put in the execution into the profile which will automatically be activated by the platform...

for example like the following:
<profiles>
  <profile>
    <id>windows-xp</id>
    <activation>
      <os>
        <name>Windows XP</name>
        <family>Windows</family>
        <arch>x86</arch>
        <version>5.1.2600</version>
      </os>
    </activation>
  </profile>
  <profile>
    <id>mac-os-x</id>
    <activation>
      <os>
        <name>mac os x</name>
        <family>mac</family>
        <arch>x86_64</arch>
        <version>10.5.8</version>
      </os>
    </activation>
  </profile>
</profiles>

you can put your executions into the appropriate areas based on the plattform...

Kind regards
Karl Heinz Marbaise
--
SoftwareEntwicklung Beratung Schulung    Tel.: +49 (0) 2405 / 415 893
Dipl.Ing.(FH) Karl Heinz Marbaise        ICQ#: 135949029
Hauptstrasse 177                         USt.IdNr: DE191347579
52146 Würselen                           http://www.soebes.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to