aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2020-11-17 14:43:02 +0100
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2020-11-17 14:49:40 +0100
commit2e071a71b433a776ad4969abbd0b64a9e5ca0c65 (patch)
tree24728dde23aac38a518d71df3121f3d0056fe775
parent5e7454179d37b2d639fd3374bb9d916e15f6885c (diff)
Workaround for faulty language level detection in IntelliJ
-rw-r--r--container-jersey2/pom.xml5
-rw-r--r--container-search-gui/pom.xml5
-rw-r--r--container-test-jars/jersey-resources/pom.xml5
-rw-r--r--jaxrs_utils/pom.xml5
-rw-r--r--node-admin/pom.xml5
-rw-r--r--orchestrator-restapi/pom.xml5
6 files changed, 30 insertions, 0 deletions
diff --git a/container-jersey2/pom.xml b/container-jersey2/pom.xml
index ee2c0f0cfab..231e9dd4a0e 100644
--- a/container-jersey2/pom.xml
+++ b/container-jersey2/pom.xml
@@ -71,6 +71,11 @@
<groupId>com.yahoo.vespa</groupId>
<artifactId>abi-check-plugin</artifactId>
</plugin>
+ <plugin>
+ <!-- Explicit for IntelliJ to detect correct language level from parent -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/container-search-gui/pom.xml b/container-search-gui/pom.xml
index c51ce8595af..867f2464b8b 100644
--- a/container-search-gui/pom.xml
+++ b/container-search-gui/pom.xml
@@ -85,6 +85,11 @@
<artifactId>bundle-plugin</artifactId>
<extensions>true</extensions>
</plugin>
+ <plugin>
+ <!-- Explicit for IntelliJ to detect correct language level from parent -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
</plugins>
</build>
diff --git a/container-test-jars/jersey-resources/pom.xml b/container-test-jars/jersey-resources/pom.xml
index 413f06784e8..cb35be91cfd 100644
--- a/container-test-jars/jersey-resources/pom.xml
+++ b/container-test-jars/jersey-resources/pom.xml
@@ -26,6 +26,11 @@
<build>
<plugins>
<plugin>
+ <!-- Explicit for IntelliJ to detect correct language level from parent -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
+ <plugin>
<groupId>com.yahoo.vespa</groupId>
<artifactId>bundle-plugin</artifactId>
<version>${project.version}</version>
diff --git a/jaxrs_utils/pom.xml b/jaxrs_utils/pom.xml
index a75182b0966..9ad85588daa 100644
--- a/jaxrs_utils/pom.xml
+++ b/jaxrs_utils/pom.xml
@@ -26,6 +26,11 @@
<build>
<plugins>
<plugin>
+ <!-- Explicit for IntelliJ to detect correct language level from parent -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
+ <plugin>
<groupId>com.yahoo.vespa</groupId>
<artifactId>bundle-plugin</artifactId>
<extensions>true</extensions>
diff --git a/node-admin/pom.xml b/node-admin/pom.xml
index fb5f8f64acc..d636e2544c2 100644
--- a/node-admin/pom.xml
+++ b/node-admin/pom.xml
@@ -154,6 +154,11 @@
<attachBundleArtifact>true</attachBundleArtifact>
</configuration>
</plugin>
+ <plugin>
+ <!-- Explicit for IntelliJ to detect correct language level from parent -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
</plugins>
</build>
</project>
diff --git a/orchestrator-restapi/pom.xml b/orchestrator-restapi/pom.xml
index 3577580f9f6..d6911907348 100644
--- a/orchestrator-restapi/pom.xml
+++ b/orchestrator-restapi/pom.xml
@@ -38,6 +38,11 @@
<build>
<plugins>
<plugin>
+ <!-- Explicit for IntelliJ to detect correct language level from parent -->
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ </plugin>
+ <plugin>
<groupId>com.yahoo.vespa</groupId>
<artifactId>bundle-plugin</artifactId>
<extensions>true</extensions>