Skip to content

Commit e17e2f9

Browse files
committed
fix google Value compile
Compilation failed using modern compilers. The problem was related to the lack of dependencies in the protege-editor-owl project
1 parent f8aa221 commit e17e2f9

File tree

5 files changed

+37
-12
lines changed

5 files changed

+37
-12
lines changed

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -336,13 +336,13 @@
336336

337337
<plugin>
338338
<artifactId>maven-enforcer-plugin</artifactId>
339-
<version>3.4.1</version>
339+
<version>3.5.0</version>
340340
</plugin>
341341

342342
<plugin>
343343
<groupId>org.apache.maven.plugins</groupId>
344344
<artifactId>maven-compiler-plugin</artifactId>
345-
<version>3.13.0</version>
345+
<version>3.14.0</version>
346346
<configuration>
347347
<release>11</release>
348348
</configuration>
@@ -409,19 +409,19 @@
409409
<plugin>
410410
<groupId>org.apache.maven.plugins</groupId>
411411
<artifactId>maven-dependency-plugin</artifactId>
412-
<version>3.6.1</version>
412+
<version>3.8.1</version>
413413
</plugin>
414414

415415
<plugin>
416416
<groupId>org.apache.maven.plugins</groupId>
417417
<artifactId>maven-javadoc-plugin</artifactId>
418-
<version>3.6.3</version>
418+
<version>3.11.2</version>
419419
</plugin>
420420

421421
<plugin>
422422
<groupId>org.apache.maven.plugins</groupId>
423423
<artifactId>maven-gpg-plugin</artifactId>
424-
<version>3.2.4</version>
424+
<version>3.2.7</version>
425425
</plugin>
426426

427427
<plugin>
@@ -433,7 +433,7 @@
433433
<plugin>
434434
<groupId>org.apache.maven.plugins</groupId>
435435
<artifactId>maven-clean-plugin</artifactId>
436-
<version>3.3.2</version>
436+
<version>3.5.0</version>
437437
</plugin>
438438

439439
<plugin>
@@ -445,7 +445,7 @@
445445
<plugin>
446446
<groupId>org.apache.maven.plugins</groupId>
447447
<artifactId>maven-failsafe-plugin</artifactId>
448-
<version>3.2.5</version>
448+
<version>3.5.3</version>
449449
</plugin>
450450

451451
</plugins>

protege-desktop/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@
9393

9494
<plugin>
9595
<artifactId>maven-compiler-plugin</artifactId>
96+
<configuration>
97+
<source>11</source>
98+
<target>11</target>
99+
</configuration>
96100
</plugin>
97101

98102
<plugin>

protege-editor-owl/pom.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,11 @@
143143
<groupId>com.google.auto.value</groupId>
144144
<artifactId>auto-value</artifactId>
145145
</dependency>
146+
147+
<dependency>
148+
<groupId>com.google.auto.value</groupId>
149+
<artifactId>auto-value-annotations</artifactId>
150+
</dependency>
146151

147152
<dependency>
148153
<groupId>com.jcraft</groupId>
@@ -182,7 +187,6 @@
182187
<version>0.0.1</version>
183188
<scope>provided</scope>
184189
</dependency>
185-
186190
</dependencies>
187191

188192
<build>
@@ -243,7 +247,14 @@
243247
</execution>
244248
</executions>
245249
</plugin>
246-
250+
<plugin>
251+
<groupId>org.apache.maven.plugins</groupId>
252+
<artifactId>maven-compiler-plugin</artifactId>
253+
<configuration>
254+
<source>11</source>
255+
<target>11</target>
256+
</configuration>
257+
</plugin>
247258
</plugins>
248259
</build>
249260

protege-editor-owl/src/main/java/org/protege/editor/owl/model/idrange/UserIdRange.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package org.protege.editor.owl.model.idrange;
22

33
import com.google.auto.value.AutoValue;
4-
54
import javax.annotation.Nonnull;
65

76
/**

protege-launcher/pom.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,19 @@
1515

1616
<name>protege-launcher</name>
1717
<description>The Protege Launcher</description>
18-
19-
<dependencies>
18+
<build>
19+
<plugins>
20+
<plugin>
21+
<groupId>org.apache.maven.plugins</groupId>
22+
<artifactId>maven-compiler-plugin</artifactId>
23+
<configuration>
24+
<source>11</source>
25+
<target>11</target>
26+
</configuration>
27+
</plugin>
28+
</plugins>
29+
</build>
30+
<dependencies>
2031

2132
<dependency>
2233
<groupId>net.sourceforge.owlapi</groupId>

0 commit comments

Comments
 (0)