Debian Codegraph @

src/it/MCOMPILER-391-processorpath-dep-mgmt/annotation-user2/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-user2</artifactId>
33 <name>Annotation processor version from depMgmt + 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 <groupId>org.apache.maven.plugins.compiler.it</groupId>
47 <artifactId>mcompiler391-annotation-processor</artifactId>
48 <version>1.0.0-SNAPSHOT</version>
49 </dependency>
50 <dependency>
51 <!-- Overrides the version defined by mcompiler391-annotation-processor itself -->
52 <groupId>org.apache.maven.plugins.compiler.it</groupId>
53 <artifactId>mcompiler391-annotation-processor-dep</artifactId>
54 <version>2.0.0-SNAPSHOT</version>
55 </dependency>
56 </dependencies>
57 </dependencyManagement>
58
59 <build>
60 <plugins>
61 <plugin>
62 <artifactId>maven-compiler-plugin</artifactId>
63 <configuration>
64 <annotationProcessors>
65 <annotationProcessor>mcompiler391.SimpleAnnotationProcessor</annotationProcessor>
66 </annotationProcessors>
67 <annotationProcessorPathsUseDepMgmt>true</annotationProcessorPathsUseDepMgmt>
68 <annotationProcessorPaths>
69 <path>
70 <groupId>org.apache.maven.plugins.compiler.it</groupId>
71 <artifactId>mcompiler391-annotation-processor</artifactId>
72 </path>
73 </annotationProcessorPaths>
74 </configuration>
75 </plugin>
76 <plugin>
77 <groupId>org.apache.maven.plugins.compiler.it</groupId>
78 <artifactId>annotation-verify-plugin</artifactId>
79 <version>1.0.0-SNAPSHOT</version>
80 <executions>
81 <execution>
82 <id>verify-annotations</id>
83 <phase>process-test-classes</phase>
84 <goals>
85 <goal>read-source</goal>
86 </goals>
87 <configuration>
88 <sourceClass>mcompiler391.SimpleObject2</sourceClass>
89 <testSourceClass>mcompiler391.SimpleTestObject2</testSourceClass>
90 </configuration>
91 </execution>
92 </executions>
93 </plugin>
94 </plugins>
95 </build>
96 </project>