]> gerrit.simantics Code Review - simantics/platform.git/blob - releng/org.simantics.tycho.configuration/pom.xml
Move platform to only work with JDK's >= 11
[simantics/platform.git] / releng / org.simantics.tycho.configuration / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4         <modelVersion>4.0.0</modelVersion>
5         <groupId>org.simantics</groupId>
6         <artifactId>org.simantics.tycho.configuration</artifactId>
7         <version>1.0.0-SNAPSHOT</version>
8         <packaging>pom</packaging>
9
10         <properties>
11                 <maven.compiler.source>11</maven.compiler.source>
12                 <maven.compiler.target>11</maven.compiler.target>
13                 <tycho.version>1.6.0</tycho.version>
14                 <tycho.extras.version>1.6.0</tycho.extras.version>
15                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16         </properties>
17
18         <repositories>
19         </repositories>
20
21         <pluginRepositories>
22                 <pluginRepository>
23                         <id>graph-builder-snapshot</id>
24                         <name>Graph Builder Repository</name>
25                         <url>https://repo.simupedia.com/repository/graph-builder-release</url>
26                         <layout>default</layout>
27                         <releases>
28                                 <updatePolicy>never</updatePolicy>
29                         </releases>
30                         <snapshots>
31                                 <updatePolicy>always</updatePolicy>
32                         </snapshots>
33                 </pluginRepository>
34         </pluginRepositories>
35
36         <build>
37                 <plugins>
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>tycho-packaging-plugin</artifactId>
52                                 <version>${tycho.version}</version>
53                                 <configuration>
54                                         <format>'v'yyyyMMdd-HHmmss</format>
55                                 </configuration>
56                         </plugin>
57                         <plugin>
58                                 <groupId>org.eclipse.tycho</groupId>
59                                 <artifactId>target-platform-configuration</artifactId>
60                                 <version>${tycho.version}</version>
61                                 <configuration>
62                                         <target>
63                                                 <artifact>
64                                                         <groupId>org.simantics</groupId>
65                                                         <artifactId>org.simantics.sdk.build.targetdefinition</artifactId>
66                                                         <version>1.0.0-SNAPSHOT</version>
67                                                 </artifact>
68                                         </target>
69                                         <environments>
70                                                 <environment>
71                                                         <os>linux</os>
72                                                         <ws>gtk</ws>
73                                                         <arch>x86_64</arch>
74                                                 </environment>
75                                                 <environment>
76                                                         <os>win32</os>
77                                                         <ws>win32</ws>
78                                                         <arch>x86_64</arch>
79                                                 </environment>
80                                                 <environment>
81                                                         <os>macosx</os>
82                                                         <ws>cocoa</ws>
83                                                         <arch>x86_64</arch>
84                                                 </environment>
85                                         </environments>
86                                 </configuration>
87                         </plugin>
88                         <plugin>
89                                 <groupId>org.eclipse.tycho.extras</groupId>
90                                 <artifactId>tycho-source-feature-plugin</artifactId>
91                                 <version>${tycho.extras.version}</version>
92                         </plugin>
93                         <plugin>
94                                 <groupId>org.eclipse.tycho</groupId>
95                                 <artifactId>tycho-p2-plugin</artifactId>
96                                 <version>${tycho.version}</version>
97                                 <executions>
98                                         <execution>
99                                                 <id>attach-p2-metadata</id>
100                                                 <phase>package</phase>
101                                                 <goals>
102                                                         <goal>p2-metadata</goal>
103                                                 </goals>
104                                         </execution>
105                                 </executions>
106                                 <configuration>
107                                         <defaultP2Metadata>false</defaultP2Metadata>
108                                 </configuration>
109                         </plugin>
110                 </plugins>
111         </build>
112
113         <profiles>
114                 <profile>
115                         <id>sign</id>
116                         <activation>
117                                 <property>
118                                         <name>sign</name>
119                                         <value>true</value>
120                                 </property>
121                         </activation>
122                         <build>
123                                 <plugins>
124                                         <plugin>
125                                                 <groupId>org.codehaus.mojo</groupId>
126                                                 <artifactId>properties-maven-plugin</artifactId>
127                                                 <version>1.0.0</version>
128                                                 <executions>
129                                                         <execution>
130                                                                 <phase>initialize</phase>
131                                                                 <goals>
132                                                                         <goal>read-project-properties</goal>
133                                                                 </goals>
134                                                         </execution>
135                                                 </executions>
136                                                 <configuration>
137                                                         <files>
138                                                                 <file>${sign.properties}</file>
139                                                         </files>
140                                                 </configuration>
141                                         </plugin>
142                                         <plugin>
143                                                 <groupId>org.apache.maven.plugins</groupId>
144                                                 <artifactId>maven-jarsigner-plugin</artifactId>
145                                                 <version>3.0.0</version>
146                                                 <executions>
147                                                         <execution>
148                                                                 <id>sign</id>
149                                                                 <goals>
150                                                                         <goal>sign</goal>
151                                                                         <goal>verify</goal>
152                                                                 </goals>
153                                                         </execution>
154                                                 </executions>
155                                         </plugin>
156                                 </plugins>
157                         </build>
158                 </profile>
159         </profiles>
160 </project>