Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions dependencies/install-jars/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,48 +14,8 @@
like install the ojdbc jar with the pbraw/pom.xml:

maven-install-plugin:2.5.2:install-file (install-jar-lib) @ install-jars
Installing dependencies/install-jars/lib/ojdbc/ojdbc8-12.2.0.1.jar to .m2/repository/com/oracle/jdbc/ojdbc8/12.2.0.1/ojdbc8-12.2.0.1.jar
Installing dependencies/install-jars/lib/pbraw/pom.xml to .m2/repository/com/oracle/jdbc/ojdbc8/12.2.0.1/ojdbc8-12.2.0.1.pom
-->
<profiles>
<!-- Oracle JDBC is only available from an Oracle.
If your site uses it, copy it into ${basedir}/lib/ojdbc/ojdbc8-12.2.0.1.jar,
from which it will be installed into local maven repo
-->
<profile>
<activation>
<file>
<exists>${basedir}/lib/ojdbc/ojdbc8-12.2.0.1.jar</exists>
</file>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<executions>
<execution>
<id>install-oracle</id>
<configuration>
<groupId>com.oracle.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>12.2.0.1</version>
<packaging>jar</packaging>
<file>${basedir}/lib/ojdbc/ojdbc8-12.2.0.1.jar</file>
<generatePom>true</generatePom>
</configuration>
<goals>
<goal>install-file</goal>
</goals>
<phase>validate</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>

<build>
<plugins>
Expand Down
48 changes: 32 additions & 16 deletions dependencies/phoebus-target/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,6 @@
</properties>

<profiles>
<!-- Oracle JDBC is conditionally installed by install-jars -->
<profile>
<activation>
<file>
<exists>${basedir}/../install-jars/lib/ojdbc/ojdbc8-12.2.0.1.jar</exists>
</file>
</activation>
<dependencies>
<dependency>
<groupId>com.oracle.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>12.2.0.1</version>
</dependency>
</dependencies>
</profile>
<!-- Overriding the default release profile to run the pre release script
with makes the required modification to .classpath and other manually maintained
files -->
Expand Down Expand Up @@ -156,7 +141,38 @@
<artifactId>py4j</artifactId>
<version>0.10.2.1</version>
</dependency>
<!-- JDBC connectors For Oracle, see ORACLE_JDBC_JAR -->
<!-- JDBC connectors For Oracle, MySQL, Postgres -->
<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>12.2.0.1</version>
<exclusions>
<exclusion>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ucp</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.database.security</groupId>
<artifactId>oraclepki</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.database.security</groupId>
<artifactId>osdt_cert</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.database.security</groupId>
<artifactId>osdt_core</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.database.ha</groupId>
<artifactId>simplefan</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.database.ha</groupId>
<artifactId>ons</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
Expand Down
51 changes: 31 additions & 20 deletions services/archive-engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,6 @@
</parent>
<artifactId>service-archive-engine</artifactId>
<name>${project.groupId}:${project.artifactId}</name>
<profiles>
<!-- When Oracle support is needed, set environment variable ORACLE_JDBC_JAR=/path/to/ojdbc8-12.2.0.1.jar -->
<profile>
<activation>
<property>
<name>env.ORACLE_JDBC_JAR</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.oracle.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>12.2.0.1</version>
<scope>system</scope>
<systemPath>${env.ORACLE_JDBC_JAR}</systemPath>
</dependency>
</dependencies>
</profile>
</profiles>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand Down Expand Up @@ -68,6 +48,37 @@
<version>${jackson.version}</version>
</dependency>

<dependency>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ojdbc8</artifactId>
<version>12.2.0.1</version>
<exclusions>
<exclusion>
<groupId>com.oracle.database.jdbc</groupId>
<artifactId>ucp</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.database.security</groupId>
<artifactId>oraclepki</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.database.security</groupId>
<artifactId>osdt_cert</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.database.security</groupId>
<artifactId>osdt_core</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.database.ha</groupId>
<artifactId>simplefan</artifactId>
</exclusion>
<exclusion>
<groupId>com.oracle.database.ha</groupId>
<artifactId>ons</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>com.mysql</groupId>
<artifactId>mysql-connector-j</artifactId>
Expand Down