This is an automated email from the ASF dual-hosted git repository. michaelo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
The following commit(s) were added to refs/heads/master by this push: new 08205b18 Add compile step for MJAVADOC-365 IT 08205b18 is described below commit 08205b187e976bb7d9266df3b8e7865dae755105 Author: Michael Osipov <micha...@apache.org> AuthorDate: Sun Jul 14 22:50:47 2024 +0200 Add compile step for MJAVADOC-365 IT To show that both javac and javadoc exlude the file. Also as base for MJAVADOC-718 testing. --- src/it/projects/MJAVADOC-365/invoker.properties | 6 +++--- src/it/projects/MJAVADOC-365/pom.xml | 10 ++++++++++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/it/projects/MJAVADOC-365/invoker.properties b/src/it/projects/MJAVADOC-365/invoker.properties index 22c9049f..7422292a 100644 --- a/src/it/projects/MJAVADOC-365/invoker.properties +++ b/src/it/projects/MJAVADOC-365/invoker.properties @@ -5,9 +5,9 @@ # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at -# +# # http://www.apache.org/licenses/LICENSE-2.0 -# +# # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY @@ -15,4 +15,4 @@ # specific language governing permissions and limitations # under the License. -invoker.goals=clean javadoc:javadoc +invoker.goals=clean compile javadoc:javadoc diff --git a/src/it/projects/MJAVADOC-365/pom.xml b/src/it/projects/MJAVADOC-365/pom.xml index 14c8dad9..7972158d 100644 --- a/src/it/projects/MJAVADOC-365/pom.xml +++ b/src/it/projects/MJAVADOC-365/pom.xml @@ -35,6 +35,16 @@ <build> <pluginManagement> <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>@compilerPluginVersion@</version> + <configuration> + <excludes> + <exclude>**/*Excluded.java</exclude> + </excludes> + </configuration> + </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId>