Skip to content

Commit

Permalink
Java: Make the maven project work on reasonable java version
Browse files Browse the repository at this point in the history
  • Loading branch information
puremourning committed Jul 11, 2020
1 parent a1da3d2 commit aed7337
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion ycmd/tests/java/testdata/simple_maven_project/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.test</groupId>
<artifactId>simple_maven_project</artifactId>
<packaging>pom</packaging>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>simple_maven_project</name>
<url>http://maven.apache.org</url>
Expand All @@ -15,4 +15,18 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<version>3.7.0</version>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit aed7337

Please sign in to comment.