-
Notifications
You must be signed in to change notification settings - Fork 9
/
pom.xml
199 lines (194 loc) · 8.51 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
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2013, Red Hat, Inc. and others
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Red Hat Incorporated - initial implementation
Jonah Graham - add testing, signing and deployment
Fabio Zadrozny - port for LiClipseText
Using:
To run a LiClipseText build you need to:
1) Download Java (e.g. OpenJDK 8 or OracleJDK8)
2) Download Maven (http://maven.apache.org/download.html)
3) Run "mvn install"
-->
<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">
<properties>
<tycho-version>4.0.3</tycho-version>
<tycho-extras-version>4.0.3</tycho-extras-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<prerequisites>
<maven>3.9</maven>
</prerequisites>
<modelVersion>4.0.0</modelVersion>
<groupId>org.brainwy.liclipsetext</groupId>
<artifactId>parent</artifactId>
<version>2.5.0-SNAPSHOT</version>
<name>LiClipseText Build Parent</name>
<packaging>pom</packaging>
<modules>
<module>plugins</module>
<module>features</module>
</modules>
<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>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<explodedBundles>
<!-- languages is in org.brainwy.liclipsetext.editor, so explode it -->
<explodedBundle>org.brainwy.liclipsetext.editor</explodedBundle>
<explodedBundle>org.brainwy.liclipsetext.shared_core</explodedBundle>
<explodedBundle>org.brainwy.liclipsetext.shared_ui</explodedBundle>
</explodedBundles>
<failIfNoTests>false</failIfNoTests>
<useUIHarness>false</useUIHarness>
<testFailureIgnore>true</testFailureIgnore>
<argLine>-enableassertions</argLine>
<systemProperties>
<!-- We are in test mode when running JUnit (non-workbench) tests.
See SharedCorePlugin.inTestMode(). -->
<LiClipseInTestMode>true</LiClipseInTestMode>
</systemProperties>
</configuration>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>target-platform-configuration</artifactId>
<version>${tycho-version}</version>
<configuration>
<target>
<extraRequirements>
<requirement>
<type>eclipse-feature</type>
<artifactId>org.brainwy.liclipsetext.feature</artifactId>
<version>0.0.0</version>
</requirement>
</extraRequirements>
</target>
<environments>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>linux</os>
<ws>gtk</ws>
<arch>x86</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86_64</arch>
</environment>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
</environment>
<environment>
<os>macosx</os>
<ws>cocoa</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-versions-plugin</artifactId>
<version>${tycho-version}</version>
</plugin>
<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<profiles>
<profile>
<!-- References to signing with hardware-based token -->
<!-- https://docs.digicert.com/en/software-trust-manager/ci-cd-integrations/script-integrations/maven-integration-with-pkcs11.html -->
<!-- https://stackoverflow.com/questions/44003975/ev-code-signing-extremely-slow/54928402#54928402 -->
<!-- https://stackoverflow.com/questions/43594938/maven-jnlp-creation-with-ev-code-signing -->
<!-- https://knowledge.digicert.com/tutorials/sign-java-jar-files-with-a-hardware-token-based-code-signing-certificate-in-windows.html -->
<!-- https://support.globalsign.com/code-signing/ev-code-signing-java-token-based -->
<id>sign-jars</id>
<activation>
<property>
<!-- To use: mvn -Dsign-release=true -->
<name>sign-release</name>
<value>true</value>
</property>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jarsigner-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<keystore>${env.SIGN_KEYSTORE}</keystore>
<storetype>${env.SIGN_STORETYPE}</storetype>
<tsa>${env.SIGN_TSA}</tsa>
<providerClass>${env.SIGN_PROVIDER_CLASS}</providerClass>
<providerArg>${env.SIGN_PROVIDER_ARG}</providerArg>
<storepass>${env.SIGN_STOREPASS}</storepass>
<keypass>${env.SIGN_KEYPASS}</keypass>
<alias>${env.SIGN_ALIAS}</alias>
<verbose>true</verbose>
</configuration>
<executions>
<execution>
<id>sign</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<layout>p2</layout>
<id>orbit</id>
<url>https://download.eclipse.org/tools/orbit/downloads/drops/R20200831200620/repository/</url>
</repository>
<repository>
<layout>p2</layout>
<id>2023-09</id>
<url>https://download.eclipse.org/releases/2023-09/</url>
</repository>
</repositories>
</project>