File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <project xmlns =" http://maven.apache.org/POM/4.0.0"
2+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
4+ <modelVersion >4.0.0</modelVersion >
5+ <groupId >com.baeldung</groupId >
6+ <artifactId >profiles</artifactId >
7+ <version >0.0.1-SNAPSHOT</version >
8+ <name >profiles</name >
9+
10+ <profiles >
11+ <profile >
12+ <id >no-tests</id >
13+ <properties >
14+ <maven .test.skip>true</maven .test.skip>
15+ </properties >
16+ </profile >
17+ <profile >
18+ <id >integration-tests</id >
19+ <activation >
20+ <activeByDefault >true</activeByDefault >
21+ </activation >
22+ </profile >
23+ <profile >
24+ <id >mutation-tests</id >
25+ </profile >
26+ <profile >
27+ <id >active-on-jdk-11</id >
28+ <activation >
29+ <jdk >11</jdk >
30+ </activation >
31+ </profile >
32+ <profile >
33+ <id >active-on-windows-10</id >
34+ <activation >
35+ <os >
36+ <name >windows 10</name >
37+ <family >Windows</family >
38+ <arch >amd64</arch >
39+ <version >10.0</version >
40+ </os >
41+ </activation >
42+ </profile >
43+ <profile >
44+ <id >active-on-property-environment</id >
45+ <activation >
46+ <property >
47+ <name >environment</name >
48+ <value >!test</value >
49+ </property >
50+ </activation >
51+ </profile >
52+ <profile >
53+ <id >active-on-missing-file</id >
54+ <activation >
55+ <file >
56+ <missing >target/testreport.html</missing >
57+ </file >
58+ </activation >
59+ </profile >
60+ <profile >
61+ <id >active-on-present-file</id >
62+ <activation >
63+ <file >
64+ <exists >target/artifact.jar</exists >
65+ </file >
66+ </activation >
67+ </profile >
68+ </profiles >
69+
70+ <build >
71+ <plugins >
72+ <plugin >
73+ <groupId >org.apache.maven.plugins</groupId >
74+ <artifactId >maven-help-plugin</artifactId >
75+ <version >3.2.0</version >
76+ <executions >
77+ <execution >
78+ <id >show-profiles</id >
79+ <phase >compile</phase >
80+ <goals >
81+ <goal >active-profiles</goal >
82+ </goals >
83+ </execution >
84+ </executions >
85+ </plugin >
86+ </plugins >
87+ </build >
88+ </project >
You can’t perform that action at this time.
0 commit comments