argos-collector-service
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>com.argosnotary.argos</groupId> <artifactId>argos-collector-service</artifactId> <version>1.0.1</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?><!-- Copyright (C) 2020 Argos Notary Coöperatie UA 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. --><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> <groupId>com.argosnotary.argos</groupId> <artifactId>argos-collector-service</artifactId> <version>1.0.1</version> <name>Argos collector service</name> <description>Artifact collector service for Argos Supply Chain Notary</description> <url>https://github.com/argosnotary/argos-parent/argos-collector</url> <properties> <commons-io.version>2.8.0</commons-io.version> <jackson-databind-nullable.version>0.2.1</jackson-databind-nullable.version> <jacoco-maven-plugin.version>0.8.4</jacoco-maven-plugin.version> <junit-jupiter.version>5.6.2</junit-jupiter.version> <maven-compiler-plugin.version>3.8.1</maven-compiler-plugin.version> <maven-dependency-plugin.version>3.1.2</maven-dependency-plugin.version> <maven-deploy-plugin.version>3.0.0-M1</maven-deploy-plugin.version> <maven-javadoc-plugin.version>3.2.0</maven-javadoc-plugin.version> <maven-resources-plugin.version>3.2.0</maven-resources-plugin.version> <maven-source-plugin.version>3.2.1</maven-source-plugin.version> <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> <license-maven-plugin.version>3.0</license-maven-plugin.version> <lombok.version>1.18.14</lombok.version> <org.eclipse.jgit.version>5.8.1.202007141445-r</org.eclipse.jgit.version> <openapi-generator-maven-plugin.version>4.2.3</openapi-generator-maven-plugin.version> <pitest.version>1.5.2</pitest.version> <pitest-junit5-plugin.version>0.12</pitest-junit5-plugin.version> <sonar-maven-plugin.version>3.7.0.1746</sonar-maven-plugin.version> <spring-boot.version>2.3.3.RELEASE</spring-boot.version> <swagger-annotations.version>1.6.2</swagger-annotations.version> <swagger-ui.version>3.32.5</swagger-ui.version> <xml-maven-plugin.version>1.0.2</xml-maven-plugin.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <sonar.exclusions>file:**/generated-sources/**</sonar.exclusions> <java.version>11</java.version> </properties> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <name>Gerard Borst</name> <email>gerard.borst@argosnotary.com</email> <organization>Argos Notary</organization> <organizationUrl>https://argosnotary.github.io</organizationUrl> </developer> <developer> <name>Bart Kors</name> <email>bart.kors@argosnotary.com</email> <organization>Argos Notary</organization> <organizationUrl>https://argosnotary.github.io</organizationUrl> </developer> <developer> <name>Michel Durieux</name> <email>michel.durieux@argosnotary.com</email> <organization>Argos Notary</organization> <organizationUrl>https://argosnotary.github.io</organizationUrl> </developer> </developers> <scm> <connection>scm:git:https://github.com/argosnotary/argos.git</connection> <developerConnection>scm:git:https://github.com/argosnotary/argos.git</developerConnection> <url>https://github.com/argosnotary/argos-collector/tree/master</url> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <build> <finalName>argos-collector-service</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>${maven-surefire-plugin.version}</version> </plugin> <plugin> <!-- Download Swagger UI webjar. --> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>${maven-dependency-plugin.version}</version> <executions> <execution> <id>copy-api-swagger-ui</id> <phase>generate-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>${project.groupId}</groupId> <artifactId>argos-collector-api</artifactId> <version>${project.version}</version> <type>jar</type> <overWrite>true</overWrite> <excludes>META-INF/</excludes> </artifactItem> </artifactItems> <outputDirectory>${project.build.directory}/classes/static/swagger</outputDirectory> </configuration> </execution> <execution> <id>copy-api-code</id> <phase>generate-resources</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>${project.groupId}</groupId> <artifactId>argos-collector-api</artifactId> <version>${project.version}</version> <type>jar</type> <overWrite>true</overWrite> <excludes>META-INF/</excludes> </artifactItem> </artifactItems> <outputDirectory>${project.build.directory}/api</outputDirectory> </configuration> </execution> <execution> <id>swagger-ui</id> <phase>prepare-package</phase> <goals> <goal>unpack</goal> </goals> <configuration> <artifactItems> <artifactItem> <groupId>org.webjars</groupId> <artifactId>swagger-ui</artifactId> <version>${swagger-ui.version}</version> </artifactItem> </artifactItems> <excludes>**/*index.html</excludes> <outputDirectory>${project.build.directory}/swagger-ui</outputDirectory> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-resources-plugin</artifactId> <version>${maven-resources-plugin.version}</version> <executions> <execution> <id>copy-swagger-ui</id> <phase>prepare-package</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/classes/static/swagger</outputDirectory> <resources> <resource> <directory> ${project.build.directory}/swagger-ui/META-INF/resources/webjars/swagger-ui/${swagger-ui.version} </directory> <filtering>false</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.openapitools</groupId> <artifactId>openapi-generator-maven-plugin</artifactId> <version>${openapi-generator-maven-plugin.version}</version> <executions> <execution> <id>api</id> <phase>generate-resources</phase> <goals> <goal>generate</goal> </goals> <configuration> <inputSpec>${project.build.directory}/api/api.yml</inputSpec> <generatorName>spring</generatorName> <configOptions> <interfaceOnly>true</interfaceOnly> <useTags>true</useTags> <java8>true</java8> <dateLibrary>java8</dateLibrary> <useBeanValidation>true</useBeanValidation> <performBeanValidation>true</performBeanValidation> </configOptions> <configHelp>false</configHelp> <apiPackage>com.argosnotary.argos.collector.rest.api.handler</apiPackage> <modelPackage>com.argosnotary.argos.collector.rest.api.model</modelPackage> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${spring-boot.version}</version> <executions> <execution> <goals> <goal>build-info</goal> <goal>repackage</goal> </goals> </execution> </executions> <configuration> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>${maven-compiler-plugin.version}</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> <annotationProcessorPaths> <path> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> </path> </annotationProcessorPaths> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> <configuration> <quiet>true</quiet> <excludePackageNames>com.argosnotary.argos.collector.rest.api.*</excludePackageNames> <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.mycila</groupId> <artifactId>license-maven-plugin</artifactId> <version>${license-maven-plugin.version}</version> <configuration> <quiet>true</quiet> <failIfMissing>true</failIfMissing> <strictCheck>true</strictCheck> <aggregate>false</aggregate> <excludes> <exclude>target/**</exclude> </excludes> <header>https://raw.github.com/argosnotary/argos/master/docs/header.txt</header> <useDefaultExcludes>true</useDefaultExcludes> <properties> <lic.year>2020</lic.year> </properties> <mapping> <java>SLASHSTAR_STYLE</java> </mapping> <encoding>UTF-8</encoding> </configuration> <executions> <execution> <goals> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>xml-maven-plugin</artifactId> <version>${xml-maven-plugin.version}</version> <executions> <execution> <phase>package</phase> <goals> <goal>transform</goal> </goals> </execution> </executions> <configuration> <transformationSets> <transformationSet> <dir>${project.basedir}</dir> <includes>pom.xml</includes> <stylesheet>${project.basedir}/remove-dependencies.xsl</stylesheet> <outputDir>${project.build.directory}</outputDir> </transformationSet> </transformationSets> </configuration> </plugin> <plugin> <artifactId>maven-deploy-plugin</artifactId> <version>${maven-deploy-plugin.version}</version> <configuration> <repositoryId>ossrh</repositoryId> <file>${project.build.directory}/${project.build.finalName}.jar</file> <groupId>${project.groupId}</groupId> <artifactId>${project.artifactId}</artifactId> <version>${project.version}</version> <packaging>jar</packaging> <pomFile>${project.build.directory}/pom.xml</pomFile> <files> ${project.build.directory}/${project.build.finalName}.jar.asc,${project.build.directory}/${project.build.finalName}-sources.jar.asc,${project.build.directory}/${project.build.finalName}-javadoc.jar.asc,${project.build.directory}/pom.xml.asc </files> <types>jar.asc,jar.asc,jar.asc,pom.asc</types> <classifiers>,sources,javadoc,</classifiers> <sources>${project.build.directory}/${project.build.finalName}-sources.jar</sources> <javadoc>${project.build.directory}/${project.build.finalName}-javadoc.jar</javadoc> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>pitest</id> <build> <plugins> <plugin> <groupId>org.pitest</groupId> <artifactId>pitest-maven</artifactId> <version>${pitest.version}</version> <executions> <execution> <phase>verify</phase> <goals> <goal>mutationCoverage</goal> </goals> </execution> </executions> <configuration> <threads>4</threads> <timeoutConstant>10000</timeoutConstant> <timestampedReports>false</timestampedReports> <mutationThreshold>0</mutationThreshold> <coverageThreshold>0</coverageThreshold> <failWhenNoMutations>true</failWhenNoMutations> <reportsDirectory>${project.build.directory}/pi-report</reportsDirectory> <avoidCallsTo> <avoidCallsTo>org.slf4j</avoidCallsTo> </avoidCallsTo> <excludedClasses> <excludedClasse>com.argosnotary.argos.collector.rest.api.*</excludedClasse> <excludedClasse>*MapperImpl</excludedClasse> </excludedClasses> <targetClasses> <param>com.argosnotary.argos.*</param> </targetClasses> <outputFormats> <format>XML</format> <format>HTML</format> </outputFormats> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>sonar</id> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco-maven-plugin.version}</version> <executions> <!--genereer report voor elke submodule --> <execution> <id>reporting</id> <goals> <goal>prepare-agent</goal> <goal>report</goal> </goals> </execution> <execution> <id>default-report</id> <phase>prepare-package</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonarsource.scanner.maven</groupId> <artifactId>sonar-maven-plugin</artifactId> <version>${sonar-maven-plugin.version}</version> </plugin> </plugins> </build> </profile> </profiles> </project>