github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/syft/pkg/cataloger/java/test-fixtures/java-builds/example-sb-app/pom.xml (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 3 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd"> 4 <modelVersion>4.0.0</modelVersion> 5 <parent> 6 <groupId>org.springframework.boot</groupId> 7 <artifactId>spring-boot-starter-parent</artifactId> 8 <version>2.2.2.RELEASE</version> 9 <relativePath/> <!-- lookup parent from repository --> 10 </parent> 11 <groupId>com.example</groupId> 12 <artifactId>spring-boot</artifactId> 13 <version>0.0.1-SNAPSHOT</version> 14 <name>spring-boot</name> 15 <description>Demo project for Spring Boot</description> 16 17 <properties> 18 <java.version>1.8</java.version> 19 </properties> 20 21 <dependencies> 22 <dependency> 23 <groupId>org.springframework.boot</groupId> 24 <artifactId>spring-boot-starter-web</artifactId> 25 </dependency> 26 27 <!-- tag::actuator[] --> 28 <dependency> 29 <groupId>org.springframework.boot</groupId> 30 <artifactId>spring-boot-starter-actuator</artifactId> 31 </dependency> 32 <!-- end::actuator[] --> 33 34 <!-- tag::tests[] --> 35 <dependency> 36 <groupId>org.springframework.boot</groupId> 37 <artifactId>spring-boot-starter-test</artifactId> 38 <scope>test</scope> 39 <exclusions> 40 <exclusion> 41 <groupId>org.junit.vintage</groupId> 42 <artifactId>junit-vintage-engine</artifactId> 43 </exclusion> 44 </exclusions> 45 </dependency> 46 <!-- end::tests[] --> 47 </dependencies> 48 49 <build> 50 <plugins> 51 52 <plugin> 53 <groupId>org.springframework.boot</groupId> 54 <artifactId>spring-boot-maven-plugin</artifactId> 55 <version>2.1.5.RELEASE</version> 56 <configuration> 57 <mainClass>${start-class}</mainClass> 58 <layout>ZIP</layout> 59 <!-- this gives us a specific build example with a self-executing jar (jar with a shell script prefixed to the archive) --> 60 <executable>true</executable> 61 </configuration> 62 <executions> 63 <execution> 64 <goals> 65 <goal>repackage</goal> 66 </goals> 67 </execution> 68 </executions> 69 </plugin> 70 </plugins> 71 </build> 72 73 </project>