-
Notifications
You must be signed in to change notification settings - Fork 148
/
pom.xml
140 lines (125 loc) · 4.57 KB
/
pom.xml
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
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>net.sourceforge</groupId>
<artifactId>net.sourceforget.vrapper</artifactId>
<version>0.75.0-SNAPSHOT</version>
<packaging>pom</packaging>
<properties>
<tycho.version>4.0.6</tycho.version>
<java.version>17</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<pluginManagement>
<plugins>
<!-- Tycho Build -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-p2-director-plugin</artifactId>
<version>${tycho.version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-compiler-plugin</artifactId>
<version>${tycho.version}</version>
<configuration>
<showWarnings>false</showWarnings>
<!-- For a full list of valid arguments see
https://help.eclipse.org/photon/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/task-using_batch_compiler.htm -->
<compilerArgs combine.children="append">
<!-- Disable warning about unnecessary SuppressWarnings. -->
<!-- FIXME: Running Maven on 17 instead of 11 raises null errors. Reason unknown. -->
<arg>
-warn:-warningToken,nullAnnot,nullUncheckedConversion</arg>
</compilerArgs>
<!-- Explicitly enable compiler optimizations, which are
off by default. -->
<optimize>true</optimize>
<!-- compile with Java version as defined in manifest -->
<useJDK>BREE</useJDK>
<!-- fail the build if effective compiler does not fit manifest BREE -->
<strictCompilerTarget>true</strictCompilerTarget>
<!-- Exclude files from the final build which are only
required during development or are intermediate build
products.
Remember to keep them in sync with the ones defined in
org.eclipse.jdt.core.prefs:resourceCopyExclusionFilter. -->
<excludeResources>
<excludeResource>**/.gitignore</excludeResource>
</excludeResources>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.3.2</version>
</plugin>
<!-- Target Definition File -->
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<configuration>
<target>
<file>${maven.multiModuleProjectDirectory}/releng/net.sourceforge.vrapper.releng.target/net.sourceforge.vrapper.releng.target.target</file>
</target>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<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>
<!-- Optional set the Java version you are using-->
<executionEnvironment>JavaSE-17</executionEnvironment>
<dependency-resolution>
<!-- ignore optional dependencies, to avoid that xtext
consumes jdt.core,
emf.codegen and others -->
<optionalDependencies>ignore</optionalDependencies>
<extraRequirements combine.children="append">
<!-- add p2.core.feature to enforce the Windows
Password provider
fragment is available during tests https://stackoverflow.com/a/20881028/44089 -->
<requirement>
<id>org.eclipse.equinox.p2.core.feature</id>
<type>eclipse-feature</type>
<versionRange>0.0.0</versionRange>
</requirement>
</extraRequirements>
</dependency-resolution>
</configuration>
</plugin>
</plugins>
</build>
<modules>
<module>features</module>
<module>plugins</module>
<module>tests</module>
<module>releng</module>
</modules>
</project>