Debian Codegraph @

maven-enforcer-plugin/src/it/projects/ban-dynamic-versions-verbose/pom.xml

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4 Licensed to the Apache Software Foundation (ASF) under one
5 or more contributor license agreements. See the NOTICE file
6 distributed with this work for additional information
7 regarding copyright ownership. The ASF licenses this file
8 to you under the Apache License, Version 2.0 (the
9 "License"); you may not use this file except in compliance
10 with the License. You may obtain a copy of the License at
11
12 http://www.apache.org/licenses/LICENSE-2.0
13
14 Unless required by applicable law or agreed to in writing,
15 software distributed under the License is distributed on an
16 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 KIND, either express or implied. See the License for the
18 specific language governing permissions and limitations
19 under the License.
20 -->
21
22 <project>
23 <modelVersion>4.0.0</modelVersion>
24
25 <groupId>org.apache.maven.its.enforcer</groupId>
26 <artifactId>ban-dynamic-versions-test</artifactId>
27 <version>1.0</version>
28
29 <build>
30 <plugins>
31 <plugin>
32 <groupId>org.apache.maven.plugins</groupId>
33 <artifactId>maven-enforcer-plugin</artifactId>
34 <version>@project.version@</version>
35 <executions>
36 <execution>
37 <id>test</id>
38 <goals>
39 <goal>enforce</goal>
40 </goals>
41 <configuration>
42 <rules>
43 <banDynamicVersions>
44 <ignores>
45 <ignore>*:menforcer494_project</ignore>
46 </ignores>
47 <verbose>true</verbose>
48 </banDynamicVersions>
49 </rules>
50 </configuration>
51 </execution>
52 </executions>
53 </plugin>
54 </plugins>
55 </build>
56
57 <dependencies>
58 <dependency>
59 <!-- banned SNAPSHOT, but ignored (though it's transitive dependency on menforcerxxx_dependency is not) -->
60 <groupId>org.apache.maven.plugins.enforcer.its</groupId>
61 <artifactId>menforcer494_project</artifactId>
62 <version>1.0-SNAPSHOT</version>
63 </dependency>
64 <dependency>
65 <!-- this overrides the version in menforcerxxx_project, but we still want the failure from menforcerxxx_project to show -->
66 <groupId>org.apache.maven.plugins.enforcer.its</groupId>
67 <artifactId>menforcer494_dependency</artifactId>
68 <version>2.0</version>
69 </dependency>
70 </dependencies>
71
72 </project>