Skip to content

Commit b4de544

Browse files
authored
Use deployed CRaC'ed artifacts (#1)
1 parent bc550c2 commit b4de544

File tree

4 files changed

+14
-38
lines changed

4 files changed

+14
-38
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
target

README.md

+1-8
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,8 @@
22

33
## Building
44

5-
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).
6-
2. Provide the PAK in the environment
75
```
8-
export GITHUB_ACTOR=YOUR_USERNAME
9-
export GITHUB_TOKEN=YOUR_PAK
10-
```
11-
3. Use maven to build
12-
```
13-
mvn -s settings.xml package
6+
mvn package
147
```
158

169
## Running

pom.xml

+12-13
Original file line numberDiff line numberDiff line change
@@ -14,27 +14,26 @@
1414
<name>spring-boot</name>
1515
<description>Demo project for Spring Boot</description>
1616

17-
<repositories>
18-
<repository>
19-
<id>github</id>
20-
<url>https://maven.pkg.github.com/crac/tomcat</url>
21-
</repository>
22-
<repository>
23-
<id>github2</id>
24-
<url>https://maven.pkg.github.com/crac/org.crac</url>
25-
</repository>
26-
</repositories>
27-
28-
2917
<properties>
3018
<java.version>1.8</java.version>
31-
<tomcat.version>999-SNAPSHOT</tomcat.version>
19+
<tomcat.version>8.5.75</tomcat.version>
3220
</properties>
3321

3422
<dependencies>
3523
<dependency>
3624
<groupId>org.springframework.boot</groupId>
3725
<artifactId>spring-boot-starter-web</artifactId>
26+
<exclusions>
27+
<exclusion>
28+
<groupId>org.apache.tomcat.embed</groupId>
29+
<artifactId>tomcat-embed-core</artifactId>
30+
</exclusion>
31+
</exclusions>
32+
</dependency>
33+
<dependency>
34+
<groupId>io.github.crac.org.apache.tomcat.embed</groupId>
35+
<artifactId>tomcat-embed-core</artifactId>
36+
<version>${tomcat.version}</version>
3837
</dependency>
3938

4039
<dependency>

settings.xml

-17
This file was deleted.

0 commit comments

Comments
 (0)