diff options
| author | mo khan <mo.khan@gmail.com> | 2020-11-10 01:30:35 +0000 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-11-10 01:30:35 +0000 |
| commit | 1bc270fea3b352b44dfcef3fe16e97a2bbd4d7a5 (patch) | |
| tree | 8f61c9dccbd468de456e516113e9d6f289a7a157 /spec/fixtures/java/maven/nested/service/maven-backend/pom.xml | |
| parent | f8200b265f63173c9b8d0b26470b449f512dbd17 (diff) | |
| parent | 82338d974f42149e70f9163567940453f8f18b79 (diff) | |
Merge branch '273155-recursive' into 'main'v3.28.2
Detect maven/gradle wrapper in sub directory
See merge request gitlab-org/security-products/analyzers/license-finder!15
Diffstat (limited to 'spec/fixtures/java/maven/nested/service/maven-backend/pom.xml')
| -rw-r--r-- | spec/fixtures/java/maven/nested/service/maven-backend/pom.xml | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/spec/fixtures/java/maven/nested/service/maven-backend/pom.xml b/spec/fixtures/java/maven/nested/service/maven-backend/pom.xml new file mode 100644 index 0000000..301447f --- /dev/null +++ b/spec/fixtures/java/maven/nested/service/maven-backend/pom.xml @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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 https://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>2.3.4.RELEASE</version> + <relativePath/> <!-- lookup parent from repository --> + </parent> + <groupId>com.example</groupId> + <artifactId>demo</artifactId> + <version>0.0.1-SNAPSHOT</version> + <name>demo</name> + <description>Demo project for Spring Boot</description> + + <properties> + <java.version>1.8</java.version> + <kotlin.version>1.3.72</kotlin.version> + </properties> + + <dependencies> + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter</artifactId> + </dependency> + <dependency> + <groupId>org.jetbrains.kotlin</groupId> + <artifactId>kotlin-reflect</artifactId> + </dependency> + <dependency> + <groupId>org.jetbrains.kotlin</groupId> + <artifactId>kotlin-stdlib-jdk8</artifactId> + </dependency> + + <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-test</artifactId> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>org.junit.vintage</groupId> + <artifactId>junit-vintage-engine</artifactId> + </exclusion> + </exclusions> + </dependency> + </dependencies> + + <build> + <sourceDirectory>${project.basedir}/src/main/kotlin</sourceDirectory> + <testSourceDirectory>${project.basedir}/src/test/kotlin</testSourceDirectory> + <plugins> + <plugin> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-maven-plugin</artifactId> + </plugin> + <plugin> + <groupId>org.jetbrains.kotlin</groupId> + <artifactId>kotlin-maven-plugin</artifactId> + <configuration> + <args> + <arg>-Xjsr305=strict</arg> + </args> + <compilerPlugins> + <plugin>spring</plugin> + </compilerPlugins> + </configuration> + <dependencies> + <dependency> + <groupId>org.jetbrains.kotlin</groupId> + <artifactId>kotlin-maven-allopen</artifactId> + <version>${kotlin.version}</version> + </dependency> + </dependencies> + </plugin> + </plugins> + </build> + +</project> |
