Oracle maven dependency in bitbucket pipelines -


i had requested beta access bitbucket pipelines. got confirmation access today 1 account. enabled pipelines account , tried build 1 project it. project has oracle maven dependency. on system, have oracle dependency installed in local repo build fine.

how can install oracle jar pipelines use build ?

you cannot download driver until add secure key settings.xml see https://blogs.oracle.com/dev2dev/entry/oracle_maven_repository_instructions_for. how generate key mentioned here https://blogs.oracle.com/dev2dev/entry/how_to_get_oracle_jdbc#settings

then can download driver on machine, problem pipelines still here. cannot set password there. realized can use attlassian maven repository jdbc driver v6. me, enough.

this pom.xml.

<repositories>     <repository>         <id>atlassian 3rd-party</id>         <url>https://maven.atlassian.com/3rdparty/</url>     </repository> </repositories>  ...  <dependencies>    <!-- cannot download this: <dependency><groupid>com.oracle.jdbc</groupid><artifactid>ojdbc7</artifactid><version>12.1.0.2</version></dependency>--> <dependency>         <groupid>com.oracle</groupid>         <artifactid>ojdbc6</artifactid>         <version>12.1.0.1-atlassian-hosted</version> </dependency> 

if need jdbc7 driver can manually download driver http://www.oracle.com/technetwork/database/features/jdbc/jdbc-drivers-12c-download-1958347.html lib folder accessible tests (the driver runtime dependency).

i hope helps you.


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -