Because of the need for Oracle's official authorization, MAVEN cannot download ojdbc, needs to download it itself, and then loads it into the local MAVEN library by command, as detailed in the following steps
1, to the official download, address: http://www.oracle.com/technetwork/indexes/downloads/index.html, find "Drivers"-"JDBC Drivers", open, click Agree Agreement, You can select the version to download the
2, assuming that the download is 10.2.0.5.0, placed in the D-Packing directory
3. Open the Command Line window and execute the following command to load the local
MVN install:install-file-dgroupid=com.oracle-dartifactid=ojdbc14-dversion=10.2.0.5.0-dpackaging=jar-dfile=d:\ Ojdbc12.jar
4. Download the pom file on maven (Maven cannot drop the jar but the Pom file) and put it into the folder in the jar in the local Lib library
5. Add in Maven file
<dependency>
<groupId>com.oracle</groupId>
<artifactid>ojdbc14</artifactid >
<version>10.2.0.5.0</version>
</dependency>