-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
65 lines (58 loc) · 2.51 KB
/
pom.xml
File metadata and controls
65 lines (58 loc) · 2.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<?xml version="1.0" encoding="UTF-8"?>
<!--
Minimal Spring Boot test fixture for SpecShield end-to-end validation.
The `specshield init` wizard detects the service name from <artifactId>
in this file (per projectDetect.js:104-108). The fixture also ships with
a generated openapi.yaml + openapi.v2.yaml so the diff engine has
something realistic to chew on without needing to spin up the app.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.2.0</version>
<relativePath/>
</parent>
<groupId>com.specshield.test</groupId>
<artifactId>springboot-test-project</artifactId>
<version>1.0.0</version>
<name>SpecShield Test Fixture — Spring Boot</name>
<description>
Minimal Spring Boot project used to validate that SpecShield's CLI
detection, init wizard, compare engine, and GitHub Actions integration
all work correctly against Java/Maven projects.
</description>
<properties>
<java.version>21</java.version>
<maven.compiler.source>21</maven.compiler.source>
<maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<!-- Web layer — exposes the REST endpoints described in openapi.yaml -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- Springdoc — auto-generates openapi.json from the controller annotations
at runtime. Optional for SpecShield testing; included so a real team's
workflow (generate spec → diff) can be exercised end-to-end. -->
<dependency>
<groupId>org.springdoc</groupId>
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
<version>2.3.0</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>
</plugins>
</build>
</project>