| 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-user1</artifactId> |
| 33 |
<name>Annotation processor version from depMgmt + useDepMgmt=false</name> |
| 34 |
|
| 35 |
<dependencyManagement> |
| 36 |
<dependencies> |
| 37 |
<dependency> |
| 38 |
<groupId>org.apache.maven.plugins.compiler.it</groupId> |
| 39 |
<artifactId>mcompiler391-annotation-processor</artifactId> |
| 40 |
<version>1.0.0-SNAPSHOT</version> |
| 41 |
</dependency> |
| 42 |
</dependencies> |
| 43 |
</dependencyManagement> |
| 44 |
|
| 45 |
<dependencies> |
| 46 |
<dependency> |
| 47 |
<groupId>org.apache.maven.plugins.compiler.it</groupId> |
| 48 |
<artifactId>mcompiler391-annotation-api</artifactId> |
| 49 |
<version>1.0.0-SNAPSHOT</version> |
| 50 |
</dependency> |
| 51 |
</dependencies> |
| 52 |
|
| 53 |
<build> |
| 54 |
<plugins> |
| 55 |
<plugin> |
| 56 |
<artifactId>maven-compiler-plugin</artifactId> |
| 57 |
<configuration> |
| 58 |
<annotationProcessors> |
| 59 |
<annotationProcessor>mcompiler391.SimpleAnnotationProcessor</annotationProcessor> |
| 60 |
</annotationProcessors> |
| 61 |
<annotationProcessorPaths> |
| 62 |
<path> |
| 63 |
<groupId>org.apache.maven.plugins.compiler.it</groupId> |
| 64 |
<artifactId>mcompiler391-annotation-processor</artifactId> |
| 65 |
</path> |
| 66 |
</annotationProcessorPaths> |
| 67 |
</configuration> |
| 68 |
</plugin> |
| 69 |
<plugin> |
| 70 |
<groupId>org.apache.maven.plugins.compiler.it</groupId> |
| 71 |
<artifactId>annotation-verify-plugin</artifactId> |
| 72 |
<version>1.0.0-SNAPSHOT</version> |
| 73 |
<executions> |
| 74 |
<execution> |
| 75 |
<id>verify-annotations</id> |
| 76 |
<phase>process-test-classes</phase> |
| 77 |
<goals> |
| 78 |
<goal>read-source</goal> |
| 79 |
</goals> |
| 80 |
<configuration> |
| 81 |
<sourceClass>mcompiler391.SimpleObject1</sourceClass> |
| 82 |
<testSourceClass>mcompiler391.SimpleTestObject1</testSourceClass> |
| 83 |
</configuration> |
| 84 |
</execution> |
| 85 |
</executions> |
| 86 |
</plugin> |
| 87 |
</plugins> |
| 88 |
</build> |
| 89 |
</project> |