]> gerrit.simantics Code Review - simantics/fmil.git/blob - org.simantics.fmil.parent/pom.xml
Switch to full JavaSE-11+ compatibility
[simantics/fmil.git] / org.simantics.fmil.parent / pom.xml
1 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
3         <modelVersion>4.0.0</modelVersion>
4         <groupId>org.simantics.fmi</groupId>
5         <artifactId>org.simantics.fmil.parent</artifactId>
6         <version>0.0.1-SNAPSHOT</version>
7         <packaging>pom</packaging>
8
9         <!-- common settings for all modules -->
10         <properties>
11                 <maven.compiler.source>11</maven.compiler.source>
12                 <maven.compiler.target>11</maven.compiler.target>
13                 <tycho-version>1.7.0</tycho-version>
14                 <branch-spec>master</branch-spec>
15                 <simantics-download-site>http://www.simantics.org/download</simantics-download-site>
16                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
17         </properties>
18
19         <repositories>
20                 <!-- configure p2 repository to resolve against -->
21                 <repository>
22                         <id>simantics-sdk</id>
23                         <layout>p2</layout>
24                         <url>${simantics-download-site}/${branch-spec}/sdk</url>
25                 </repository>
26         </repositories>
27
28         <build>
29                 <plugins>
30                         <plugin>
31                                 <groupId>org.eclipse.tycho</groupId>
32                                 <artifactId>tycho-compiler-plugin</artifactId>
33                                 <version>${tycho-version}</version>
34                                 <configuration>
35                                         <compilerArgument>-err:-forbidden</compilerArgument>
36                                 </configuration>
37                         </plugin>
38                         <plugin>
39                                 <groupId>org.eclipse.tycho</groupId>
40                                 <artifactId>tycho-maven-plugin</artifactId>
41                                 <version>${tycho-version}</version>
42                                 <extensions>true</extensions>
43                         </plugin>
44                         <plugin>
45                                 <groupId>org.eclipse.tycho</groupId>
46                                 <artifactId>tycho-versions-plugin</artifactId>
47                                 <version>${tycho-version}</version>
48                         </plugin>
49                         <plugin>
50                                 <groupId>org.eclipse.tycho</groupId>
51                                 <artifactId>target-platform-configuration</artifactId>
52                                 <version>${tycho-version}</version>
53                                 <configuration>
54                                         <ignoreTychoRepositories>true</ignoreTychoRepositories>
55                                         <resolver>p2</resolver>
56                                         <environments>
57                                                 <environment>
58                                                         <os>linux</os>
59                                                         <ws>gtk</ws>
60                                                         <arch>x86_64</arch>
61                                                 </environment>
62                                                 <environment>
63                                                         <os>win32</os>
64                                                         <ws>win32</ws>
65                                                         <arch>x86</arch>
66                                                 </environment>
67                                                 <environment>
68                                                         <os>win32</os>
69                                                         <ws>win32</ws>
70                                                         <arch>x86_64</arch>
71                                                 </environment>
72                                         </environments>
73                                 </configuration>
74                         </plugin>
75                 </plugins>
76         </build>
77
78         <profiles>
79                 <profile>
80                         <id>sign</id>
81                         <activation>
82                                 <property>
83                                         <name>sign</name>
84                                         <value>true</value>
85                                 </property>
86                         </activation>
87                         <build>
88                                 <plugins>
89                                         <plugin>
90                                                 <groupId>org.codehaus.mojo</groupId>
91                                                 <artifactId>properties-maven-plugin</artifactId>
92                                                 <version>1.0.0</version>
93                                                 <executions>
94                                                         <execution>
95                                                                 <phase>initialize</phase>
96                                                                 <goals>
97                                                                         <goal>read-project-properties</goal>
98                                                                 </goals>
99                                                         </execution>
100                                                 </executions>
101                                                 <configuration>
102                                                         <files>
103                                                                 <file>${sign.properties}</file>
104                                                         </files>
105                                                 </configuration>
106                                         </plugin>
107                                         <plugin>
108                                                 <groupId>org.apache.maven.plugins</groupId>
109                                                 <artifactId>maven-jarsigner-plugin</artifactId>
110                                                 <version>3.0.0</version>
111                                                 <executions>
112                                                         <execution>
113                                                                 <id>sign</id>
114                                                                 <goals>
115                                                                         <goal>sign</goal>
116                                                                         <goal>verify</goal>
117                                                                 </goals>
118                                                         </execution>
119                                                 </executions>
120                                         </plugin>
121                                 </plugins>
122                         </build>
123                 </profile>
124         </profiles>
125
126         <modules>
127                 <module>../org.simantics.fmil.core</module>
128                 <module>../org.simantics.fmil.feature</module>
129                 <module>../org.simantics.fmil.linux64</module>
130                 <module>../org.simantics.fmil.win32</module>
131                 <module>../org.simantics.fmil.win64</module>
132                 <module>../org.simantics.fmil.repository</module>
133         </modules>
134 </project>