From b4de5440c5bbda761740ff8212d48ad1c6d433af Mon Sep 17 00:00:00 2001 From: Radim Vansa Date: Thu, 5 Sep 2024 15:44:02 +0200 Subject: [PATCH] Use deployed CRaC'ed artifacts (#1) --- .gitignore | 1 + README.md | 9 +-------- pom.xml | 25 ++++++++++++------------- settings.xml | 17 ----------------- 4 files changed, 14 insertions(+), 38 deletions(-) create mode 100644 .gitignore delete mode 100644 settings.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eb5a316 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +target diff --git a/README.md b/README.md index b442e92..a138db1 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,8 @@ ## Building -1. Create once a [Personal Access Token (PAK)](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token) with [packages scope](https://docs.github.com/en/packages/publishing-and-managing-packages/about-github-packages#about-tokens). -2. Provide the PAK in the environment ``` -export GITHUB_ACTOR=YOUR_USERNAME -export GITHUB_TOKEN=YOUR_PAK -``` -3. Use maven to build -``` -mvn -s settings.xml package +mvn package ``` ## Running diff --git a/pom.xml b/pom.xml index e310ece..1e2ba39 100644 --- a/pom.xml +++ b/pom.xml @@ -14,27 +14,26 @@ spring-boot Demo project for Spring Boot - - - github - https://maven.pkg.github.com/crac/tomcat - - - github2 - https://maven.pkg.github.com/crac/org.crac - - - - 1.8 - 999-SNAPSHOT + 8.5.75 org.springframework.boot spring-boot-starter-web + + + org.apache.tomcat.embed + tomcat-embed-core + + + + + io.github.crac.org.apache.tomcat.embed + tomcat-embed-core + ${tomcat.version} diff --git a/settings.xml b/settings.xml deleted file mode 100644 index f9c83f9..0000000 --- a/settings.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - github - ${env.GITHUB_ACTOR} - ${env.GITHUB_TOKEN} - - - github2 - ${env.GITHUB_ACTOR} - ${env.GITHUB_TOKEN} - - -