Author: fmancinelli
Date: 2007-11-06 10:50:26 +0100 (Tue, 06 Nov 2007)
New Revision: 5660

Modified:
   xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/pom.xml
Log:
* Modified pom.xml for correctly naming the artifact with respect to the target 
os/architecture 

Modified: 
xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/pom.xml
===================================================================
--- xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/pom.xml 
2007-11-06 00:08:08 UTC (rev 5659)
+++ xwiki-extensions/xwiki-eclipse/trunk/plugins/org.xwiki.xeclipse.rcp/pom.xml 
2007-11-06 09:50:26 UTC (rev 5660)
@@ -1,136 +1,153 @@
 <?xml version="1.0"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
-       <modelVersion>4.0.0</modelVersion>
-       <groupId>org.xwiki</groupId>
-       <artifactId>xeclipse</artifactId>
-       <packaging>zip</packaging>
-       <name>XEclipse</name>
-       <version>1.0-SNAPSHOT</version>
-       <description>XWiki Eclipse Client</description>
-       <build>
-                                               
-               <plugins>
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-dependency-plugin</artifactId>
-                               <executions>
-                                       <execution>
-                                               <id>unpack</id>
-                                               <phase>initialize</phase>
-                                               <goals>
-                                                       <goal>unpack</goal>
-                                               </goals>
-                                               <configuration>
-                                                       <artifactItems>
-                                                               <artifactItem>
-                                                                       
<groupId>org.xwiki.eclipse</groupId>
-                                                                       
<artifactId>xwiki-eclipse-target-platform</artifactId>
-                                                                       
<version>1.0</version>
-                                                                       
<type>zip</type>
-                                                               </artifactItem>
-                                                       </artifactItems>
-                                               </configuration>
-                                       </execution>
-                               </executions>
-                       </plugin>               
-               
-                       <plugin>
-                               <groupId>org.apache.maven.plugins</groupId>
-                               <artifactId>maven-resources-plugin</artifactId>
-                               <configuration>
-                                         
<outputDirectory>${basedir}/buildConfiguration</outputDirectory>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <phase>process-resources</phase>
-                                               <goals>
-                                                       <goal>resources</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-                                               
-                       <plugin>
-                               <groupId>org.codehaus.mojo</groupId>
-                               <artifactId>pde-maven-plugin</artifactId>
-                               <extensions>true</extensions>
-                               <configuration>
-                                       <buildProperties>
-                                               <javacSource>1.5</javacSource>
-                                               <javacTarget>1.5</javacTarget>
-                                       </buildProperties>
-                    <!-- Change this to reflect your actual installation! -->
-                                       <eclipseInstall>
-                                               
/Applications/Eclipse/eclipse-rcp-europa-fall
-                                       </eclipseInstall>
-                                       <pdeProductFilename>
-                                               org.xwiki.xeclipse.product
-                                       </pdeProductFilename>
-                                       
<pdeBuildVersion>3.3.1.v20070828</pdeBuildVersion>
-                               </configuration>
-                               <executions>
-                                       <execution>
-                                               <id>clean-pde</id>
-                                               <phase>clean</phase>
-                                               <goals>
-                                                       <goal>clean</goal>
-                                               </goals>
-                                       </execution>
-                               </executions>
-                       </plugin>
-               </plugins>
+<project xmlns="http://maven.apache.org/POM/4.0.0";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>org.xwiki.eclipse</groupId>
+  
<artifactId>xwiki-eclipse-rcp-${pdePlatform}-${pdeToolkit}-${pdeArch}</artifactId>
+  <packaging>zip</packaging>
+  <name>XEclipse</name>
+  <version>1.0-SNAPSHOT</version>
+  <description>XWiki Eclipse Client</description>
+  <build>
 
