Debian Codegraph @

src/it/MCOMPILER-391-processorpath-dep-mgmt/annotation-user4/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 <parent>
27 <groupId>org.apache.maven.plugins.compiler.it</groupId>
28 <artifactId>mcompiler391-test</artifactId>
29 <version>1.0.0-SNAPSHOT</version>
30 </parent>
31
32 <artifactId>mcompiler391-annotation-user4</artifactId>
33 <name>Annotation processor version explicitly set + useDepMgmt=true</name>
34
35 <dependencies>
36 <dependency>
37 <groupId>org.apache.maven.plugins.compiler.it</groupId>
38 <artifactId>mcompiler391-annotation-api</artifactId>
39 <version>1.0.0-SNAPSHOT</version>
40 </dependency>
41 </dependencies>
42
43 <dependencyManagement>
44 <dependencies>
45 <dependency>
46 <!-- Overrides the version defined by mcompiler391-annotation-processor itself -->
47 <groupId>org.apache.maven.plugins.compiler.it</groupId>
48 <artifactId>mcompiler391-annotation-processor-dep</artifactId>
49 <version>2.0.0-SNAPSHOT</version>
50 </dependency>
51 </dependencies>
52 </dependencyManagement>
53
54 <build>
55 <plugins>
56 <plugin>
57 <artifactId>maven-compiler-plugin</artifactId>
58 <configuration>
59 <annotationProcessors>
60 <annotationProcessor>mcompiler391.SimpleAnnotationProcessor</annotationProcessor>
61 </annotationProcessors>
62 <annotationProcessorPathsUseDepMgmt>true</annotationProcessorPathsUseDepMgmt>
63 <annotationProcessorPaths>
64 <path>
65 <groupId>org.apache.maven.plugins.compiler.it</groupId>
66 <artifactId>mcompiler391-annotation-processor</artifactId>
67 <version>1.0.0-SNAPSHOT</version>
68 </path>
69 </annotationProcessorPaths>
70 </configuration>
71 </plugin>
72 <plugin>
73 <groupId>org.apache.maven.plugins.compiler.it</groupId>
74 <artifactId>annotation-verify-plugin</artifactId>
75 <version>1.0.0-SNAPSHOT</version>
76 <executions>
77 <execution>
78 <id>verify-annotations</id>
79 <phase>process-test-classes</phase>
80 <goals>
81 <goal>read-source</goal>
82 </goals>
83 <configuration>
84 <sourceClass>mcompiler391.SimpleObject4</sourceClass>
85 <testSourceClass>mcompiler391.SimpleTestObject4</testSourceClass>
86 </configuration>
87 </execution>
88 </executions>
89 </plugin>
90 </plugins>
91 </build>
92 </project>