Use os based activation
authorJakub Skoczen <jakub@indexdata.dk>
Thu, 18 Feb 2010 12:48:25 +0000 (13:48 +0100)
committerJakub Skoczen <jakub@indexdata.dk>
Thu, 18 Feb 2010 12:48:25 +0000 (13:48 +0100)
pom.xml

diff --git a/pom.xml b/pom.xml
index 0aad442..388fd95 100644 (file)
--- a/pom.xml
+++ b/pom.xml
     <profile>
       <id>win32</id>
       <activation>
-        <property>
-          <name>platform</name>
-          <value>win32</value>
-        </property>
+        <os>
+          <family>windows</family>
+        </os>
       </activation>
+      <properties>
+        <platform>win32</platform>
+      </properties>
       <modules>
         <module>win32</module>
       </modules>
     <profile>
       <id>linux</id>
       <activation>
-        <property>
-          <name>platform</name>
-          <value>linux</value>
-        </property>
+        <os>
+          <family>unix</family>
+        </os>
       </activation>
+      <properties>
+        <platform>linux</platform>
+      </properties>
       <modules>
         <module>linux</module>
       </modules>