mirror of
https://github.com/DependencyTrack/dependency-track.git
synced 2026-06-27 19:52:52 +00:00
133 lines
No EOL
4.7 KiB
XML
133 lines
No EOL
4.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ This file is part of Dependency-Track.
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
~
|
|
~ SPDX-License-Identifier: Apache-2.0
|
|
~ Copyright (c) OWASP Foundation. All Rights Reserved.
|
|
-->
|
|
<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.dependencytrack</groupId>
|
|
<artifactId>plugin-parent</artifactId>
|
|
<version>5.7.0-alpha.3-SNAPSHOT</version>
|
|
</parent>
|
|
|
|
<artifactId>plugin-runtime</artifactId>
|
|
<packaging>jar</packaging>
|
|
|
|
<name>Plugin :: Runtime</name>
|
|
|
|
<properties>
|
|
<project.parentBaseDir>${project.basedir}/../..</project.parentBaseDir>
|
|
</properties>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.dependencytrack</groupId>
|
|
<artifactId>plugin-api</artifactId>
|
|
<version>${project.version}</version>
|
|
<scope>provided</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.assertj</groupId>
|
|
<artifactId>assertj-core</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.fasterxml.jackson.core</groupId>
|
|
<artifactId>jackson-databind</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.networknt</groupId>
|
|
<artifactId>json-schema-validator</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>net.javacrumbs.json-unit</groupId>
|
|
<artifactId>json-unit-assertj</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.jspecify</groupId>
|
|
<artifactId>jspecify</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.junit.jupiter</groupId>
|
|
<artifactId>junit-jupiter</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-api</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-simple</artifactId>
|
|
<scope>test</scope>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.jsonschema2pojo</groupId>
|
|
<artifactId>jsonschema2pojo-maven-plugin</artifactId>
|
|
<executions>
|
|
<execution>
|
|
<id>test-runtime-config</id>
|
|
<phase>generate-test-sources</phase>
|
|
<goals>
|
|
<goal>generate</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
<configuration>
|
|
<sourceDirectory>${basedir}/src/test/resources/org/dependencytrack/plugin/runtime/config</sourceDirectory>
|
|
<outputDirectory>${project.build.directory}/generated-test-sources/jsonschema2pojo</outputDirectory>
|
|
<targetPackage>org.dependencytrack.plugin.runtime.config</targetPackage>
|
|
<generateBuilders>true</generateBuilders>
|
|
</configuration>
|
|
</plugin>
|
|
|
|
<plugin>
|
|
<groupId>org.codehaus.mojo</groupId>
|
|
<artifactId>build-helper-maven-plugin</artifactId>
|
|
<version>3.6.1</version>
|
|
<executions>
|
|
<execution>
|
|
<id>add-test-source</id>
|
|
<phase>generate-test-sources</phase>
|
|
<goals>
|
|
<goal>add-test-source</goal>
|
|
</goals>
|
|
<configuration>
|
|
<sources>
|
|
<source>${project.build.directory}/generated-test-sources/jsonschema2pojo</source>
|
|
</sources>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
|
|
</project> |