Skip to content

Instantly share code, notes, and snippets.

@Kuassim
Last active September 17, 2019 19:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kuassim/850321b5d2a8f092f138c511433d5186 to your computer and use it in GitHub Desktop.
Save Kuassim/850321b5d2a8f092f138c511433d5186 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.oracle.prod</groupId>
<artifactId>jdbc-driver-prod</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>jdbc-driver-prod</name>
<dependencies>
<dependency>
<groupId>com.oracle.ojdbc</groupId>
<artifactId>ojdbc10</artifactId>
<version>19.3.0.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>10</source>
<target>10</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
@knutwannheden
Copy link

Would it not make more sense to use source and target 10 rather than 1.8 together with the ojdbc10 artifact?

@Kuassim
Copy link
Author

Kuassim commented Sep 17, 2019

Thanks for the catch; I fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment