From 0dd3b210eefc2ec7d797f55aaa860fc9a8e42ac5 Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Wed, 7 Jun 2023 12:59:03 +0200 Subject: [PATCH] rename artifact --- build.sh | 3 +++ pom.xml | 8 ++++++-- run-local.sh | 3 +++ 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100755 build.sh create mode 100755 run-local.sh diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..73364f7 --- /dev/null +++ b/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +mvn -Pnative spring-boot:build-image diff --git a/pom.xml b/pom.xml index a507c5f..537681d 100644 --- a/pom.xml +++ b/pom.xml @@ -9,9 +9,9 @@ <relativePath/> <!-- lookup parent from repository --> </parent> <groupId>de.ozgcloud</groupId> - <artifactId>operator</artifactId> + <artifactId>ozg-operator</artifactId> <version>0.0.1-SNAPSHOT</version> - <name>ozg-operator</name> + <name>OZG Cloud Operator</name> <description>OZG Cloud Operator</description> <properties> <java.version>17</java.version> @@ -35,6 +35,10 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> + <plugin> + <groupId>org.graalvm.buildtools</groupId> + <artifactId>native-maven-plugin</artifactId> + </plugin> </plugins> </build> diff --git a/run-local.sh b/run-local.sh new file mode 100755 index 0000000..3d116dd --- /dev/null +++ b/run-local.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +docker run --rm -p 8080:8080 docker.io/library/operator:0.0.1-SNAPSHOT -- GitLab