blob: 282f92c52a4c68582ed1ab0d028614112885867f [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you 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 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>24</version>
<relativePath/>
</parent>
<groupId>org.apache.archiva</groupId>
<artifactId>archiva-parent</artifactId>
<version>19-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Archiva Common Parent Project</name>
<description>
Archiva is an application for managing one or more remote
repositories, including administration, artifact handling,
browsing and searching.
</description>
<url>https://archiva.apache.org/</url>
<inceptionYear>2006</inceptionYear>
<distributionManagement>
<!-- Site omitted - each project must provide their own -->
<repository>
<id>${releaseDeployId}</id>
<name>Apache Release Staging Repository</name>
<url>${releaseDeployUrl}</url>
</repository>
<snapshotRepository>
<id>${snapshotsDeployId}</id>
<name>Apache Development Snapshot Repository</name>
<url>${snapshotsDeployUrl}</url>
</snapshotRepository>
</distributionManagement>
<properties>
<project.build.outputTimestamp>2022-01-01T00:00:00Z</project.build.outputTimestamp>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<snapshotsDeployUrl>https://archiva-repository.apache.org/archiva/repository/snapshots</snapshotsDeployUrl>
<snapshotsDeployId>archiva-repository.snapshots</snapshotsDeployId>
<releaseDeployUrl>https://archiva-repository.apache.org/archiva/repository/archiva-releases-stage/
</releaseDeployUrl>
<releaseDeployId>archiva-repository.releases</releaseDeployId>
<gpg.useagent>true</gpg.useagent>
<surefireVersion>3.0.0-M5</surefireVersion>
<sonar.plugin.version>2.5</sonar.plugin.version>
<!-- archiva components version -->
<archiva.comp.version>3.0-SNAPSHOT</archiva.comp.version>
<!-- svnsubpub configuration -->
<scmSkipDeletedFiles>true</scmSkipDeletedFiles>
<scmPublishBranch>asf-staging-3.0</scmPublishBranch>
<scmPubCheckoutDirectory>.site-content</scmPubCheckoutDirectory>
<jetty.version>9.4.43.v20210629</jetty.version>
<slf4j.version>1.7.28</slf4j.version>
<log4j.version>2.15.0</log4j.version>
<spring.version>5.3.7</spring.version>
<ehcache.version>2.10.6</ehcache.version>
<hsqldb.version>2.5.0</hsqldb.version>
<openjpa.version>3.1.1</openjpa.version>
<cxf.version>3.3.11</cxf.version>
<jackson.version>2.11.0</jackson.version>
<apacheds.version>1.5.1</apacheds.version>
<apacheds.shared.version>0.9.7</apacheds.shared.version>
<!-- apache commons -->
<commons.lang3.version>3.9</commons.lang3.version>
<commons.codec.version>1.13</commons.codec.version>
<commons.configuration.version>2.7</commons.configuration.version>
<commons.text.version>1.8</commons.text.version>
<commons.beanutils.version>1.9.4</commons.beanutils.version>
<commons.logging.version>1.2</commons.logging.version>
<commons.io.version>2.8.0</commons.io.version>
<commons.digester.version>2.1</commons.digester.version>
<commons.collections.version>4.4</commons.collections.version>
<commons.fileupload.version>1.4</commons.fileupload.version>
<commons.collections.3.version>3.2.2</commons.collections.3.version>
<!-- java ee APIs -->
<jakarta.ws.rs.version>2.1.6</jakarta.ws.rs.version>
<jakarta.inject.version>1.0</jakarta.inject.version>
<jakarta.transaction.version>1.3.3</jakarta.transaction.version>
<jakarta.persistence.version>2.2.3</jakarta.persistence.version>
<jakarta.annotation.version>1.3.5</jakarta.annotation.version>
<jakarta.json.bind.version>1.0.2</jakarta.json.bind.version>
<jakarta.xml.bind.version>2.3.3</jakarta.xml.bind.version>
<jakarta.validation.version>2.0.2</jakarta.validation.version>
<jakarta.activation.version>1.2.2</jakarta.activation.version>
<jakarta.mail.version>1.6.5</jakarta.mail.version>
<jakarta.servlet.version>4.0.4</jakarta.servlet.version>
<jakarta.enterprise.cdi.version>2.0.2</jakarta.enterprise.cdi.version>
<xmlunit.version>2.6.3</xmlunit.version>
<mockito.version>3.4.0</mockito.version>
<rest-assured.version>4.3.1</rest-assured.version>
<!-- junit -->
<junit.platform.version>1.5.2</junit.platform.version>
<junit.jupiter.version>5.5.2</junit.jupiter.version>
<!-- reporting plugins versions -->
<maven-project-info-reports-plugin.version>3.1.0</maven-project-info-reports-plugin.version>
<checkstyleVersion>3.1.2</checkstyleVersion>
<jxrVersion>3.0.0</jxrVersion>
<javadocPluginVersion>3.3.1</javadocPluginVersion>
<plexusUtilsPluginsVersion>3.0.15</plexusUtilsPluginsVersion>
<swagger.plugin.version>2.1.11</swagger.plugin.version>
<swagger.codegen.plugin.version>3.0.30</swagger.codegen.plugin.version>
<io.swagger.version>2.1.10</io.swagger.version>
<enunciate.docsDir/>
<enunciate.version>2.13.3</enunciate.version>
<enunciate.debug>false</enunciate.debug>
<javaVersion>8</javaVersion>
<javaFullVersion>1.${javaVersion}.0</javaFullVersion>
<compiler.source>1.${javaVersion}</compiler.source>
<compiler.target>1.${javaVersion}</compiler.target>
<quartz.version>2.3.2</quartz.version>
<asciidoctor.maven.plugin.version>2.0.0-RC.1</asciidoctor.maven.plugin.version>
</properties>
<scm>
<connection>scm:git:https://gitbox.apache.org/repos/asf/archiva-parent.git</connection>
<developerConnection>scm:git:https://gitbox.apache.org/repos/asf/archiva-parent.git</developerConnection>
<url>https://github.com/apache/archiva-parent</url>
</scm>
<issueManagement>
<system>jira</system>
<url>https://issues.apache.org/jira/browse/MRM</url>
</issueManagement>
<ciManagement>
<system>jenkins</system>
<url>https://builds.apache.org/view/A-F/view/Archiva/</url>
</ciManagement>
<!-- Developers listed by PMC Chair, PMC, Committers, Contributors, Emeritus all alphabetical-->
<developers>
<developer>
<id>olamy</id>
<name>Olivier Lamy</name>
<email>olamy@apache.org</email>
<organization>ASF</organization>
<roles>
<role>PMC Chair</role>
</roles>
<timezone>Australia/Brisbane</timezone>
</developer>
<developer>
<id>oching</id>
<name>Maria Odea B. Ching</name>
<email>oching@apache.org</email>
<roles>
<role>PMC Member</role>
</roles>
<timezone>+8</timezone>
</developer>
<developer>
<id>brett</id>
<name>Brett Porter</name>
<email>brett@apache.org</email>
<organization>ASF</organization>
<roles>
<role>PMC Member</role>
</roles>
<timezone>+10</timezone>
</developer>
<developer>
<id>carlos</id>
<name>Carlos Sanchez</name>
<email>carlos@apache.org</email>
<organization>ASF</organization>
<roles>
<role>PMC Member</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>epunzalan</id>
<name>Edwin Punzalan</name>
<email>epunzalan@apache.org</email>
<roles>
<role>PMC Member</role>
</roles>
<timezone>-8</timezone>
</developer>
<developer>
<id>nicolas</id>
<name>Nicolas De Loof</name>
<email>nicolas@apache.org</email>
<roles>
<role>PMC Member</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>skygo</id>
<name>Eric Barboni</name>
<email>skygo@apache.org</email>
<organization>IRIT</organization>
<roles>
<role>PMC Member</role>
</roles>
<timezone>Europe/Paris</timezone>
</developer>
<developer>
<id>jbonofre</id>
<name>Jean-Baptiste Onofré</name>
<email>jbonofre@apache.org</email>
<organization>Talend</organization>
<roles>
<role>PMC Member</role>
</roles>
<timezone>Europe/Paris</timezone>
</developer>
<developer>
<id>martin_s</id>
<name>Martin Stockhammer</name>
<email>martin_s@apache.org</email>
<roles>
<role>PMC Member</role>
</roles>
<timezone>+1</timezone>
</developer>
<!--Committers-->
<developer>
<id>dennisl</id>
<name>Dennis Lundberg</name>
<email>dennisl@apache.org</email>
<organization>ASF</organization>
<roles>
<role>Committer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>martinc</id>
<name>Martin Cooper</name>
<email>martinc@apache.org</email>
<organization>ASF</organization>
<roles>
<role>Committer</role>
</roles>
</developer>
<developer>
<id>mbaclay</id>
<name>Marecor M. Baclay</name>
<email>mbaclay@apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>+8</timezone>
</developer>
<developer>
<id>jzurbano</id>
<name>Jevica Arianne B. Zurbano</name>
<email>jzurbano@apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>+8</timezone>
</developer>
<developer>
<id>alecharp</id>
<name>Adrien Lecharpentier</name>
<email>alecharp@apache.org</email>
<organization>Zenika</organization>
<roles>
<role>Committer</role>
</roles>
<timezone>+1</timezone>
</developer>
<developer>
<id>svogt</id>
<name>Sascha Vogt</name>
<email>svogt@apache.org</email>
<roles>
<role>Committer</role>
</roles>
<timezone>Europe/Berlin</timezone>
</developer>
<!-- Emeritus Committers -->
<developer>
<id>joakime</id>
<name>Joakim Erdfelt</name>
<email>joakime@apache.org</email>
<organization>ASF</organization>
<roles>
<role>Emeritus</role>
</roles>
<timezone>-5</timezone>
</developer>
<developer>
<id>jvanzyl</id>
<name>Jason van Zyl</name>
<roles>
<role>Emeritus</role>
</roles>
</developer>
<developer>
<id>bayard</id>
<name>Henri Yandell</name>
<roles>
<role>Emeritus</role>
</roles>
</developer>
<developer>
<id>kenney</id>
<name>Kenney Westerhof</name>
<roles>
<role>Emeritus</role>
</roles>
</developer>
<developer>
<id>aheritier</id>
<name>Arnaud Heritier</name>
<roles>
<role>Emeritus</role>
</roles>
</developer>
<developer>
<id>bellingard</id>
<name>Fabrice Bellingard</name>
<roles>
<role>Emeritus</role>
</roles>
</developer>
<developer>
<id>jdumay</id>
<name>James William Dumay</name>
<roles>
<role>Emeritus</role>
</roles>
</developer>
<developer>
<id>jmcconnell</id>
<name>Jesse McConnell</name>
<roles>
<role>Emeritus</role>
</roles>
</developer>
<developer>
<id>evenisse</id>
<name>Emmanuel Venisse</name>
<email>evenisse@apache.org</email>
<roles>
<role>Emeritus</role>
</roles>
</developer>
<developer>
<id>jtolentino</id>
<name>Ernesto Tolentino Jr.</name>
<email>jtolentino@apache.org</email>
<roles>
<role>Emeritus</role>
</roles>
</developer>
<developer>
<id>wsmoak</id>
<name>Wendy Smoak</name>
<roles>
<role>Emeritus</role>
</roles>
</developer>
</developers>
<contributors>
<contributor>
<name>Steffen Grunwald</name>
</contributor>
<contributor>
<name>Stefan Prange</name>
</contributor>
<contributor>
<name>John Michael Luy</name>
</contributor>
<contributor>
<name>Martin Höller</name>
</contributor>
<contributor>
<name>Stephen Gargan</name>
</contributor>
<contributor>
<name>Dario Oliveros</name>
</contributor>
<contributor>
<name>james ahlborn</name>
</contributor>
<contributor>
<name>Jim Jackson</name>
</contributor>
<contributor>
<name>Daniel Harvey</name>
</contributor>
<contributor>
<name>Aleksandr Tarutin</name>
</contributor>
<contributor>
<name>Teodoro Cue Jr.</name>
</contributor>
<contributor>
<name>Jan Ancajas</name>
</contributor>
<contributor>
<name>Jens Mühlenhoff</name>
</contributor>
<contributor>
<name>Dawn Angelito</name>
</contributor>
<contributor>
<name>Henry Isidro</name>
</contributor>
<contributor>
<name>Antoine Veret</name>
</contributor>
<contributor>
<name>Christian Gruber</name>
</contributor>
<contributor>
<name>Allan Ramirez</name>
</contributor>
<contributor>
<name>Pete Marvin King</name>
</contributor>
<contributor>
<name>Joel Sudiacal</name>
</contributor>
<contributor>
<name>Milos Kleint</name>
</contributor>
<contributor>
<name>Nick Gonzalez</name>
</contributor>
<contributor>
<name>Maria Catherine Tan</name>
</contributor>
<contributor>
<name>Dan Tran</name>
</contributor>
<contributor>
<name>Gwen Harold Autencio</name>
</contributor>
<contributor>
<name>Mark Jeffery</name>
</contributor>
<contributor>
<name>Fabrice Daugan</name>
</contributor>
<contributor>
<name>Doron Solomon</name>
</contributor>
<contributor>
<name>Michal Stochmialek</name>
</contributor>
<contributor>
<name>Julien Henry</name>
</contributor>
<contributor>
<name>Andreas Baumann</name>
</contributor>
<contributor>
<name>Adelita L. Padilla</name>
</contributor>
<contributor>
<name>Daniel Triphaus</name>
</contributor>
<contributor>
<name>Patti Arachchige Eshan Sudharaka</name>
</contributor>
<contributor>
<name>Shinsuke Sugaya</name>
</contributor>
<contributor>
<name>Marcus Dimand</name>
</contributor>
<contributor>
<name>Catalino Pineda Jr.</name>
</contributor>
<contributor>
<name>Warner Pinero</name>
</contributor>
<contributor>
<name>Dave Brosius</name>
</contributor>
<contributor>
<name>Jim Sellers</name>
</contributor>
<contributor>
<name>Igor Galic</name>
</contributor>
<contributor>
<name>Mark Struberg</name>
</contributor>
<contributor>
<name>Marc Jansen Tan Chua</name>
</contributor>
<contributor>
<name>Lucien Weller</name>
</contributor>
<contributor>
<name>Greg Michael Meneses</name>
</contributor>
<contributor>
<name>Chris Graham</name>
</contributor>
<contributor>
<name>Fredrik Jonson</name>
</contributor>
<contributor>
<name>Lester Ecarma</name>
</contributor>
<contributor>
<name>Eirik Bjørsnøs</name>
</contributor>
<contributor>
<name>Jan Ancajas</name>
</contributor>
<contributor>
<name>Damien Blugeon</name>
</contributor>
<contributor>
<name>John Michael Luy</name>
</contributor>
<contributor>
<name>Wolfgang Strunk</name>
</contributor>
<contributor>
<name>Jevica Arianne B. Zurbano</name>
</contributor>
<contributor>
<name>Stefan Prange</name>
</contributor>
<contributor>
<name>Napoleon Esmundo C. Ramirez</name>
</contributor>
<contributor>
<name>Brent Atkinson</name>
</contributor>
<contributor>
<name>Antoine ROUAZE</name>
</contributor>
<contributor>
<name>markus innerebner</name>
</contributor>
<contributor>
<name>Jonathan Sharp</name>
</contributor>
</contributors>
<mailingLists>
<mailingList>
<name>Archiva User List</name>
<subscribe>users-subscribe@archiva.apache.org</subscribe>
<unsubscribe>users-unsubscribe@archiva.apache.org</unsubscribe>
<post>users@archiva.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/archiva-users/</archive>
<otherArchives>
<otherArchive>http://www.mail-archive.com/users@archiva.apache.org</otherArchive>
<otherArchive>http://old.nabble.com/archiva-users-f16426.html</otherArchive>
<otherArchive>http://markmail.org/list/org.apache.archiva.users</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Archiva Developer List</name>
<subscribe>dev-subscribe@archiva.apache.org</subscribe>
<unsubscribe>dev-unsubscribe@archiva.apache.org</unsubscribe>
<post>dev@archiva.apache.org</post>
<archive>http://mail-archives.apache.org/mod_mbox/archiva-dev</archive>
<otherArchives>
<otherArchive>http://www.mail-archive.com/dev@archiva.apache.org</otherArchive>
<otherArchive>http://old.nabble.com/archiva-dev-f16427.html</otherArchive>
<otherArchive>http://markmail.org/list/org.apache.archiva.dev</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Archiva Commits List</name>
<subscribe>commits-subscribe@archiva.apache.org</subscribe>
<unsubscribe>commits-unsubscribe@archiva.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/archiva-commits</archive>
<otherArchives>
<otherArchive>http://www.mail-archive.com/commits@archiva.apache.org</otherArchive>
<otherArchive>http://markmail.org/list/org.apache.archiva.commits</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Archiva Issues List</name>
<subscribe>issues-subscribe@archiva.apache.org</subscribe>
<unsubscribe>issues-unsubscribe@archiva.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/archiva-issues</archive>
<otherArchives>
<otherArchive>http://www.mail-archive.com/issues@archiva.apache.org</otherArchive>
<otherArchive>http://old.nabble.com/Archiva---Issues-f29617.html</otherArchive>
</otherArchives>
</mailingList>
<mailingList>
<name>Archiva Notifications List</name>
<subscribe>notifications-subscribe@archiva.apache.org</subscribe>
<unsubscribe>notifications-unsubscribe@archiva.apache.org</unsubscribe>
<archive>http://mail-archives.apache.org/mod_mbox/archiva-notifications/</archive>
<otherArchives>
<otherArchive>http://www.mail-archive.com/notifications@archiva.apache.org</otherArchive>
<otherArchive>http://archiva.notifications.markmail.org/</otherArchive>
</otherArchives>
</mailingList>
</mailingLists>
<build>
<plugins>
<!-- We want to package up license resources in the JARs produced -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.7.0</version>
<executions>
<execution>
<goals>
<goal>process</goal>
</goals>
<configuration>
<resourceBundles>
<resourceBundle>org.apache:apache-jar-resource-bundle:1.3</resourceBundle>
</resourceBundles>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>enforce-java</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[${javaFullVersion},)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<inherited>false</inherited>
<executions>
<execution>
<id>attach-descriptor</id>
<goals>
<goal>attach-descriptor</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<pluginManagement>
<plugins>
<!-- set versions of common plugins for reproducibility, ordered alphabetically -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>${checkstyleVersion}</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.shared</groupId>
<artifactId>maven-shared-resources</artifactId>
<version>2</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<recompressZippedFiles>true</recompressZippedFiles>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${compiler.source}</source>
<target>${compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>3.2.0</version>
<configuration>
<useJvmChmod>true</useJvmChmod>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-help-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${javadocPluginVersion}</version>
<configuration>
<notimestamp>true</notimestamp>
<quiet>true</quiet>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<tagBase>https://svn.apache.org/repos/asf/archiva/tags/</tagBase>
<useReleaseProfile>false</useReleaseProfile>
<goals>deploy</goals>
<arguments>-Prelease</arguments>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-remote-resources-plugin</artifactId>
<version>1.7.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${surefireVersion}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.9.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.2</version>
<configuration>
<recompressZippedFiles>true</recompressZippedFiles>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.13</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>sonar-maven-plugin</artifactId>
<version>${sonar.plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-publish-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<checkinComment>Apache Archiva Main site deployment</checkinComment>
<skipDeletedFiles>${scmSkipDeletedFiles}</skipDeletedFiles>
<content>${project.build.directory}/staging</content>
<tryUpdate>true</tryUpdate>
<scmBranch>${scmPublishBranch}</scmBranch>
<checkoutDirectory>${scmPubCheckoutDirectory}</checkoutDirectory>
<!--
<ignorePathsToDelete>
<path>%regex[^(?!docs/).*$]</path>
</ignorePathsToDelete>
-->
</configuration>
<executions>
<execution>
<id>scm-publish</id>
<phase>site-deploy</phase>
<goals>
<goal>publish-scm</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.2.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.8.1</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<profiles>
<profile>
<id>release</id>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.apache.apache.resources</groupId>
<artifactId>apache-source-release-assembly-descriptor</artifactId>
<version>1.0.6</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<inherited>false</inherited>
<id>source-release-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
<descriptorRefs>
<descriptorRef>${sourceReleaseAssemblyDescriptor}</descriptorRef>
</descriptorRefs>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</execution>
</executions>
</plugin>
<!-- We want to sign the artifact, the POM, and all attached artifacts -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<!--suppress UnresolvedMavenProperty -->
<passphrase>${gpg.passphrase}</passphrase>
<useAgent>${gpg.useagent}</useAgent>
<!--suppress UnresolvedMavenProperty -->
<keyname>${gpg.keyname}</keyname>
</configuration>
<executions>
<execution>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<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>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<doclint>none</doclint>
</configuration>
</plugin>
<!-- We want to deploy the artifact to a staging location for perusal -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<retryFailedDeploymentCount>5</retryFailedDeploymentCount>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<!-- Swagger Profile for REST Service modules -->
<profile>
<id>swagger</id>
<activation>
<file>
<exists>${basedir}/src/main/resources/openapi-codegen-ignore</exists>
</file>
</activation>
<dependencies>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-core</artifactId>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-jaxrs2</artifactId>
</dependency>
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-annotations</artifactId>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<executions>
<execution>
<id>bind-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-maven-plugin</artifactId>
<version>${swagger.plugin.version}</version>
<configuration>
<outputFileName>${openapi.prefix}-openapi</outputFileName>
<outputPath>${project.build.directory}/generated</outputPath>
<outputFormat>JSONANDYAML</outputFormat>
<prettyPrint>true</prettyPrint>
<configurationFilePath>${openapi.config.file}</configurationFilePath>
</configuration>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>resolve</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>io.swagger.codegen.v3</groupId>
<artifactId>swagger-codegen-maven-plugin</artifactId>
<version>${swagger.codegen.plugin.version}</version>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.build.directory}/generated/${openapi.prefix}-openapi.yaml</inputSpec>
<language>html</language>
<output>${project.build.directory}/generated-sources/${openapi.prefix}</output>
<ignoreFileOverride>${project.basedir}/src/main/resources/openapi-codegen-ignore
</ignoreFileOverride>
<templateDirectory>${project.basedir}/src/main/resources/templates</templateDirectory>
<supportingFilesToGenerate>index.html</supportingFilesToGenerate>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>site</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/site/openapi/</outputDirectory>
<resources>
<resource>
<directory>${project.build.directory}/generated</directory> <!-- source directory -->
<filtering>false</filtering>
<include>openapi.json</include>
<include>openapi.yaml</include>
</resource>
<resource>
<directory>${project.build.directory}/generated-sources/</directory>
<filtering>false</filtering>
<include>**/*</include>
<exclude>.swagger-codegen/**</exclude>
<exclude>.swagger-codegen-ignore</exclude>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>jdk9+</id>
<activation>
<jdk>[1.9,)</jdk>
</activation>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>com.webcohesion.enunciate</groupId>
<artifactId>enunciate-maven-plugin</artifactId>
<version>${enunciate.version}</version>
<dependencies>
<!-- needed for jdk 11 -->
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>${javaVersion}</release>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>