Update mariadb installation 60/100060/1
authorTimoney, Dan (dt5972) <dtimoney@att.com>
Tue, 7 Jan 2020 15:06:08 +0000 (10:06 -0500)
committerTimoney, Dan (dt5972) <dtimoney@att.com>
Tue, 7 Jan 2020 15:06:12 +0000 (10:06 -0500)
Update to install mariadb java client like all other dependencies instead
of as special case.

Change-Id: I31040362ad89c90ca47be238b438e7e7733cefb7
Issue-ID: CCSDK-2005
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
dependencies/pom.xml
opendaylight/neon/neon-alpine/pom.xml
opendaylight/neon/neon-alpine/src/main/docker/Dockerfile
opendaylight/neon/pom.xml

index bd0f1c0..6534f3e 100755 (executable)
             <groupId>org.glassfish.jersey.security</groupId>
             <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>
index 08c131b..823aebc 100644 (file)
                                                        <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>
 
index 9d518af..054a44f 100644 (file)
@@ -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
index ef13ead..c0bd72d 100644 (file)
@@ -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>
     
                                <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>
 

© 2017 ONAP. Copyright © The Linux Foundation ®. All Rights Reserved.
The Linux Foundation has registered trademarks and uses trademarks.
For a list of trademarks of The Linux Foundation, please see our Trademark Usage page.
Linux is a registered trademark of Linus Torvalds.
Privacy Policy and Terms of Use