Skip to content

Commit 39833aa

Browse files
committed
Update dependencies, move build to GitHub Actions
1 parent 5ccd13c commit 39833aa

4 files changed

Lines changed: 90 additions & 13 deletions

File tree

.github/workflows/verify.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Verify
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v2
13+
- name: Set up JDK 11
14+
uses: actions/setup-java@v1
15+
with:
16+
distribution: 'temurin'
17+
java-version: '11'
18+
- name: Cache local Maven repository
19+
uses: actions/cache@v3
20+
with:
21+
path: ~/.m2/repository
22+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
23+
restore-keys: |
24+
${{ runner.os }}-maven-
25+
- name: Maven Verify
26+
run: mvn clean verify --no-transfer-progress --batch-mode --show-version

.travis.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

plugins/eclipse-jetty-launcher/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
<dependency>
6464
<groupId>junit</groupId>
6565
<artifactId>junit</artifactId>
66-
<version>4.11</version>
66+
<version>4.13.1</version>
6767
<scope>test</scope>
6868
</dependency>
6969
<dependency>

pom.xml

Lines changed: 63 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
2-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
1+
<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/maven-v4_0_0.xsd">
32
<modelVersion>4.0.0</modelVersion>
43
<groupId>net.sourceforge.eclipsejetty</groupId>
54
<artifactId>parent</artifactId>
@@ -38,7 +37,7 @@
3837

3938
<properties>
4039
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
41-
<tycho-version>1.2.0</tycho-version>
40+
<tycho-version>2.7.5</tycho-version>
4241
</properties>
4342

4443
<scm>
@@ -64,24 +63,77 @@
6463
<version>${tycho-version}</version>
6564
<extensions>true</extensions>
6665
</plugin>
66+
<plugin>
67+
<groupId>org.eclipse.tycho</groupId>
68+
<artifactId>target-platform-configuration</artifactId>
69+
<version>${tycho-version}</version>
70+
<configuration>
71+
<environments>
72+
<environment>
73+
<os>win32</os>
74+
<ws>win32</ws>
75+
<arch>x86_64</arch>
76+
</environment>
77+
<environment>
78+
<os>linux</os>
79+
<ws>gtk</ws>
80+
<arch>x86_64</arch>
81+
</environment>
82+
<environment>
83+
<os>macosx</os>
84+
<ws>cocoa</ws>
85+
<arch>x86_64</arch>
86+
</environment>
87+
<environment>
88+
<os>macosx</os>
89+
<ws>cocoa</ws>
90+
<arch>aarch64</arch>
91+
</environment>
92+
</environments>
93+
</configuration>
94+
</plugin>
6795
</plugins>
6896

6997
<pluginManagement>
7098
<plugins>
99+
<plugin>
100+
<groupId>org.apache.maven.plugins</groupId>
101+
<artifactId>maven-enforcer-plugin</artifactId>
102+
<version>3.1.0</version>
103+
<executions>
104+
<execution>
105+
<id>enforce-versions</id>
106+
<goals>
107+
<goal>enforce</goal>
108+
</goals>
109+
<configuration>
110+
<rules>
111+
<requireMavenVersion>
112+
<version>3.8.0</version>
113+
</requireMavenVersion>
114+
<requireJavaVersion>
115+
<version>11</version>
116+
</requireJavaVersion>
117+
</rules>
118+
</configuration>
119+
</execution>
120+
</executions>
121+
</plugin>
122+
71123
<plugin>
72124
<groupId>org.apache.maven.plugins</groupId>
73125
<artifactId>maven-compiler-plugin</artifactId>
74-
<version>3.1</version>
126+
<version>3.10.1</version>
75127
<configuration>
76-
<source>1.6</source>
77-
<target>1.6</target>
128+
<source>1.8</source>
129+
<target>1.8</target>
78130
</configuration>
79131
</plugin>
80132

81133
<plugin>
82134
<groupId>org.apache.maven.plugins</groupId>
83135
<artifactId>maven-site-plugin</artifactId>
84-
<version>3.4</version>
136+
<version>3.12.1</version>
85137
</plugin>
86138

87139
<!--This plugin's configuration is used to store Eclipse m2e settings
@@ -119,7 +171,7 @@
119171
<plugin>
120172
<groupId>org.apache.maven.plugins</groupId>
121173
<artifactId>maven-project-info-reports-plugin</artifactId>
122-
<version>2.8.1</version>
174+
<version>3.4.1</version>
123175
<configuration>
124176
<generateSitemap>true</generateSitemap>
125177
<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
@@ -139,7 +191,7 @@
139191
<plugin>
140192
<groupId>org.apache.maven.plugins</groupId>
141193
<artifactId>maven-changes-plugin</artifactId>
142-
<version>2.11</version>
194+
<version>2.12.1</version>
143195
<configuration>
144196
<issueManagementSystems>
145197
<issueManagementSystem>SourceForge</issueManagementSystem>
@@ -161,8 +213,8 @@
161213

162214
<repositories>
163215
<repository>
164-
<id>eclipse-oxygen</id>
165-
<url>http://download.eclipse.org/releases/oxygen</url>
216+
<id>eclipse-2021-12</id>
217+
<url>http://download.eclipse.org/releases/2021-12</url>
166218
<layout>p2</layout>
167219
</repository>
168220
</repositories>

0 commit comments

Comments
 (0)