From: Fiete Ostkamp Date: Tue, 18 Jul 2023 07:51:34 +0000 (+0000) Subject: Rename bff artefact X-Git-Tag: 0.0.9~18 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F135490%2F1;p=portal-ng%2Fbff.git Rename bff artefact Issue-ID: PORTALNG-17 Change-Id: I1d22a38826891aad79c2250128f941c930987536 Signed-off-by: Fiete Ostkamp --- diff --git a/Dockerfile b/Dockerfile index beafabd..e52fa2b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM eclipse-temurin:17 as builder -COPY . ./portalbff -WORKDIR /portalbff +COPY . ./bff +WORKDIR /bff -RUN ./gradlew build +RUN ./gradlew assemble FROM eclipse-temurin:17-jre-alpine -ARG JAR_FILE=/portalbff/app/build/libs/app.jar +ARG JAR_FILE=/bff/app/build/libs/app.jar COPY --from=builder ${JAR_FILE} app.jar EXPOSE 9080 ENTRYPOINT [ "java","-jar","app.jar" ] \ No newline at end of file diff --git a/lib/build.gradle b/lib/build.gradle index 9248ce3..594dd9c 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -7,7 +7,7 @@ apply plugin: 'com.diffplug.spotless' apply plugin: 'com.github.spotbugs' apply plugin: 'org.sonarqube' -group 'org.onap' +group 'org.onap.portal-ng' version rootProject.file('version').text.trim() dependencies { @@ -35,7 +35,7 @@ dependencies { } shadowJar { - archiveBaseName.set('portal-bff') + archiveBaseName.set('bff') dependencies { include(project(':openapi:server')) include(project(':openapi:client-portal-history')) @@ -46,14 +46,14 @@ shadowJar { publishing { publications { - myLibrary(MavenPublication) { + bffLibrary(MavenPublication) { artifactId = rootProject.name groupId = group version = version - artifacts = ["build/libs/portal-bff-$version-all.jar"] + artifacts = ["build/libs/bff-$version-all.jar"] pom { name = rootProject.name - description = 'ONAP community edition of portal-bff' + description = 'ONAP community edition of bff' } } } diff --git a/settings.gradle b/settings.gradle index 18a70b9..6f97819 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,4 +1,4 @@ -rootProject.name = 'portal-bff' +rootProject.name = 'bff' include 'app'