├── .gitignore ├── .travis.yml ├── LICENSE ├── README.md ├── pom.xml ├── screenshots └── travis-ci.png └── test └── mvnsettings.xml /.gitignore: -------------------------------------------------------------------------------- 1 | /.settings 2 | /target 3 | /.classpath 4 | /.project 5 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: java 2 | sudo: false 3 | install: true 4 | 5 | jdk: 6 | - oraclejdk8 7 | 8 | script: 9 | - mvn clean install --settings test/mvnsettings.xml 10 | 11 | cache: 12 | directories: 13 | - '$HOME/.m2/repository' 14 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrillon14/MavenSampleOracleJdbc/59ab76b0ee3f18c887083990f3308217109fc92c/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # MavenSampleOracleJdbc 2 | Maven sample project for use a Oracle JDBC Driver 3 | 4 | # How to use on local environment 5 | 6 | change ${OTN_USERNAME} by your Oracle login in test/mvnsettings.xml file 7 | 8 | change ${OTN_PASSWORD} by your Oracle password in test/mvnsettings.xml file 9 | 10 | ``` 11 | mvn clean install --settings test/mvnsettings.xml 12 | ``` 13 | 14 | # How to use on travis-ci 15 | 16 | ![TravisCi](/screenshots/travis-ci.png) 17 | 18 | # Continuous Integration status 19 | [![Build Status](https://travis-ci.org/sgrillon14/MavenSampleOracleJdbc.svg?branch=master)](https://travis-ci.org/sgrillon14/MavenSampleOracleJdbc) 20 | 21 | # License 22 | 23 | BSD-3-Clause + Oracle Technology Network License Agreement, See LICENSE for details 24 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 4.0.0 5 | 6 | com.github.sgrillon14 7 | mavensampleoraclejdbc 8 | 1.0.0-SNAPSHOT 9 | 10 | 11 | 12.2.0.1 12 | 13 | 14 | 15 | 16 | maven.oracle.com 17 | 18 | true 19 | 20 | 21 | false 22 | 23 | https://maven.oracle.com 24 | default 25 | 26 | 27 | 28 | 29 | 30 | maven.oracle.com 31 | https://maven.oracle.com 32 | 33 | 34 | 35 | 36 | 37 | com.oracle.jdbc 38 | ojdbc8 39 | ${oracle.driver.version} 40 | 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /screenshots/travis-ci.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sgrillon14/MavenSampleOracleJdbc/59ab76b0ee3f18c887083990f3308217109fc92c/screenshots/travis-ci.png -------------------------------------------------------------------------------- /test/mvnsettings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | maven.oracle.com 5 | ${OTN_USERNAME} 6 | ${OTN_PASSWORD} 7 | 8 | 9 | ANY 10 | ANY 11 | OAM 11g 12 | 13 | 14 | 15 | 16 | 17 | http.protocol.allow-circular-redirects 18 | %b,true 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | --------------------------------------------------------------------------------