diff options
author | Christopher Lott (cl778h) <clott@research.att.com> | 2017-10-11 11:33:47 -0400 |
---|---|---|
committer | Chris Lott <cl778h@att.com> | 2017-10-11 18:53:59 +0000 |
commit | c9dbe4f1b27c47d23102b8e0da880ccb5de9efa4 (patch) | |
tree | 77e20de71d4e34765cf673caf8ce7041715d954b /dcae_dmaapbc_webapp/dbca-os/pom.xml | |
parent | 9b8af9d7c37b3ab3e5dc9d16c95578b6f653c973 (diff) |
Exclude unneeded classes so app will start
1. The webapp fails to start in WindRiver (same docker image works in Rackspace).
Extend app configuration to exclude unneeded class where the error happens.
2. Use MariaDB connector; drop Mysql connector.
Issue: DMAAP-159, PORTAL-20
Change-Id: I203e0d463308011eb18085974001118958a2abaf
Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
(cherry picked from commit 4c9cbdc7bf459490fe75d60ff3676e6ce34eb6b1)
Diffstat (limited to 'dcae_dmaapbc_webapp/dbca-os/pom.xml')
-rw-r--r-- | dcae_dmaapbc_webapp/dbca-os/pom.xml | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/dcae_dmaapbc_webapp/dbca-os/pom.xml b/dcae_dmaapbc_webapp/dbca-os/pom.xml index 78eaad9..adeceac 100644 --- a/dcae_dmaapbc_webapp/dbca-os/pom.xml +++ b/dcae_dmaapbc_webapp/dbca-os/pom.xml @@ -29,12 +29,12 @@ <repository> <!-- Snapshots repository has ECOMP snapshot artifacts --> <id>ecomp-snapshots</id> - <url>${nexusproxy}/${snapshotNexusPath}</url> + <url>${nexusproxy}${snapshotNexusPath}</url> </repository> <repository> <!-- Releases repository has ECOMP release artifacts --> <id>ecomp-releases</id> - <url>${nexusproxy}/${releaseNexusPath}</url> + <url>${nexusproxy}${releaseNexusPath}</url> </repository> </repositories> @@ -84,17 +84,20 @@ <exclude>app/fusionapp/**</exclude> <exclude>app/fusion/ase/**</exclude> <exclude>app/fusion/external/angular-1.5/**</exclude> + <!-- do NOT exclude app/fusion/external/ebz --> <exclude>app/fusion/external/gis/**</exclude> <exclude>app/fusion/external/leaflet-0.7.3/**</exclude> <exclude>app/fusion/external/lodash/**</exclude> <exclude>app/fusion/external/samples/**</exclude> <exclude>app/fusion/external/showdown/**</exclude> <exclude>app/fusion/notebook-integration/**</exclude> - <exclude>static/fusion/**</exclude> - <exclude>static/js/**</exclude> + <exclude>static/fusion/raptor</exclude> + <exclude>static/fusion/sample</exclude> + <!-- do NOT exclude static/js/** --> <exclude>META-INF/MANIFEST.MF</exclude> <exclude>WEB-INF/fusion/raptor/**</exclude> <!-- do NOT exclude WEB-INF/fusion/jsp --> + <!-- do NOT exclude WEB-INF/fusion/orm --> </excludes> </overlay> </overlays> @@ -200,14 +203,14 @@ </exclusion> </exclusions> </dependency> - <!-- Use Mysql in ONAP --> + <!-- Use Mariadb in ONAP --> <dependency> - <groupId>mysql</groupId> - <artifactId>mysql-connector-java</artifactId> - <version>5.1.22</version> + <groupId>org.mariadb.jdbc</groupId> + <artifactId>mariadb-java-client</artifactId> + <version>1.5.8</version> </dependency> </dependencies> - + <distributionManagement> <!-- The id below must match your .m2/settings.xml/servers/server/id --> <repository> @@ -241,5 +244,5 @@ <url>http://maven.restlet.com</url> </pluginRepository> </pluginRepositories> - + </project> |