Debian Codegraph @

maven-enforcer-plugin/src/it/projects/require-plugin-versions-expressions2/pom.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 -->
21 <project xmlns="http://maven.apache.org/POM/4.0.0"
22 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
24 <modelVersion>4.0.0</modelVersion>
25
26 <groupId>org.apache.maven.enforcer.its</groupId>
27 <artifactId>project</artifactId>
28 <version>4.0.0-SNAPSHOT</version>
29 <packaging>pom</packaging>
30
31 <url>https://issues.apache.org/jira/browse/MENFORCER-357</url>
32
33 <modules>
34 <module>module1</module>
35 </modules>
36
37 <properties>
38 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
39 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
40 </properties>
41
42 <build>
43 <pluginManagement>
44 <plugins>
45 <plugin>
46 <groupId>org.apache.maven.plugins</groupId>
47 <artifactId>maven-clean-plugin</artifactId>
48 <version>@version.maven-clean-plugin@</version>
49 </plugin>
50 <plugin>
51 <groupId>org.apache.maven.plugins</groupId>
52 <artifactId>maven-compiler-plugin</artifactId>
53 <version>@version.maven-compiler-plugin@</version>
54 </plugin>
55 <plugin>
56 <groupId>org.apache.maven.plugins</groupId>
57 <artifactId>maven-dependency-plugin</artifactId>
58 <version>@version.maven-dependency-plugin@</version>
59 </plugin>
60 <plugin>
61 <groupId>org.apache.maven.plugins</groupId>
62 <artifactId>maven-deploy-plugin</artifactId>
63 <version>@version.maven-deploy-plugin@</version>
64 </plugin>
65 <plugin>
66 <groupId>org.apache.maven.plugins</groupId>
67 <artifactId>maven-enforcer-plugin</artifactId>
68 <version>@project.version@</version>
69 </plugin>
70 <plugin>
71 <groupId>org.apache.maven.plugins</groupId>
72 <artifactId>maven-install-plugin</artifactId>
73 <version>@version.maven-install-plugin@</version>
74 </plugin>
75 <plugin>
76 <groupId>org.apache.maven.plugins</groupId>
77 <artifactId>maven-jar-plugin</artifactId>
78 <version>@version.maven-jar-plugin@</version>
79 </plugin>
80 <plugin>
81 <groupId>org.apache.maven.plugins</groupId>
82 <artifactId>maven-project-info-reports-plugin</artifactId>
83 <version>@version.maven-project-info-reports-plugin@</version>
84 </plugin>
85 <plugin>
86 <groupId>org.apache.maven.plugins</groupId>
87 <artifactId>maven-release-plugin</artifactId>
88 <version>@version.maven-release-plugin@</version>
89 </plugin>
90 <plugin>
91 <groupId>org.apache.maven.plugins</groupId>
92 <artifactId>maven-site-plugin</artifactId>
93 <version>@version.maven-site-plugin@</version>
94 </plugin>
95 <plugin>
96 <groupId>org.apache.maven.plugins</groupId>
97 <artifactId>maven-wrapper-plugin</artifactId>
98 <version>@version.maven-wrapper-plugin@</version>
99 </plugin>
100 </plugins>
101 </pluginManagement>
102 <plugins>
103 <plugin>
104 <groupId>org.apache.maven.plugins</groupId>
105 <artifactId>maven-enforcer-plugin</artifactId>
106 <version>@project.version@</version>
107 <executions>
108 <execution>
109 <id>enforce-versions</id>
110 <goals>
111 <goal>enforce</goal>
112 </goals>
113 <configuration>
114 <rules>
115 <requirePluginVersions>
116 <message>Best Practice is to always define plugin
117 versions!</message>
118 <phases>clean,deploy,site</phases>
119 <unCheckedPluginList>org.apache.maven.plugins:maven-enforcer-plugin</unCheckedPluginList>
120 </requirePluginVersions>
121 </rules>
122 </configuration>
123 </execution>
124 </executions>
125 </plugin>
126 </plugins>
127 </build>
128
129 <reporting>
130 <plugins>
131 <plugin>
132 <groupId>org.apache.maven.plugins</groupId>
133 <artifactId>maven-dependency-plugin</artifactId>
134 </plugin>
135 </plugins>
136 </reporting>
137
138 </project>