Skip to content

Commit

Permalink
Workaround for faulty language level detection in IntelliJ
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorncs committed Nov 17, 2020
1 parent 5e74541 commit 2e071a7
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 0 deletions.
5 changes: 5 additions & 0 deletions container-jersey2/pom.xml
Expand Up @@ -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>
5 changes: 5 additions & 0 deletions container-search-gui/pom.xml
Expand Up @@ -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>

Expand Down
5 changes: 5 additions & 0 deletions container-test-jars/jersey-resources/pom.xml
Expand Up @@ -25,6 +25,11 @@
</dependencies>
<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>
Expand Down
5 changes: 5 additions & 0 deletions jaxrs_utils/pom.xml
Expand Up @@ -25,6 +25,11 @@
</dependencies>
<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>
Expand Down
5 changes: 5 additions & 0 deletions node-admin/pom.xml
Expand Up @@ -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>
5 changes: 5 additions & 0 deletions orchestrator-restapi/pom.xml
Expand Up @@ -37,6 +37,11 @@
</dependencies>
<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>
Expand Down

0 comments on commit 2e071a7

Please sign in to comment.