]> gerrit.simantics Code Review - simantics/python.git/blobdiff - org.simantics.pythonlink.parent/pom.xml
Mavenized Simantics Python bindings projects.
[simantics/python.git] / org.simantics.pythonlink.parent / pom.xml
diff --git a/org.simantics.pythonlink.parent/pom.xml b/org.simantics.pythonlink.parent/pom.xml
new file mode 100644 (file)
index 0000000..b0abce2
--- /dev/null
@@ -0,0 +1,148 @@
+<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/xsd/maven-4.0.0.xsd">
+       <modelVersion>4.0.0</modelVersion>
+       <groupId>org.simantics.python</groupId>
+       <artifactId>org.simantics.pythonlink.parent</artifactId>
+       <version>1.0.0-SNAPSHOT</version>
+       <packaging>pom</packaging>
+
+        <parent>
+                <groupId>org.simantics.python</groupId>
+                <artifactId>org.simantics.pythonlink.root</artifactId>
+                <version>1.0.0-SNAPSHOT</version>
+                <relativePath>..</relativePath>
+        </parent>
+
+        <!-- common settings for all modules -->
+        <properties>
+                <branch-spec>master</branch-spec>
+                <simantics-download-site>http://www.simantics.org/download</simantics-download-site>
+                <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+                <tycho-version>0.26.0</tycho-version>
+        </properties>
+
+        <repositories>
+                <!-- configure p2 repository to resolve against -->
+                <repository>
+                        <id>simantics-sdk</id>
+                        <layout>p2</layout>
+                        <url>${simantics-download-site}/${branch-spec}/sdk</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>
+                                       <ignoreTychoRepositories>true</ignoreTychoRepositories>
+                                       <resolver>p2</resolver>
+                                       <environments>
+                                               <environment>
+                                                       <os>win32</os>
+                                                       <ws>win32</ws>
+                                                       <arch>x86_64</arch>
+                                               </environment>
+                                       </environments>
+                               </configuration>
+                       </plugin>
+               </plugins>
+               <pluginManagement>
+                       <plugins>
+                               <!--This plugin's configuration is used to store Eclipse m2e settings 
+                                       only. It has no influence on the Maven build itself. -->
+                               <plugin>
+                                       <groupId>org.eclipse.m2e</groupId>
+                                       <artifactId>lifecycle-mapping</artifactId>
+                                       <version>1.0.0</version>
+                                       <configuration>
+                                               <lifecycleMappingMetadata>
+                                                       <pluginExecutions>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>
+                                                                                       org.eclipse.tycho
+                                                                               </groupId>
+                                                                               <artifactId>
+                                                                                       tycho-compiler-plugin
+                                                                               </artifactId>
+                                                                               <versionRange>
+                                                                                       [0.26.0,)
+                                                                               </versionRange>
+                                                                               <goals>
+                                                                                       <goal>compile</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore></ignore>
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>
+                                                                                       org.eclipse.tycho
+                                                                               </groupId>
+                                                                               <artifactId>
+                                                                                       tycho-packaging-plugin
+                                                                               </artifactId>
+                                                                               <versionRange>
+                                                                                       [0.26.0,)
+                                                                               </versionRange>
+                                                                               <goals>
+                                                                                       <goal>build-qualifier</goal>
+                                                                                       <goal>validate-id</goal>
+                                                                                       <goal>
+                                                                                               validate-version
+                                                                                       </goal>
+                                                                                       <goal>
+                                                                                               build-qualifier-aggregator
+                                                                                       </goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore></ignore>
+                                                                       </action>
+                                                               </pluginExecution>
+                                                               <pluginExecution>
+                                                                       <pluginExecutionFilter>
+                                                                               <groupId>
+                                                                                       org.apache.maven.plugins
+                                                                               </groupId>
+                                                                               <artifactId>
+                                                                                       maven-clean-plugin
+                                                                               </artifactId>
+                                                                               <versionRange>
+                                                                                       [2.5,)
+                                                                               </versionRange>
+                                                                               <goals>
+                                                                                       <goal>clean</goal>
+                                                                               </goals>
+                                                                       </pluginExecutionFilter>
+                                                                       <action>
+                                                                               <ignore></ignore>
+                                                                       </action>
+                                                               </pluginExecution>
+                                                       </pluginExecutions>
+                                               </lifecycleMappingMetadata>
+                                       </configuration>
+                               </plugin>
+                       </plugins>
+               </pluginManagement>
+       </build>
+
+       <modules>
+               <module>../org.simantics.pythonlink</module>
+               <module>../org.simantics.pythonlink.win32.x86_64</module>
+               <module>../org.simantics.pythonlink.feature</module>
+               <module>../org.simantics.pythonlink.repository</module>
+       </modules>
+
+</project>