diff options
-rwxr-xr-x | dependencies/pom.xml | 5 | ||||
-rw-r--r-- | opendaylight/neon/neon-alpine/pom.xml | 23 | ||||
-rw-r--r-- | opendaylight/neon/neon-alpine/src/main/docker/Dockerfile | 3 | ||||
-rw-r--r-- | opendaylight/neon/pom.xml | 7 |
4 files changed, 5 insertions, 33 deletions
diff --git a/dependencies/pom.xml b/dependencies/pom.xml index bd0f1c05..6534f3e6 100755 --- a/dependencies/pom.xml +++ b/dependencies/pom.xml @@ -106,6 +106,11 @@ <artifactId>oauth1-client</artifactId> </dependency> <dependency> + <groupId>org.mariadb.jdbc</groupId> + <artifactId>mariadb-java-client</artifactId> + <type>jar</type> + </dependency> + <dependency> <groupId>org.onap.logging-analytics</groupId> <artifactId>logging-filter-base</artifactId> </dependency> diff --git a/opendaylight/neon/neon-alpine/pom.xml b/opendaylight/neon/neon-alpine/pom.xml index 08c131bb..823aebc6 100644 --- a/opendaylight/neon/neon-alpine/pom.xml +++ b/opendaylight/neon/neon-alpine/pom.xml @@ -72,29 +72,6 @@ <overWriteIfNewer>true</overWriteIfNewer> </configuration> </execution> - - <execution> - <id>get-mariadb-connector-jar</id> - <phase>validate</phase> - <goals> - <goal>copy</goal> - </goals> - <configuration> - <artifactItems> - <artifactItem> - <groupId>org.mariadb.jdbc</groupId> - <artifactId>mariadb-java-client</artifactId> - <version>${ccsdk.mariadb-connector-java.version}</version> - <type>jar</type> - <overWrite>true</overWrite> - <outputDirectory>${basedir}/target/docker-stage</outputDirectory> - </artifactItem> - </artifactItems> - <overWriteReleases>false</overWriteReleases> - <overWriteSnapshots>true</overWriteSnapshots> - <overWriteIfNewer>true</overWriteIfNewer> - </configuration> - </execution> </executions> </plugin> diff --git a/opendaylight/neon/neon-alpine/src/main/docker/Dockerfile b/opendaylight/neon/neon-alpine/src/main/docker/Dockerfile index 9d518af3..054a44f7 100644 --- a/opendaylight/neon/neon-alpine/src/main/docker/Dockerfile +++ b/opendaylight/neon/neon-alpine/src/main/docker/Dockerfile @@ -15,9 +15,6 @@ RUN mkdir -p /opt/odl \ && ln -s /opt/opendaylight /opt/opendaylight/${odl.karaf.artifactId}-${ccsdk.opendaylight.version} \ && ln -s /opt/opendaylight /opt/opendaylight/current -# workaround till we get proxy working -RUN mkdir -p /opt/opendaylight/system/org/mariadb/jdbc/mariadb-java-client/${ccsdk.mariadb-connector-java.version} -COPY mariadb-java-client-${ccsdk.mariadb-connector-java.version}.jar /opt/opendaylight/system/org/mariadb/jdbc/mariadb-java-client/${ccsdk.mariadb-connector-java.version} # ENTRYPOINT exec /opt/opendaylight/bin/karaf EXPOSE 8181 diff --git a/opendaylight/neon/pom.xml b/opendaylight/neon/pom.xml index ef13ead7..c0bd72d1 100644 --- a/opendaylight/neon/pom.xml +++ b/opendaylight/neon/pom.xml @@ -19,7 +19,6 @@ <ccsdk.project.version>${project.version}</ccsdk.project.version> <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp> <ccsdk.opendaylight.version>0.10.1</ccsdk.opendaylight.version> - <ccsdk.mariadb-connector-java.version>2.1.1</ccsdk.mariadb-connector-java.version> <docker.push.phase>deploy</docker.push.phase> </properties> @@ -31,12 +30,6 @@ <version>${ccsdk.opendaylight.version}</version> <type>tar.gz</type> </dependency> - <dependency> - <groupId>org.mariadb.jdbc</groupId> - <artifactId>mariadb-java-client</artifactId> - <version>${ccsdk.mariadb-connector-java.version}</version> - <type>jar</type> - </dependency> </dependencies> </dependencyManagement> |