archetype-resources.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <artifactId>\${artifactId}</artifactId> <groupId>\${groupId}</groupId> <version>\${version}</version> <packaging>jar</packaging> <url>https://github.com/svenkubiak/mangooio</url> <properties> <mangooio.version>9.0.0</mangooio.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <jdk.version>21</jdk.version> <maven.compiler.optimze>true</maven.compiler.optimze> </properties> <build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*</include> </includes> <excludes> <exclude>**/*.java</exclude> </excludes> </resource> <resource> <directory>src/main/resources</directory> <includes> <include>**/*</include> </includes> </resource> </resources> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.13.0</version> <configuration> <source>${jdk.version}</source> <target>${jdk.version}</target> <release>${jdk.version}</release> <debug>false</debug> <showDeprecation>true</showDeprecation> <fork>true</fork> <compilerArgument>-parameters</compilerArgument> </configuration> </plugin> <plugin> <groupId>io.mangoo</groupId> <artifactId>mangooio-maven-plugin</artifactId> <version>${mangooio.version}</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.5.2</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>3.4.2</version> <configuration> <excludes> <exclude>**/log4j2-test*</exclude> </excludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <version>3.6.0</version> <executions> <execution> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" /> <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer" /> <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheNoticeResourceTransformer" /> <transformer implementation="org.apache.maven.plugins.shade.resource.DontIncludeResourceTransformer" /> <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <mainClass>io.mangoo.core.Application</mainClass> <manifestEntries> <Multi-Release>true</Multi-Release> </manifestEntries> </transformer> </transformers> <artifactSet> <excludes> <exclude>junit:*</exclude> <exclude>rhino:*</exclude> <exclude>io.bit3:*</exclude> <exclude>com.hazelcast:*</exclude> <exclude>org.eclipse.jetty:*</exclude> <exclude>org.glassfish.jersey.media:*</exclude> <exclude>org.glassfish.jersey.core:*</exclude> <exclude>org.glassfish.hk2:*</exclude> <exclude>org.glassfish.hk2.external:*</exclude> <exclude>com.google.code.findbugs:*</exclude> <exclude>com.google.xing:*</exclude> <exclude>com.icegreen:*</exclude> <exclude>org.hamcrest:*</exclude> <exclude>org.cactoos:*</exclude> <exclude>org.llorllale:*</exclude> </excludes> </artifactSet> <createDependencyReducedPom>false</createDependencyReducedPom> <promoteTransitiveDependencies>true</promoteTransitiveDependencies> <filters> <filter> <artifact>*:*</artifact> <excludes> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> <finalName>mangooioapp</finalName> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-enforcer-plugin</artifactId> <version>3.5.0</version> <configuration> <rules> <DependencyConvergence> <uniqueVersions>false</uniqueVersions> </DependencyConvergence> </rules> </configuration> <executions> <execution> <id>enforce</id> <goals> <goal>enforce</goal> </goals> <phase>validate</phase> </execution> <execution> <id>enforce-maven</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <requireMavenVersion> <version>3.9.0</version> </requireMavenVersion> </rules> </configuration> </execution> <execution> <id>enforce-ban-circular-dependencies</id> <goals> <goal>enforce</goal> </goals> <configuration> <rules> <banCircularDependencies /> </rules> <fail>true</fail> </configuration> </execution> </executions> <dependencies> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>extra-enforcer-rules</artifactId> <version>1.9.0</version> </dependency> </dependencies> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>io.mangoo</groupId> <artifactId>mangooio-core</artifactId> <version>${mangooio.version}</version> </dependency> <dependency> <groupId>io.mangoo</groupId> <artifactId>mangooio-test</artifactId> <version>${mangooio.version}</version> <scope>test</scope> </dependency> </dependencies> </project>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy