dropwizard archetype version 2.0.0 vs 4.0.0
10 removals
154 lines
70 additions
214 lines
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
<project
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<modelVersion>4.0.0</modelVersion>
<groupId>com.example</groupId>
<groupId>com.example</groupId>
<artifactId>demo</artifactId>
<artifactId>demo</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<packaging>jar</packaging>
<name>demo</name>
<name>demo</name>
<properties>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<dropwizard.version>2.0.0</dropwizard.version>
<dropwizard.version>4.0.0</dropwizard.version>
<mainClass>com.example.demoApplication</mainClass>
<mainClass>com.example.demoApplication</mainClass>
</properties>
</properties>
<dependencyManagement>
<dependencyManagement>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>io.dropwizard</groupId>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-dependencies</artifactId>
<artifactId>dropwizard-dependencies</artifactId>
<version>${dropwizard.version}</version>
<version>${dropwizard.version}</version>
<type>pom</type>
<type>pom</type>
<scope>import</scope>
<scope>import</scope>
</dependency>
</dependency>
</dependencies>
</dependencies>
</dependencyManagement>
</dependencyManagement>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>io.dropwizard</groupId>
<groupId>io.dropwizard</groupId>
<artifactId>dropwizard-core</artifactId>
<artifactId>dropwizard-core</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
</dependency>
<dependency>
<groupId>org.hibernate.validator</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.4.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0</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-javadoc-plugin</artifactId>
<version>3.5.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.12.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.4.2</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugins>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<configuration>
<createDependencyReducedPom>true</createDependencyReducedPom>
<createDependencyReducedPom>true</createDependencyReducedPom>
<transformers>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>${mainClass}</mainClass>
<mainClass>${mainClass}</mainClass>
</transformer>
</transformer>
</transformers>
</transformers>
<!-- exclude signed Manifests -->
<!-- exclude signed Manifests -->
<filters>
<filters>
<filter>
<filter>
<artifact>*:*</artifact>
<artifact>*:*</artifact>
<excludes>
<excludes>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.RSA</exclude>
<exclude>META-INF/*.RSA</exclude>
</excludes>
</excludes>
</filter>
</filter>
</filters>
</filters>
</configuration>
</configuration>
<executions>
<executions>
<execution>
<execution>
<phase>package</phase>
<phase>package</phase>
<goals>
<goals>
<goal>shade</goal>
<goal>shade</goal>
</goals>
</goals>
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<configuration>
<archive>
<archive>
<manifest>
<manifest>
<addClasspath>true</addClasspath>
<addClasspath>true</addClasspath>
<mainClass>${mainClass}</mainClass>
<mainClass>${mainClass}</mainClass>
</manifest>
</manifest>
</archive>
</archive>
</configuration>
</configuration>
</plugin>
</plugin>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<configuration>
<source>1.8</source>
<source>11</source>
<target>1.8</target>
<target>11</target>
</configuration>
</configuration>
</plugin>
</plugin>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<artifactId>maven-source-plugin</artifactId>
<version>3.0.1</version>
<executions>
<executions>
<execution>
<execution>
<id>attach-sources</id>
<id>attach-sources</id>
<goals>
<goals>
<goal>jar</goal>
<goal>jar</goal>
</goals>
</goals>
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
<executions>
<executions>
<execution>
<execution>
<id>attach-javadocs</id>
<id>attach-javadocs</id>
<goals>
<goals>
<goal>jar</goal>
<goal>jar</goal>
</goals>
</goals>
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
<reporting>
<reporting>
<plugins>
<plugins>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<configuration>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
<dependencyLocationsEnabled>false</dependencyLocationsEnabled>
<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
<dependencyDetailsEnabled>false</dependencyDetailsEnabled>
</configuration>
</configuration>
</plugin>
</plugin>
<plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.1</version>
</plugin>
</plugin>
</plugins>
</plugins>
</reporting>
</reporting>
<profiles>
<profiles>
<profile>
<profile>
<id>java11+</id>
<id>java11+</id>
<activation>
<activation>
<jdk>[11,)</jdk>
<jdk>[11,)</jdk>
</activation>
</activation>
<properties>
<properties>
<!--
<!--
Workaround for "javadoc: error - The code being documented uses modules but the packages
Workaround for "javadoc: error - The code being documented uses modules but the packages
defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module."
defined in https://docs.oracle.com/javase/8/docs/api/ are in the unnamed module."
-->
-->
<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.javadoc.skip>true</maven.javadoc.skip>
</properties>
</properties>
</profile>
</profile>
</profiles>
</profiles>
</project>
</project>