Skip to content

Commit 60aaa88

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 82acd62 commit 60aaa88

File tree

6 files changed

+40
-14
lines changed

6 files changed

+40
-14
lines changed

pom.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@
292292
<dependency>
293293
<groupId>com.google.auto.value</groupId>
294294
<artifactId>auto-value</artifactId>
295-
<version>1.6.5</version>
295+
<version>1.11.0</version>
296296
<scope>provided</scope>
297297
</dependency>
298298

@@ -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: 14 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,15 @@
243247
</execution>
244248
</executions>
245249
</plugin>
246-
250+
<plugin>
251+
<groupId>org.apache.maven.plugins</groupId>
252+
<artifactId>maven-compiler-plugin</artifactId>
253+
<version>3.14.0</version>
254+
<configuration>
255+
<source>11</source>
256+
<target>11</target>
257+
</configuration>
258+
</plugin>
247259
</plugins>
248260
</build>
249261

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-editor-owl/src/test/java/org/protege/editor/owl/model/obofoundry/OboFoundryLicenseDetails_TestCase.java

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

3-
import com.google.auto.value.AutoValue;
43
import org.hamcrest.Matchers;
54
import org.junit.Before;
65
import org.junit.Test;

protege-launcher/pom.xml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,20 @@
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+
<version>3.14.0</version>
24+
<configuration>
25+
<source>11</source>
26+
<target>11</target>
27+
</configuration>
28+
</plugin>
29+
</plugins>
30+
</build>
31+
<dependencies>
2032

2133
<dependency>
2234
<groupId>net.sourceforge.owlapi</groupId>

0 commit comments

Comments
 (0)