Author: bimargulies
Date: Sun Aug 28 13:23:54 2011
New Revision: 1162518

URL: http://svn.apache.org/viewvc?rev=1162518&view=rev
Log:
add maven-eclipse-plugin config.

Modified:
    maven/sandbox/branches/doxia-ide-eclipse-with-tycho/eclipse-plugins/pom.xml

Modified: 
maven/sandbox/branches/doxia-ide-eclipse-with-tycho/eclipse-plugins/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/sandbox/branches/doxia-ide-eclipse-with-tycho/eclipse-plugins/pom.xml?rev=1162518&r1=1162517&r2=1162518&view=diff
==============================================================================
--- maven/sandbox/branches/doxia-ide-eclipse-with-tycho/eclipse-plugins/pom.xml 
(original)
+++ maven/sandbox/branches/doxia-ide-eclipse-with-tycho/eclipse-plugins/pom.xml 
Sun Aug 28 13:23:54 2011
@@ -1,52 +1,112 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project>
-  <modelVersion>4.0.0</modelVersion>
-
-  <prerequisites>
-    <maven>3.0.3</maven>
-  </prerequisites>
-  <parent>
-    <groupId>org.apache.maven.doxia.ide</groupId>
-    <artifactId>eclipse</artifactId>
-    <version>1.0-tycho-SNAPSHOT</version>
-  </parent>
-
-  <artifactId>eclipse-plugins</artifactId>
-  <packaging>pom</packaging>
-  <description>The eclipse plugins, features, and update site are here.
+    <modelVersion>4.0.0</modelVersion>
+    <prerequisites>
+        <maven>3.0.3</maven>
+    </prerequisites>
+    <parent>
+        <groupId>org.apache.maven.doxia.ide</groupId>
+        <artifactId>eclipse</artifactId>
+        <version>1.0-tycho-SNAPSHOT</version>
+    </parent>
+    <artifactId>eclipse-plugins</artifactId>
+    <packaging>pom</packaging>
+    <description>The eclipse plugins, features, and update site are here.
   </description>
-
-  <properties>
-    <tycho-version>0.12.0</tycho-version>
-  </properties>
-
-  <modules>
-  </modules>
-
-  <repositories>
-   <repository>
-     <id>helios</id>
-     <layout>p2</layout>
-     <url>http://download.eclipse.org/releases/helios</url>
-   </repository>
-  </repositories>
-
-  <build>
-    <plugins>
-      <plugin>
-        <groupId>org.eclipse.tycho</groupId>
-        <artifactId>tycho-maven-plugin</artifactId>
-        <version>${tycho-version}</version>
-        <extensions>true</extensions>
-      </plugin>
-      <plugin>
-        <groupId>org.eclipse.tycho</groupId>
-        <artifactId>target-platform-configuration</artifactId>
-        <version>${tycho-version}</version>
-        <configuration>
-          <pomDependencies>consider</pomDependencies>
-        </configuration>
-      </plugin>
-    </plugins>
-  </build>
-</project>
\ No newline at end of file
+    <properties>
+        <tycho-version>0.12.0</tycho-version>
+    </properties>
+    <modules>
+        <module>plugins</module>
+    </modules>
+    <repositories>
+        <repository>
+            <id>helios</id>
+            <layout>p2</layout>
+            <url>http://download.eclipse.org/releases/helios</url>
+        </repository>
+    </repositories>
+    <build>
+        <pluginManagement>
+            <plugins>
+                <plugin>
+                    <groupId>org.apache.maven.plugins</groupId>
+                    <artifactId>maven-eclipse-plugin</artifactId>
+                    <version>2.8</version>
+                    <configuration>
+                        
<projectNameTemplate>${project.groupId}-${project.artifactId}</projectNameTemplate>
+                        <downloadSources>true</downloadSources>
+                        <downloadJavadocs>false</downloadJavadocs>
+                        <additionalBuildcommands>
+                            
<buildcommand>org.eclipse.jdt.core.javabuilder</buildcommand>
+                            
<buildcommand>org.eclipse.pde.ManifestBuilder</buildcommand>
+                            
<buildcommand>org.eclipse.pde.SchemaBuilder</buildcommand>
+                        </additionalBuildcommands>
+                        <additionalProjectnatures>
+                            
<projectnature>org.eclipse.pde.PluginNature</projectnature>
+                            
<projectnature>org.eclipse.jdt.core.javanature</projectnature>
+                        </additionalProjectnatures>
+                        <classpathContainers>
+                            
<classpathContainer>org.eclipse.jdt.launching.JRE_CONTAINER</classpathContainer>
+                            
<classpathContainer>org.eclipse.pde.core.requiredPlugins</classpathContainer>
+                        </classpathContainers>
+                    </configuration>
+                </plugin>
+            </plugins>
+        </pluginManagement>
+        <plugins>
+            <plugin>
+                <groupId>org.eclipse.tycho</groupId>
+                <artifactId>tycho-maven-plugin</artifactId>
+                <version>${tycho-version}</version>
+                <extensions>true</extensions>
+            </plugin>
+            <plugin>
+                <groupId>org.eclipse.tycho</groupId>
+                <artifactId>target-platform-configuration</artifactId>
+                <version>${tycho-version}</version>
+                <configuration>
+                    <pomDependencies>consider</pomDependencies>
+                    <resolver>p2</resolver>
+                    <environments>
+                        <environment>
+                            <os>linux</os>
+                            <ws>gtk</ws>
+                            <arch>x86_64</arch>
+                        </environment>
+                        <environment>
+                            <os>linux</os>
+                            <ws>gtk</ws>
+                            <arch>x86</arch>
+                        </environment>
+                        <environment>
+                            <os>macosx</os>
+                            <ws>carbon</ws>
+                            <arch>x86</arch>
+                        </environment>
+                        <environment>
+                            <os>macosx</os>
+                            <ws>cocoa</ws>
+                            <arch>x86</arch>
+                        </environment>
+                        <environment>
+                            <os>macosx</os>
+                            <ws>cocoa</ws>
+                            <arch>x86_64</arch>
+                        </environment>
+                        <environment>
+                            <os>win32</os>
+                            <ws>win32</ws>
+                            <arch>x86</arch>
+                        </environment>
+                        <environment>
+                            <os>win32</os>
+                            <ws>win32</ws>
+                            <arch>x86_64</arch>
+                        </environment>
+                    </environments>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>


Reply via email to