Repository navigation
Expand file tree
/
Copy pathpom.xml
More file actions
180 lines (163 loc) · 7.2 KB
/
Copy pathpom.xml
File metadata and controls
180 lines (163 loc) · 7.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.vogella.tycho</groupId>
<artifactId>releng</artifactId>
<version>1.0.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>25</maven.compiler.source>
<maven.compiler.target>25</maven.compiler.target>
<maven.compiler.release>25</maven.compiler.release>
<!-- the super POM of Maven 3.10 and later pins this to 1980, and Tycho takes the build qualifier from it -->
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'</maven.build.timestamp.format>
<project.build.outputTimestamp>${maven.build.timestamp}</project.build.outputTimestamp>
</properties>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
<!-- Tycho does not pin these, so without a version they come from the defaults of whichever Maven runs the build -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.5.0</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- For update sites, this setting creates a self-contained p2 repository INCLUDING all dependencies of the update site content-->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-repository-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<skipArchive>true</skipArchive>
<includeAllDependencies>true</includeAllDependencies>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-maven-plugin</artifactId>
<version>${tycho.version}</version>
<extensions>true</extensions>
</plugin>
<!--Enable
the replacement of the SNAPSHOT version in the final product configuration-->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-packaging-plugin</artifactId>
<version>${tycho.version}</version>
<executions>
<execution>
<phase>package</phase>
<id>package-feature</id>
<configuration>
<finalName>${project.artifactId}_${unqualifiedVersion}.${buildQualifier}</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho.version}</version>
<configuration>
<target>
<file>../target-platform/target-platform.target</file>
</target>
<executionEnvironment>JavaSE-25</executionEnvironment>
<resolveWithExecutionEnvironmentConstraints>false</resolveWithExecutionEnvironmentConstraints>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<!-- without it the target resolves no SWT fragment for linux aarch64 build machines and tests cannot run there -->
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>aarch64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</ws>
<arch>aarch64</arch>
</environment>
</environments>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<application>org.eclipse.e4.ui.workbench.swt.E4Application</application>
<product>com.example.e4.rcp.product</product>
<providerHint>junit5</providerHint>
<!-- a test bundle that runs no test must fail the build instead of passing silently -->
<failIfNoTests>true</failIfNoTests>
<!-- keeps the test JVM from taking a quarter of the build server's RAM -->
<argLine>-Xmx1g</argLine>
</configuration>
</plugin>
</plugins>
</build>
<modules>
<!--Starter example-->
<module>com.example.e4.rcp</module>
<module>com.example.e4.feature</module>
<module>com.example.e4.product</module>
<!--plugin_customization.ini example (IDE-app based)-->
<module>com.example.rcp.plugincustomizing</module>
<!--Task management example-->
<module>com.vogella.tasks.ui</module>
<module>com.vogella.tasks.feature</module>
<module>com.vogella.tasks.model</module>
<module>com.vogella.tasks.model.tests</module>
<module>com.vogella.tasks.services</module>
<module>com.vogella.tasks.events</module>
<module>com.vogella.contribute.parts</module>
<module>com.vogella.tasks.ui.contribute</module>
<module>com.vogella.eclipse.css</module>
<module>com.vogella.tasks.product</module>
<!--
<module>com.vogella.tasks.services.tests</module>
-->
<module>com.vogella.tasks.ui.tests</module>
<module>com.vogella.swt.widgets</module>
<!-- These artifacts are from optional exercises
-->
<module>com.vogella.osgi.taskconsumer</module>
<module>com.vogella.service.imageloader</module>
<module>com.vogella.tasks.update</module>
<module>com.example.e4.renderer.swt</module>
<!--
<module>com.example.e4.swtbot.tests</module>
-->
<module>updatesite</module>
</modules>
<profiles>
<profile>
<id>installer</id>
<modules>
<module>installer</module>
</modules>
</profile>
</profiles>
</project>