diff options
author | Venkata Harish K Kajur <vk250x@att.com> | 2017-11-02 13:27:12 -0400 |
---|---|---|
committer | Venkata Harish K Kajur <vk250x@att.com> | 2017-11-02 13:27:16 -0400 |
commit | f372b2731a93e705026a426f063a2bcb8a4a2f75 (patch) | |
tree | cf44dc27acfdfa85b23583be4d662b4061d8e2cc /aai-traversal | |
parent | c078af8aafd6ff3f9b2d268af0867ad3df680c7a (diff) |
Update the dependency from snapshot
to using the release version and remove
the dependency in the docker file that is
tied to the 1.1.0 since we are upgrading it
will not always be the same and always depend
on the project version as it will be updatable
from the versions:set command
Issue-ID: AAI-448
Change-Id: Id80162d227a133a51c36b986ac8a8e6952eac2f7
Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'aai-traversal')
-rw-r--r-- | aai-traversal/pom.xml | 8 | ||||
-rw-r--r-- | aai-traversal/src/main/resources/docker/docker-entrypoint.sh | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/aai-traversal/pom.xml b/aai-traversal/pom.xml index 724b2db..d79e1e7 100644 --- a/aai-traversal/pom.xml +++ b/aai-traversal/pom.xml @@ -19,8 +19,6 @@ <dockerLocation>${basedir}/target/swm/package/nix/dist_files/</dockerLocation> <maven.build.timestamp.format>yyyyMMdd'T'HHmmss</maven.build.timestamp.format> <docker.image.version>1.0.0</docker.image.version> - <aai-core.version>1.1.0-SNAPSHOT</aai-core.version> - <aai-schema.version>1.1.0-SNAPSHOT</aai-schema.version> <hbase.version>1.0.2</hbase.version> <sonar.language>java</sonar.language> <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin> @@ -33,12 +31,12 @@ <dependency> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-schema</artifactId> - <version>${aai-schema.version}</version> + <version>${project.version}</version> </dependency> <dependency> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-core</artifactId> - <version>${aai-core.version}</version> + <version>${project.version}</version> </dependency> <!-- Scamper related dependencies --> <dependency> @@ -458,7 +456,7 @@ <artifactItem> <groupId>org.onap.aai.aai-common</groupId> <artifactId>aai-schema</artifactId> - <version>${aai-schema.version}</version> + <version>${project.version}</version> <outputDirectory>bundleconfig-local/etc</outputDirectory> <includes>oxm/*.xml</includes> </artifactItem> diff --git a/aai-traversal/src/main/resources/docker/docker-entrypoint.sh b/aai-traversal/src/main/resources/docker/docker-entrypoint.sh index 64b7277..d1231f2 100644 --- a/aai-traversal/src/main/resources/docker/docker-entrypoint.sh +++ b/aai-traversal/src/main/resources/docker/docker-entrypoint.sh @@ -51,6 +51,8 @@ gosu aaiadmin ./init-chef.sh || { httpPort=8086; httpsPort=8446; +AAI_CORE_JAR=$(ls ${APP_HOME}/extJars/aai-core*.jar); + cd ${APP_HOME}; # If the variable DISABLE_UPDATE_QUERY is empty @@ -84,7 +86,7 @@ CP="$CP":${APP_HOME}/etc; CP="$CP":${APP_HOME}/lib/*; CP="$CP":${APP_HOME}/extJars/logback-access-1.1.7.jar; CP="$CP":${APP_HOME}/extJars/logback-core-1.1.7.jar; -CP="$CP":${APP_HOME}/extJars/aai-core-${AAI_CORE_VERSION}.jar; +CP="$CP":${AAI_CORE_JAR}; # You can add additional jvm options by adding environment variable JVM_PRE_OPTS # If you need to add more jvm options at the end then you can use JVM_POST_OPTS |