Skip to content

Commit ede48a9

Browse files
author
jantje
committed
Merge branch 'master' into #1126_support_for_creating_library_archives
2 parents c936e15 + b1b8e70 commit ede48a9

File tree

4 files changed

+31
-25
lines changed

4 files changed

+31
-25
lines changed

.github/workflows/maven.yml

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
name: Java CI with Maven
55

6+
7+
8+
69
on:
710
push:
811
branches: [ master ]
@@ -15,6 +18,9 @@ jobs:
1518
runs-on: ubuntu-latest
1619

1720
steps:
21+
- name: show Maven
22+
run: mvn -version
23+
1824
- uses: actions/checkout@v2
1925
- name: Set up JDK 17
2026
uses: actions/setup-java@v2

io.sloeber.parent/pom.xml

+19-15
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<packaging>pom</packaging>
1010

1111
<properties>
12-
<tycho.version>2.7.5</tycho.version>
12+
<tycho.version>4.0.4</tycho.version>
1313
<built.repo.dir>${project.build.directory}/repo</built.repo.dir>
1414
<!-- maven.compiler.source>11</maven.compiler.source>
1515
<maven.compiler.target>11</maven.compiler.target -->
@@ -51,13 +51,17 @@
5151
<version>${tycho.version}</version>
5252
<configuration>
5353
<dependency-resolution>
54-
<profileProperties>
55-
<org.eclipse.justj.buildtime>true</org.eclipse.justj.buildtime>
54+
<profileProperties>
55+
<org.eclipse.justj.buildtime>true</org.eclipse.justj.buildtime>
5656
</profileProperties>
57-
</dependency-resolution>
57+
</dependency-resolution>
58+
<target>
59+
<file>../io.sloeber.product/sloeber.target</file>
60+
</target>
61+
5862
</configuration>
5963
</plugin>
60-
64+
6165
<!-- Enable tycho build extension -->
6266
<plugin>
6367
<groupId>org.eclipse.tycho</groupId>
@@ -76,9 +80,9 @@
7680
<!--
7781
<source>11</source>
7882
<target>11</target> -->
79-
<executionEnvironment>org.eclipse.justj.openjdk.hotspot.jre.full-17</executionEnvironment>
83+
<executionEnvironment>org.eclipse.justj.openjdk.hotspot.jre.full-17</executionEnvironment>
8084

81-
</configuration>
85+
</configuration>
8286
</plugin>
8387

8488
<!-- Enable version management -->
@@ -196,7 +200,7 @@
196200
<version>${tycho.version}</version>
197201
<configuration>
198202
<!-- configure the p2 target environments for multi-platform build -->
199-
<!-- The strings ("linux", "gtk", "x86"...) are defined by the OSGi
203+
<!-- The strings ("linux", "gtk", "x86"...) are defined by the OSGi
200204
spec -->
201205
<environments>
202206
<environment>
@@ -213,7 +217,7 @@
213217
<os>macosx</os>
214218
<ws>cocoa</ws>
215219
<arch>x86_64</arch>
216-
</environment>
220+
</environment>
217221
<environment>
218222
<os>macosx</os>
219223
<ws>cocoa</ws>
@@ -237,7 +241,7 @@
237241
<version>${tycho.version}</version>
238242
<configuration>
239243
<!-- configure the p2 target environments for multi-platform build -->
240-
<!-- The strings ("linux", "gtk", "x86"...) are defined by the OSGi
244+
<!-- The strings ("linux", "gtk", "x86"...) are defined by the OSGi
241245
spec -->
242246
<environments>
243247
<environment>
@@ -262,7 +266,7 @@
262266
<version>${tycho.version}</version>
263267
<configuration>
264268
<!-- configure the p2 target environments for multi-platform build -->
265-
<!-- The strings ("linux", "gtk", "x86"...) are defined by the OSGi
269+
<!-- The strings ("linux", "gtk", "x86"...) are defined by the OSGi
266270
spec -->
267271
<environments>
268272
<environment>
@@ -276,7 +280,7 @@
276280
</plugins>
277281
</build>
278282
</profile>
279-
283+
280284
<profile>
281285
<id>mac64</id>
282286
<build>
@@ -287,7 +291,7 @@
287291
<version>${tycho.version}</version>
288292
<configuration>
289293
<!-- configure the p2 target environments for multi-platform build -->
290-
<!-- The strings ("linux", "gtk", "x86"...) are defined by the OSGi
294+
<!-- The strings ("linux", "gtk", "x86"...) are defined by the OSGi
291295
spec -->
292296
<environments>
293297
<!-- Mac -->
@@ -302,7 +306,7 @@
302306
</plugins>
303307
</build>
304308
</profile>
305-
309+
306310
<profile>
307311
<id>macm1</id>
308312
<build>
@@ -313,7 +317,7 @@
313317
<version>${tycho.version}</version>
314318
<configuration>
315319
<!-- configure the p2 target environments for multi-platform build -->
316-
<!-- The strings ("linux", "gtk", "x86"...) are defined by the OSGi
320+
<!-- The strings ("linux", "gtk", "x86"...) are defined by the OSGi
317321
spec -->
318322
<environments>
319323
<!-- Mac aarch64 -->

io.sloeber.product/sloeber.target

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
<unit id="org.eclipse.ecf.core.feature.group" version="0.0.0"/>
3131
<unit id="org.eclipse.wildwebdeveloper.feature.feature.group" version="0.0.0"/>
3232
</location>
33+
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
34+
<repository location="https://download.eclipse.org/egit/updates"/>
35+
<unit id="org.eclipse.egit.feature.group" version="0.0.0"/>
36+
<unit id="org.eclipse.egit.source.feature.group" version="0.0.0"/>
37+
</location>
3338
<location includeDependencyDepth="none" includeDependencyScopes="compile" includeSource="true" label="DirectFromMaven" missingManifest="error" type="Maven">
3439
<dependencies>
3540
<dependency>
@@ -52,11 +57,6 @@
5257
</dependency>
5358
</dependencies>
5459
</location>
55-
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
56-
<repository location="https://download.eclipse.org/egit/updates"/>
57-
<unit id="org.eclipse.egit.feature.group" version="6.7.0.202309050840-r"/>
58-
<unit id="org.eclipse.egit.source.feature.group" version="6.7.0.202309050840-r"/>
59-
</location>
6060
</locations>
6161
<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17"/>
6262
</target>

io.sloeber.tests/.classpath

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<classpath>
33
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER">
44
<attributes>
5+
<attribute name="module" value="true"/>
56
<attribute name="maven.pomderived" value="true"/>
67
</attributes>
78
</classpathentry>
@@ -12,10 +13,5 @@
1213
<attribute name="maven.pomderived" value="true"/>
1314
</attributes>
1415
</classpathentry>
15-
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
16-
<attributes>
17-
<attribute name="maven.pomderived" value="true"/>
18-
</attributes>
19-
</classpathentry>
2016
<classpathentry kind="output" path="bin"/>
2117
</classpath>

0 commit comments

Comments
 (0)