diff options
-rw-r--r-- | Dockerfile | 8 | ||||
-rw-r--r-- | lib/build.gradle | 10 | ||||
-rw-r--r-- | settings.gradle | 2 |
3 files changed, 10 insertions, 10 deletions
@@ -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' |