-               <resources>
-                       <resource>
-                               
<directory>${basedir}/src/main/resources</directory>                            
-                               <filtering>true</filtering>
-                       </resource>
-               </resources>
-               
-               
-       </build>
-       
-       
-       <profiles>
-           <profile>
-             <id>unix</id>
-             <activation>
-               <os>
-                 <family>unix</family>
-               </os>        
-             </activation>
-             <properties>
-               <pdePlatform>linux</pdePlatform>
-                       <pdeToolkit>gtk</pdeToolkit>
-                       <pdeArch>x86</pdeArch>
-             </properties>
-           </profile>
-           <profile>
-             <id>mac</id>
-             <activation>
-               <os>
-                 <family>mac</family>
-               </os>        
-             </activation>
-             <properties>
-               <pdePlatform>macosx</pdePlatform>
-                       <pdeToolkit>carbon</pdeToolkit>
-                       <pdeArch>x86</pdeArch>
-             </properties>
-           </profile>
-           <profile>
-             <id>windows</id>
-             <activation>
-               <os>
-                 <family>windows</family>
-               </os>        
-             </activation>
-             <properties>
-               <pdePlatform>win32</pdePlatform>
-                       <pdeToolkit>win32</pdeToolkit>
-                       <pdeArch>x86</pdeArch>
-             </properties>
-           </profile>
-         </profiles>
-       
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-dependency-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>unpack</id>
+            <phase>initialize</phase>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.xwiki.eclipse</groupId>
+                  <artifactId>xwiki-eclipse-target-platform</artifactId>
+                  <version>1.0</version>
+                  <type>zip</type>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-resources-plugin</artifactId>
+        <configuration>
+          <outputDirectory>
+            ${basedir}/buildConfiguration
+          </outputDirectory>
+        </configuration>
+        <executions>
+          <execution>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>resources</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>pde-maven-plugin</artifactId>
+        <extensions>true</extensions>
+        <configuration>
+          <buildProperties>
+            <javacSource>1.5</javacSource>
+            <javacTarget>1.5</javacTarget>
+          </buildProperties>
+          <!-- Change this to reflect your actual installation! -->
+          <eclipseInstall>
+            /Applications/Eclipse/eclipse-rcp-europa-fall
+          </eclipseInstall>
+          <pdeProductFilename>
+            org.xwiki.xeclipse.product
+          </pdeProductFilename>
+          <pdeBuildVersion>3.3.1.v20070828</pdeBuildVersion>
+        </configuration>
+        <executions>
+          <execution>
+            <id>clean-pde</id>
+            <phase>clean</phase>
+            <goals>
+              <goal>clean</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+
+    <resources>
+      <resource>
+        <directory>${basedir}/src/main/resources</directory>
+        <filtering>true</filtering>
+      </resource>
+    </resources>
+
+  </build>
+
+  <profiles>
+    <profile>
+      <id>unix</id>
+      <activation>
+        <os>
+          <family>unix</family>
+        </os>
+      </activation>
+      <properties>
+        <pdePlatform>linux</pdePlatform>
+        <pdeToolkit>gtk</pdeToolkit>
+        <pdeArch>x86</pdeArch>
+      </properties>
+    </profile>
+    <profile>
+      <id>mac</id>
+      <activation>
+        <os>
+          <family>mac</family>
+          <arch>i386</arch>          
+        </os>
+      </activation>
+      <properties>
+        <pdePlatform>macosx</pdePlatform>
+        <pdeToolkit>carbon</pdeToolkit>
+        <pdeArch>x86</pdeArch>
+      </properties>
+    </profile>
+    <profile>
+      <id>mac</id>
+      <activation>
+        <os>
+          <family>mac</family>
+          <arch>ppc</arch>          
+        </os>
+      </activation>
+      <properties>
+        <pdePlatform>macosx</pdePlatform>
+        <pdeToolkit>carbon</pdeToolkit>
+        <pdeArch>ppc</pdeArch>
+      </properties>
+    </profile>
+    <profile>
+      <id>windows</id>
+      <activation>
+        <os>
+          <family>windows</family>
+        </os>
+      </activation>
+      <properties>
+        <pdePlatform>win32</pdePlatform>
+        <pdeToolkit>win32</pdeToolkit>
+        <pdeArch>x86</pdeArch>
+      </properties>
+    </profile>
+  </profiles>
+
 </project>

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to