BAEL-6613 Code for the Speed Up Maven Build article
This commit is contained in:
parent
8aecf2fd3f
commit
416c85ccab
|
@ -0,0 +1 @@
|
||||||
|
-XX:-TieredCompilation -XX:TieredStopAtLevel=1
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,62 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<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>
|
||||||
|
<artifactId>maven-build-optimization</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
<name>maven-build-optimization</name>
|
||||||
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>com.baeldung</groupId>
|
||||||
|
<artifactId>maven-modules</artifactId>
|
||||||
|
<version>0.0.1-SNAPSHOT</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-profiler-plugin</artifactId>
|
||||||
|
<version>${profiler.version}</version>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
|
<version>${failsafe.version}</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>integration-test</goal>
|
||||||
|
<goal>verify</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>skipITs</id>
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-failsafe-plugin</artifactId>
|
||||||
|
<configuration>
|
||||||
|
<skip>true</skip>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<failsafe.version>3.1.2</failsafe.version>
|
||||||
|
<profiler.version>1.7</profiler.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
</project>
|
|
@ -20,6 +20,7 @@
|
||||||
<module>dependency-exclusion</module>
|
<module>dependency-exclusion</module>
|
||||||
<module>host-maven-repo-example</module>
|
<module>host-maven-repo-example</module>
|
||||||
<module>maven-archetype</module>
|
<module>maven-archetype</module>
|
||||||
|
<module>maven-build-optimization</module>
|
||||||
<module>maven-builder-plugin</module>
|
<module>maven-builder-plugin</module>
|
||||||
<module>maven-classifier</module>
|
<module>maven-classifier</module>
|
||||||
<module>maven-copy-files</module>
|
<module>maven-copy-files</module>
|
||||||
|
|
Loading…
Reference in New Issue