You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ol...@apache.org on 2020/01/29 08:57:53 UTC
[maven-javadoc-plugin] 02/04: [ MJAVADOC-613] exclude
This is an automated email from the ASF dual-hosted git repository.
olamy pushed a commit to branch MJAVADOC-613-exclude_skipped_modules_from_aggregate
in repository https://gitbox.apache.org/repos/asf/maven-javadoc-plugin.git
commit a9688a9309c522cee465718619696dcb9fb120e2
Author: olivier lamy <ol...@apache.org>
AuthorDate: Mon Jan 27 08:48:50 2020 +1000
[ MJAVADOC-613] exclude
Signed-off-by: olivier lamy <ol...@apache.org>
---
pom.xml | 5 +-
.../maven/plugins/javadoc/AbstractJavadocMojo.java | 91 +++++++++------
.../maven/plugins/javadoc/FixJavadocMojoTest.java | 50 ---------
.../javadoc/stubs/FixJdk5MavenProjectStub.java | 105 ------------------
.../javadoc/stubs/FixJdk6MavenProjectStub.java | 105 ------------------
.../src/main/java/fix/test/ClassWithJavadoc.java | 122 ---------------------
.../src/main/java/fix/test/ClassWithNoJavadoc.java | 112 -------------------
.../main/java/fix/test/InterfaceWithJavadoc.java | 58 ----------
.../main/java/fix/test/InterfaceWithNoJavadoc.java | 63 -----------
.../main/java/fix/test/SubClassWithJavadoc.java | 43 --------
src/test/resources/unit/fix-jdk5-test/pom.xml | 63 -----------
.../unit/fix-jdk5-test/1.0/fix-jdk5-test-1.0.jar | Bin 5912 -> 0 bytes
.../unit/fix-jdk5-test/1.0/fix-jdk5-test-1.0.pom | 61 -----------
.../unit/fix-jdk5-test/maven-metadata-local.xml | 31 ------
.../src/main/java/fix/test/ClassWithJavadoc.java | 106 ------------------
.../src/main/java/fix/test/ClassWithNoJavadoc.java | 69 ------------
.../main/java/fix/test/InterfaceWithJavadoc.java | 47 --------
.../main/java/fix/test/InterfaceWithNoJavadoc.java | 39 -------
.../main/java/fix/test/SubClassWithJavadoc.java | 39 -------
.../src/main/java/fix/test/ClassWithJavadoc.java | 79 -------------
.../main/java/fix/test/InterfaceWithJavadoc.java | 58 ----------
src/test/resources/unit/fix-jdk6-test/pom.xml | 63 -----------
.../unit/fix-jdk6-test/1.0/fix-jdk6-test-1.0.jar | Bin 3670 -> 0 bytes
.../unit/fix-jdk6-test/1.0/fix-jdk6-test-1.0.pom | 61 -----------
.../unit/fix-jdk6-test/maven-metadata-local.xml | 31 ------
.../src/main/java/fix/test/ClassWithJavadoc.java | 70 ------------
.../main/java/fix/test/InterfaceWithJavadoc.java | 47 --------
src/test/resources/unit/fix-test/pom.xml | 2 +-
.../tagletArtifacts-test-plugin-config.xml | 2 +-
29 files changed, 63 insertions(+), 1559 deletions(-)
diff --git a/pom.xml b/pom.xml
index 4abe764..ab901a6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -72,10 +72,10 @@ under the License.
<doxia-sitetoolsVersion>1.7.4</doxia-sitetoolsVersion>
<wagonVersion>2.4</wagonVersion>
<sonatypeAetherVersion>1.13.1</sonatypeAetherVersion>
+ <plexus-java.version>1.0.3</plexus-java.version>
<!-- for ITs -->
<sitePluginVersion>3.3</sitePluginVersion>
<projectInfoReportsPluginVersion>2.7</projectInfoReportsPluginVersion>
- <plexus-java.version>1.0.3</plexus-java.version>
</properties>
<contributors>
@@ -430,6 +430,9 @@ under the License.
<maven.home>${maven.home}</maven.home>
<https.protocols>${https.protocols}</https.protocols>
</systemPropertyVariables>
+ <environmentVariables>
+ <JENKINS_MAVEN_AGENT_DISABLED>true</JENKINS_MAVEN_AGENT_DISABLED>
+ </environmentVariables>
</configuration>
</plugin>
<plugin>
diff --git a/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java b/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
index c043531..331c037 100644
--- a/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
+++ b/src/main/java/org/apache/maven/plugins/javadoc/AbstractJavadocMojo.java
@@ -19,7 +19,9 @@ package org.apache.maven.plugins.javadoc;
* under the License.
*/
+import org.apache.commons.lang3.BooleanUtils;
import org.apache.commons.lang3.ClassUtils;
+import org.apache.commons.lang3.StringUtils;
import org.apache.maven.artifact.Artifact;
import org.apache.maven.artifact.ArtifactUtils;
import org.apache.maven.artifact.handler.ArtifactHandler;
@@ -94,7 +96,6 @@ import org.codehaus.plexus.util.DirectoryScanner;
import org.codehaus.plexus.util.FileUtils;
import org.codehaus.plexus.util.IOUtil;
import org.codehaus.plexus.util.ReaderFactory;
-import org.codehaus.plexus.util.StringUtils;
import org.codehaus.plexus.util.WriterFactory;
import org.codehaus.plexus.util.cli.CommandLineException;
import org.codehaus.plexus.util.cli.CommandLineUtils;
@@ -2229,7 +2230,7 @@ public abstract class AbstractJavadocMojo
*
* @param sourcePaths a Collection that contains the paths to the source files
* @return a List that contains the specific path for every source file
- * @throws MavenReportException {@link MavenReportException}
+ * @throws MavenReportException {@link MavenReportException} issue while generating report
*/
protected Map<Path, Collection<String>> getFiles( Collection<Path> sourcePaths )
throws MavenReportException
@@ -2263,7 +2264,7 @@ public abstract class AbstractJavadocMojo
* source roots of the project will be used.
*
* @return a Map of the project absolute source paths per projects key (G:A)
- * @throws MavenReportException {@link MavenReportException}
+ * @throws MavenReportException {@link MavenReportException} issue while generating report
* @see JavadocUtil#pruneDirs(MavenProject, Collection)
*/
protected Map<String, Collection<Path>> getSourcePaths()
@@ -2371,23 +2372,11 @@ public abstract class AbstractJavadocMojo
return mappedSourcePaths;
}
- private Collection<MavenProject> getAggregatedProjects()
- {
- Map<Path, MavenProject> reactorProjectsMap = new HashMap<>();
- for ( MavenProject reactorProject : this.reactorProjects )
- {
- reactorProjectsMap.put( reactorProject.getBasedir().toPath(), reactorProject );
- }
-
- return modulesForAggregatedProject( project, reactorProjectsMap );
- }
-
/**
* Recursively add the modules of the aggregatedProject to the set of aggregatedModules.
*
* @param aggregatedProject the project being aggregated
* @param reactorProjectsMap map of (still) available reactor projects
- * @throws MavenReportException if any
*/
private Set<MavenProject> modulesForAggregatedProject( MavenProject aggregatedProject,
Map<Path, MavenProject> reactorProjectsMap )
@@ -2522,8 +2511,9 @@ public abstract class AbstractJavadocMojo
return configureDependencySourceResolution( new SourceResolverConfig( project,
getProjectBuildingRequest( project ),
- sourceDependencyCacheDir ).withReactorProjects( reactorProjects ) )
- .withFilter( new AndFilter( andFilters ) );
+ sourceDependencyCacheDir )
+ .withReactorProjects( getAggregatedProjects() ) )
+ .withFilter( new AndFilter( andFilters ) );
}
@@ -3617,7 +3607,7 @@ public abstract class AbstractJavadocMojo
*
* @param javadocArtifact the {@link JavadocPathArtifact} to resolve
* @return a resolved {@link Artifact}
- * @throws ArtifactResolverException
+ * @throws ArtifactResolverException issue while resolving artifact
*/
private Artifact createAndResolveArtifact( JavadocPathArtifact javadocArtifact )
throws ArtifactResolverException
@@ -4163,7 +4153,7 @@ public abstract class AbstractJavadocMojo
* </ul>
*
* @param arguments a list of arguments, not null
- * @throws MavenReportException
+ * @throws MavenReportException issue while generating report
* @see #detectLinks
* @see #getDependenciesLinks()
* @see <a href="http://docs.oracle.com/javase/7/docs/technotes/tools/windows/javadoc.html#package-list">package-list spec</a>
@@ -4932,8 +4922,9 @@ public abstract class AbstractJavadocMojo
addArgIf( arguments, breakiterator, "-breakiterator", SINCE_JAVADOC_1_5 );
}
- Map<String, MavenProject> reactorKeys = new HashMap<>( reactorProjects.size() );
- for ( MavenProject reactorProject : reactorProjects )
+ List<MavenProject> aggregatedProjects = getAggregatedProjects();
+ Map<String, MavenProject> reactorKeys = new HashMap<>( aggregatedProjects.size() );
+ for ( MavenProject reactorProject : aggregatedProjects )
{
reactorKeys.put( ArtifactUtils.versionlessKey( reactorProject.getGroupId(),
reactorProject.getArtifactId() ), reactorProject );
@@ -5904,21 +5895,15 @@ public abstract class AbstractJavadocMojo
throws IOException
{
final String fixData;
- InputStream in = null;
- try
+
+ try (InputStream in = this.getClass().getResourceAsStream( "frame-injection-fix.txt" ))
{
- in = this.getClass().getResourceAsStream( "frame-injection-fix.txt" );
if ( in == null )
{
throw new FileNotFoundException( "Missing resource 'frame-injection-fix.txt' in classpath." );
}
- fixData = StringUtils.unifyLineSeparators( IOUtil.toString( in, "US-ASCII" ) ).trim();
- in.close();
- in = null;
- }
- finally
- {
- IOUtil.close( in );
+ fixData = org.codehaus.plexus.util.StringUtils
+ .unifyLineSeparators( IOUtil.toString( in, "US-ASCII" ) ).trim();
}
final DirectoryScanner ds = new DirectoryScanner();
@@ -6143,7 +6128,8 @@ public abstract class AbstractJavadocMojo
private List<OfflineLink> getModulesLinks()
throws MavenReportException
{
- if ( !detectOfflineLinks || isAggregator() || reactorProjects == null )
+ List<MavenProject> aggregatedProjects = getAggregatedProjects();
+ if ( !detectOfflineLinks || isAggregator() || aggregatedProjects.isEmpty() )
{
return Collections.emptyList();
}
@@ -6159,7 +6145,7 @@ public abstract class AbstractJavadocMojo
List<OfflineLink> modulesLinks = new ArrayList<>();
String javadocDirRelative = PathUtils.toRelative( project.getBasedir(), getOutputDirectory() );
- for ( MavenProject p : reactorProjects )
+ for ( MavenProject p : aggregatedProjects )
{
if ( !dependencyArtifactIds.contains( p.getArtifact().getId() ) || ( p.getUrl() == null ) )
{
@@ -6802,7 +6788,7 @@ public abstract class AbstractJavadocMojo
/**
* @param prefix The prefix of the exception.
* @param e The exception.
- * @throws MojoExecutionException {@link MojoExecutionException}
+ * @throws MojoExecutionException {@link MojoExecutionException} issue while generating report
*/
protected void failOnError( String prefix, Exception e )
throws MojoExecutionException
@@ -6818,4 +6804,41 @@ public abstract class AbstractJavadocMojo
getLog().error( prefix + ": " + e.getMessage(), e );
}
+
+
+ private List<MavenProject> getAggregatedProjects()
+ {
+ if ( this.reactorProjects == null )
+ {
+ return Collections.emptyList();
+ }
+ Map<Path, MavenProject> reactorProjectsMap = new HashMap<>();
+ for ( MavenProject reactorProject : this.reactorProjects )
+ {
+ if ( !isSkippedJavadoc( reactorProject ) )
+ {
+ reactorProjectsMap.put( reactorProject.getBasedir().toPath(), reactorProject );
+ }
+ }
+
+ return new ArrayList<>( modulesForAggregatedProject( project, reactorProjectsMap ) );
+ }
+
+ protected boolean isSkippedJavadoc( MavenProject mavenProject )
+ {
+ if ( BooleanUtils.toBoolean( mavenProject.getProperties().getProperty( "maven.javadoc.skip" ) ) )
+ {
+ return true;
+ }
+ final String pluginId = "org.apache.maven.plugins:maven-javadoc-plugin";
+ Plugin javadocPlugin = getPlugin( project, pluginId );
+ if ( javadocPlugin == null )
+ {
+ return false;
+ }
+ Xpp3Dom configuration = (Xpp3Dom) javadocPlugin.getConfiguration();
+ Xpp3Dom skipNode = configuration.getChild( "skip" );
+ return skipNode != null && BooleanUtils.toBoolean( skipNode.getValue() );
+ }
+
}
diff --git a/src/test/java/org/apache/maven/plugins/javadoc/FixJavadocMojoTest.java b/src/test/java/org/apache/maven/plugins/javadoc/FixJavadocMojoTest.java
index 1db9339..2129e24 100644
--- a/src/test/java/org/apache/maven/plugins/javadoc/FixJavadocMojoTest.java
+++ b/src/test/java/org/apache/maven/plugins/javadoc/FixJavadocMojoTest.java
@@ -90,21 +90,6 @@ public class FixJavadocMojoTest
assertTrue( sourceDir.exists() );
FileUtils.copyDirectoryStructure( sourceDir, localRepo );
- // ----------------------------------------------------------------------
- // fix-jdk5-test-1.0.jar
- // ----------------------------------------------------------------------
-
- sourceDir = new File( getBasedir(), "src/test/resources/unit/fix-jdk5-test/repo/" );
- assertTrue( sourceDir.exists() );
- FileUtils.copyDirectoryStructure( sourceDir, localRepo );
-
- // ----------------------------------------------------------------------
- // fix-jdk6-test-1.0.jar
- // ----------------------------------------------------------------------
-
- sourceDir = new File( getBasedir(), "src/test/resources/unit/fix-jdk6-test/repo/" );
- assertTrue( sourceDir.exists() );
- FileUtils.copyDirectoryStructure( sourceDir, localRepo );
// Remove SCM files
List<String> files =
@@ -139,41 +124,6 @@ public class FixJavadocMojoTest
"InterfaceWithJavadoc.java", "InterfaceWithNoJavadoc.java" } );
}
- /**
- * @throws Exception if any
- */
- public void testFixJdk5()
- throws Exception
- {
- // Should be an assumption, but not supported by TestCase
- // Java 5 not supported by Java 9 anymore
- if ( JavaVersion.JAVA_SPECIFICATION_VERSION.isAtLeast( "9" ) )
- {
- return;
- }
-
- File testPomBasedir = new File( getBasedir(), "target/test/unit/fix-jdk5-test" );
- executeMojoAndTest( testPomBasedir, new String[] { "ClassWithJavadoc.java", "ClassWithNoJavadoc.java",
- "InterfaceWithJavadoc.java", "InterfaceWithNoJavadoc.java", "SubClassWithJavadoc.java" } );
- }
-
- /**
- * @throws Exception if any
- */
- public void testFixJdk6()
- throws Exception
- {
- // Should be an assumption, but not supported by TestCase
- // Java 6 not supported by Java 12 anymore
- if ( JavaVersion.JAVA_SPECIFICATION_VERSION.isAtLeast( "12" ) )
- {
- return;
- }
-
- File testPomBasedir = new File( getBasedir(), "target/test/unit/fix-jdk6-test" );
- executeMojoAndTest( testPomBasedir, new String[] { "ClassWithJavadoc.java", "InterfaceWithJavadoc.java" } );
- }
-
// ----------------------------------------------------------------------
// Test private static methods
// ----------------------------------------------------------------------
diff --git a/src/test/java/org/apache/maven/plugins/javadoc/stubs/FixJdk5MavenProjectStub.java b/src/test/java/org/apache/maven/plugins/javadoc/stubs/FixJdk5MavenProjectStub.java
deleted file mode 100644
index 04d6a4b..0000000
--- a/src/test/java/org/apache/maven/plugins/javadoc/stubs/FixJdk5MavenProjectStub.java
+++ /dev/null
@@ -1,105 +0,0 @@
-package org.apache.maven.plugins.javadoc.stubs;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.File;
-
-import org.apache.maven.model.Build;
-import org.apache.maven.plugin.testing.stubs.MavenProjectStub;
-
-/**
- * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
- */
-public class FixJdk5MavenProjectStub
- extends MavenProjectStub
-{
- public FixJdk5MavenProjectStub()
- {
- readModel( new File( getBasedir(), "pom.xml" ) );
-
- addCompileSourceRoot( getBasedir().getAbsolutePath() + "/target/classes" );
- addCompileSourceRoot( getBasedir().getAbsolutePath() + "/src/main/java" );
-
- Build build = new Build();
- build.setDirectory( getBasedir().getAbsolutePath() + "/target" );
- build.setSourceDirectory( getBasedir().getAbsolutePath() + "/src/main/java" );
- build.setOutputDirectory( getBasedir().getAbsolutePath() + "/target/classes" );
- build.setTestSourceDirectory( getBasedir().getAbsolutePath() + "/src/test/java" );
- build.setTestOutputDirectory( getBasedir().getAbsolutePath() + "/target/test-classes" );
- setBuild( build );
- }
-
- /** {@inheritDoc} */
- @Override
- public String getArtifactId()
- {
- return getModel().getArtifactId();
- }
-
- /** {@inheritDoc} */
- @Override
- public String getGroupId()
- {
- String groupId = getModel().getGroupId();
-
- if ( ( groupId == null ) && ( getModel().getParent() != null ) )
- {
- groupId = getModel().getParent().getGroupId();
- }
-
- return groupId;
- }
-
- /** {@inheritDoc} */
- @Override
- public String getVersion()
- {
- String version = getModel().getVersion();
-
- if ( ( version == null ) && ( getModel().getParent() != null ) )
- {
- version = getModel().getParent().getVersion();
- }
-
- return version;
- }
-
- /** {@inheritDoc} */
- @Override
- public String getPackaging()
- {
- return getModel().getPackaging();
- }
-
- /** {@inheritDoc} */
- @Override
- public File getBasedir()
- {
- // Using unit test dir
- return new File( super.getBasedir() + "/target/test/unit/fix-jdk5-test/" );
- }
-
- /** {@inheritDoc} */
- @Override
- public File getFile()
- {
- return new File( getBasedir(), "pom.xml" );
- }
-}
diff --git a/src/test/java/org/apache/maven/plugins/javadoc/stubs/FixJdk6MavenProjectStub.java b/src/test/java/org/apache/maven/plugins/javadoc/stubs/FixJdk6MavenProjectStub.java
deleted file mode 100644
index 79c11c3..0000000
--- a/src/test/java/org/apache/maven/plugins/javadoc/stubs/FixJdk6MavenProjectStub.java
+++ /dev/null
@@ -1,105 +0,0 @@
-package org.apache.maven.plugins.javadoc.stubs;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.io.File;
-
-import org.apache.maven.model.Build;
-import org.apache.maven.plugin.testing.stubs.MavenProjectStub;
-
-/**
- * @author <a href="mailto:vincent.siveton@gmail.com">Vincent Siveton</a>
- */
-public class FixJdk6MavenProjectStub
- extends MavenProjectStub
-{
- public FixJdk6MavenProjectStub()
- {
- readModel( new File( getBasedir(), "pom.xml" ) );
-
- addCompileSourceRoot( getBasedir().getAbsolutePath() + "/target/classes" );
- addCompileSourceRoot( getBasedir().getAbsolutePath() + "/src/main/java" );
-
- Build build = new Build();
- build.setDirectory( getBasedir().getAbsolutePath() + "/target" );
- build.setSourceDirectory( getBasedir().getAbsolutePath() + "/src/main/java" );
- build.setOutputDirectory( getBasedir().getAbsolutePath() + "/target/classes" );
- build.setTestSourceDirectory( getBasedir().getAbsolutePath() + "/src/test/java" );
- build.setTestOutputDirectory( getBasedir().getAbsolutePath() + "/target/test-classes" );
- setBuild( build );
- }
-
- /** {@inheritDoc} */
- @Override
- public String getArtifactId()
- {
- return getModel().getArtifactId();
- }
-
- /** {@inheritDoc} */
- @Override
- public String getGroupId()
- {
- String groupId = getModel().getGroupId();
-
- if ( ( groupId == null ) && ( getModel().getParent() != null ) )
- {
- groupId = getModel().getParent().getGroupId();
- }
-
- return groupId;
- }
-
- /** {@inheritDoc} */
- @Override
- public String getVersion()
- {
- String version = getModel().getVersion();
-
- if ( ( version == null ) && ( getModel().getParent() != null ) )
- {
- version = getModel().getParent().getVersion();
- }
-
- return version;
- }
-
- /** {@inheritDoc} */
- @Override
- public String getPackaging()
- {
- return getModel().getPackaging();
- }
-
- /** {@inheritDoc} */
- @Override
- public File getBasedir()
- {
- // Using unit test dir
- return new File( super.getBasedir() + "/target/test/unit/fix-jdk6-test/" );
- }
-
- /** {@inheritDoc} */
- @Override
- public File getFile()
- {
- return new File( getBasedir(), "pom.xml" );
- }
-}
diff --git a/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/ClassWithJavadoc.java b/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/ClassWithJavadoc.java
deleted file mode 100644
index 4abb045..0000000
--- a/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/ClassWithJavadoc.java
+++ /dev/null
@@ -1,122 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * To add default class tags.
- *
- * @author <a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>
- * @version $Id: $
- */
-public class ClassWithJavadoc
- implements InterfaceWithJavadoc
-{
- /**
- * Empty constructor.
- */
- public ClassWithJavadoc()
- {
- }
-
- /**
- * Constructor with generic param.
- *
- * @param list a {@link java.util.List} object.
- */
- public ClassWithJavadoc( List<String> list )
- {
- }
-
- /**
- * QDOX-155
- *
- * @param request a T object.
- * @return a {@link java.util.List} object.
- * @throws java.lang.Exception if any.
- */
- public <T extends String> List<String> withGenericParameter( T request )
- throws Exception
- {
- return null;
- }
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- /**
- * Correct generic doclets.
- *
- * @param <K> The Key type for the method
- * @param <V> The Value type for the method
- * @param name The name.
- * @return A map configured.
- * @since 1.1
- */
- public <K, V> Map<K, V> withGenericDoclet( String name )
- {
- return null;
- }
-
- /**
- * Wrong generic doclets.
- *
- * @param name The name.
- * @return A map configured.
- * @param <K> a K object.
- * @param <V> a V object.
- * @since 1.1
- */
- public <K, V> Map<K, V> withGenericDoclet2( String name )
- {
- return null;
- }
-
- /**
- * New class method to be found by Clirr.
- *
- * @param aList a {@link java.util.List} object.
- * @param aMap a {@link java.util.Map} object.
- * @return a {@link java.util.Map} object.
- * @since 1.1
- */
- public <K, V> Map<K, V> newClassMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- return null;
- }
-
- // ----------------------------------------------------------------------
- // Inheritance
- // ----------------------------------------------------------------------
-
- /** {@inheritDoc} */
- public void withGenericParameters( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- }
-
- /** {@inheritDoc} */
- public <K, V> Map<K, V> newInterfaceMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- return null;
- }
-}
diff --git a/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/ClassWithNoJavadoc.java b/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/ClassWithNoJavadoc.java
deleted file mode 100644
index f029dab..0000000
--- a/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/ClassWithNoJavadoc.java
+++ /dev/null
@@ -1,112 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * <p>ClassWithNoJavadoc class.</p>
- *
- * @author <a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>
- * @version $Id: $
- */
-public class ClassWithNoJavadoc
- implements InterfaceWithNoJavadoc
-{
- /**
- * <p>Constructor for ClassWithNoJavadoc.</p>
- */
- public ClassWithNoJavadoc()
- {
- }
-
- /**
- * <p>Constructor for ClassWithNoJavadoc.</p>
- *
- * @param list a {@link java.util.List} object.
- */
- public ClassWithNoJavadoc( List<String> list )
- {
- }
-
- // QDOX-155
- /**
- * <p>withGenericParameter.</p>
- *
- * @param request a T object.
- * @param <T> a T object.
- * @return a {@link java.util.List} object.
- * @throws java.lang.Exception if any.
- */
- public <T extends String> List<String> withGenericParameter( T request )
- throws Exception
- {
- return null;
- }
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- /**
- * <p>withGenericParameter2.</p>
- *
- * @param name a {@link java.lang.String} object.
- * @param <K> a K object.
- * @param <V> a V object.
- * @return a {@link java.util.Map} object.
- * @since 1.1
- */
- public <K, V> Map<K, V> withGenericParameter2( String name )
- {
- return null;
- }
-
- /**
- * <p>newClassMethod.</p>
- *
- * @param aList a {@link java.util.List} object.
- * @param aMap a {@link java.util.Map} object.
- * @param <K> a K object.
- * @param <V> a V object.
- * @return a {@link java.util.Map} object.
- * @since 1.1
- */
- public <K, V> Map<K, V> newClassMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- return null;
- }
-
- // ----------------------------------------------------------------------
- // Inheritance
- // ----------------------------------------------------------------------
-
- /** {@inheritDoc} */
- public void withGenericParameters( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- }
-
- /** {@inheritDoc} */
- public <K, V> Map<K, V> newInterfaceMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- return null;
- }
-}
diff --git a/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/InterfaceWithJavadoc.java b/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/InterfaceWithJavadoc.java
deleted file mode 100644
index a0a74b5..0000000
--- a/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/InterfaceWithJavadoc.java
+++ /dev/null
@@ -1,58 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-
-/**
- * To add default interface tags.
- *
- * @author <a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>
- * @version $Id: $
- */
-public interface InterfaceWithJavadoc
-{
- /** default comment */
- Map<String, String> MY_MAP_CONSTANT = Collections.singletonMap( "key", "value" );
-
- /**
- * To add default method tags.
- *
- * @param aList a {@link java.util.List} object.
- * @param aMap a {@link java.util.Map} object.
- */
- public void withGenericParameters( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap );
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- /**
- * New interface method to be found by Clirr.
- *
- * @param aList a {@link java.util.List} object.
- * @param aMap a {@link java.util.Map} object.
- * @return a {@link java.util.Map} object.
- * @since 1.1
- */
- public <K, V> Map<K, V> newInterfaceMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap );
-}
diff --git a/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/InterfaceWithNoJavadoc.java b/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/InterfaceWithNoJavadoc.java
deleted file mode 100644
index 686b9ac..0000000
--- a/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/InterfaceWithNoJavadoc.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-
-/**
- * <p>InterfaceWithNoJavadoc interface.</p>
- *
- * @author <a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>
- * @version $Id: $
- */
-public interface InterfaceWithNoJavadoc
-{
- /** Constant <code>MY_LIST_CONSTANT</code> */
- List<String> MY_LIST_CONSTANT = Collections.singletonList( "value" );
-
- /** Constant <code>MY_MAP_CONSTANT</code> */
- Map<String, String> MY_MAP_CONSTANT = Collections.singletonMap( "key", "value" );
-
- /**
- * <p>withGenericParameters.</p>
- *
- * @param aList a {@link java.util.List} object.
- * @param aMap a {@link java.util.Map} object.
- */
- public void withGenericParameters( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap );
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- /**
- * <p>newInterfaceMethod.</p>
- *
- * @param aList a {@link java.util.List} object.
- * @param aMap a {@link java.util.Map} object.
- * @param <K> a K object.
- * @param <V> a V object.
- * @return a {@link java.util.Map} object.
- * @since 1.1
- */
- public <K, V> Map<K, V> newInterfaceMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap );
-}
diff --git a/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/SubClassWithJavadoc.java b/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/SubClassWithJavadoc.java
deleted file mode 100644
index 18566fa..0000000
--- a/src/test/resources/unit/fix-jdk5-test/expected/src/main/java/fix/test/SubClassWithJavadoc.java
+++ /dev/null
@@ -1,43 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * To add default class tags.
- *
- * @author <a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>
- * @version $Id: $
- */
-public class SubClassWithJavadoc
- extends ClassWithJavadoc
-{
- // ----------------------------------------------------------------------
- // Inheritance
- // ----------------------------------------------------------------------
-
- /** {@inheritDoc} */
- @Override
- public void withGenericParameters( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- }
-}
diff --git a/src/test/resources/unit/fix-jdk5-test/pom.xml b/src/test/resources/unit/fix-jdk5-test/pom.xml
deleted file mode 100644
index f89c69c..0000000
--- a/src/test/resources/unit/fix-jdk5-test/pom.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- 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
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
- <artifactId>fix-jdk5-test</artifactId>
- <version>1.1-SNAPSHOT</version>
- <name>Javadoc Test Project</name>
- <packaging>jar</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <project implementation="org.apache.maven.plugins.javadoc.stubs.FixJdk5MavenProjectStub"/>
- <localRepository>${localRepository}</localRepository>
- <outputDirectory>${basedir}/target/test/unit/fix-jdk5-test/target/generated</outputDirectory>
- <defaultSince>1.1-SNAPSHOT</defaultSince>
- <encoding>UTF-8</encoding>
- <fixTags>all</fixTags>
- <fixClassComment>true</fixClassComment>
- <fixFieldComment>true</fixFieldComment>
- <fixMethodComment>true</fixMethodComment>
- <force>true</force>
- <ignoreClirr>false</ignoreClirr>
- <comparisonVersion>1.0</comparisonVersion>
- <includes>**/*.java</includes>
- <level>protected</level>
- <defaultAuthor><![CDATA[<a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>]]></defaultAuthor>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/src/test/resources/unit/fix-jdk5-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk5-test/1.0/fix-jdk5-test-1.0.jar b/src/test/resources/unit/fix-jdk5-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk5-test/1.0/fix-jdk5-test-1.0.jar
deleted file mode 100644
index 5362213..0000000
Binary files a/src/test/resources/unit/fix-jdk5-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk5-test/1.0/fix-jdk5-test-1.0.jar and /dev/null differ
diff --git a/src/test/resources/unit/fix-jdk5-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk5-test/1.0/fix-jdk5-test-1.0.pom b/src/test/resources/unit/fix-jdk5-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk5-test/1.0/fix-jdk5-test-1.0.pom
deleted file mode 100644
index 43f567e..0000000
--- a/src/test/resources/unit/fix-jdk5-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk5-test/1.0/fix-jdk5-test-1.0.pom
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- 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
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
- <artifactId>fix-jdk5-test</artifactId>
- <version>1.0</version>
- <name>Javadoc Test Project</name>
- <packaging>jar</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.5</source>
- <target>1.5</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <project implementation="org.apache.maven.plugins.javadoc.stubs.FixJdk5MavenProjectStub"/>
- <outputDirectory>${basedir}/target/test/unit/fix-jdk5-test/target/generated</outputDirectory>
- <defaultSince>1.0-SNAPSHOT</defaultSince>
- <encoding>UTF-8</encoding>
- <fixTags>all</fixTags>
- <fixClassComment>true</fixClassComment>
- <fixFieldComment>true</fixFieldComment>
- <fixMethodComment>true</fixMethodComment>
- <force>true</force>
- <ignoreClirr>true</ignoreClirr>
- <includes>**/*.java</includes>
- <level>protected</level>
- <defaultAuthor><![CDATA[<a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>]]></defaultAuthor>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/src/test/resources/unit/fix-jdk5-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk5-test/maven-metadata-local.xml b/src/test/resources/unit/fix-jdk5-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk5-test/maven-metadata-local.xml
deleted file mode 100644
index 6cd3484..0000000
--- a/src/test/resources/unit/fix-jdk5-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk5-test/maven-metadata-local.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><metadata>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-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
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
- <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
- <artifactId>fix-jdk5-test</artifactId>
- <version>1.0</version>
- <versioning>
- <versions>
- <version>1.0</version>
- </versions>
- <lastUpdated>20090723104459</lastUpdated>
- </versioning>
-</metadata>
diff --git a/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/ClassWithJavadoc.java b/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/ClassWithJavadoc.java
deleted file mode 100644
index a56a267..0000000
--- a/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/ClassWithJavadoc.java
+++ /dev/null
@@ -1,106 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * To add default class tags.
- */
-public class ClassWithJavadoc
- implements InterfaceWithJavadoc
-{
- /**
- * Empty constructor.
- */
- public ClassWithJavadoc()
- {
- }
-
- /**
- * Constructor with generic param.
- */
- public ClassWithJavadoc( List<String> list )
- {
- }
-
- /**
- * QDOX-155
- */
- public <T extends String> List<String> withGenericParameter( T request )
- throws Exception
- {
- return null;
- }
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- /**
- * Correct generic doclets.
- *
- * @param <K> The Key type for the method
- * @param <V> The Value type for the method
- * @param name The name.
- * @return A map configured.
- */
- public <K, V> Map<K, V> withGenericDoclet( String name )
- {
- return null;
- }
-
- /**
- * Wrong generic doclets.
- *
- * @param <T> The Key type for the method
- * @param <U> The Value type for the method
- * @param name The name.
- * @return A map configured.
- */
- public <K, V> Map<K, V> withGenericDoclet2( String name )
- {
- return null;
- }
-
- /**
- * New class method to be found by Clirr.
- */
- public <K, V> Map<K, V> newClassMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- return null;
- }
-
- // ----------------------------------------------------------------------
- // Inheritance
- // ----------------------------------------------------------------------
-
- /** {@inheritDoc} */
- public void withGenericParameters( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- }
-
- /** {@inheritDoc} */
- public <K, V> Map<K, V> newInterfaceMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- return null;
- }
-}
diff --git a/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/ClassWithNoJavadoc.java b/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/ClassWithNoJavadoc.java
deleted file mode 100644
index 412c713..0000000
--- a/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/ClassWithNoJavadoc.java
+++ /dev/null
@@ -1,69 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.List;
-import java.util.Map;
-
-public class ClassWithNoJavadoc
- implements InterfaceWithNoJavadoc
-{
- public ClassWithNoJavadoc()
- {
- }
-
- public ClassWithNoJavadoc( List<String> list )
- {
- }
-
- // QDOX-155
- public <T extends String> List<String> withGenericParameter( T request )
- throws Exception
- {
- return null;
- }
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- public <K, V> Map<K, V> withGenericParameter2( String name )
- {
- return null;
- }
-
- public <K, V> Map<K, V> newClassMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- return null;
- }
-
- // ----------------------------------------------------------------------
- // Inheritance
- // ----------------------------------------------------------------------
-
- public void withGenericParameters( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- }
-
- public <K, V> Map<K, V> newInterfaceMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- return null;
- }
-}
diff --git a/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/InterfaceWithJavadoc.java b/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/InterfaceWithJavadoc.java
deleted file mode 100644
index c24c5b5..0000000
--- a/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/InterfaceWithJavadoc.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-
-/**
- * To add default interface tags.
- */
-public interface InterfaceWithJavadoc
-{
- /** default comment */
- Map<String, String> MY_MAP_CONSTANT = Collections.singletonMap( "key", "value" );
-
- /**
- * To add default method tags.
- */
- public void withGenericParameters( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap );
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- /**
- * New interface method to be found by Clirr.
- */
- public <K, V> Map<K, V> newInterfaceMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap );
-}
diff --git a/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/InterfaceWithNoJavadoc.java b/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/InterfaceWithNoJavadoc.java
deleted file mode 100644
index 377714f..0000000
--- a/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/InterfaceWithNoJavadoc.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.Collections;
-import java.util.List;
-import java.util.Map;
-
-public interface InterfaceWithNoJavadoc
-{
- List<String> MY_LIST_CONSTANT = Collections.singletonList( "value" );
-
- Map<String, String> MY_MAP_CONSTANT = Collections.singletonMap( "key", "value" );
-
- public void withGenericParameters( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap );
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- public <K, V> Map<K, V> newInterfaceMethod( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap );
-}
diff --git a/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/SubClassWithJavadoc.java b/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/SubClassWithJavadoc.java
deleted file mode 100644
index b063483..0000000
--- a/src/test/resources/unit/fix-jdk5-test/src/main/java/fix/test/SubClassWithJavadoc.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * To add default class tags.
- */
-public class SubClassWithJavadoc
- extends ClassWithJavadoc
-{
- // ----------------------------------------------------------------------
- // Inheritance
- // ----------------------------------------------------------------------
-
- @Override
- public void withGenericParameters( List<String> aList, Map<Map<String, List<String>>, List<String>> aMap )
- {
- }
-}
diff --git a/src/test/resources/unit/fix-jdk6-test/expected/src/main/java/fix/test/ClassWithJavadoc.java b/src/test/resources/unit/fix-jdk6-test/expected/src/main/java/fix/test/ClassWithJavadoc.java
deleted file mode 100644
index 928a1de..0000000
--- a/src/test/resources/unit/fix-jdk6-test/expected/src/main/java/fix/test/ClassWithJavadoc.java
+++ /dev/null
@@ -1,79 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.List;
-
-/**
- * To add default class tags.
- *
- * @author <a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>
- * @version $Id: $
- */
-public class ClassWithJavadoc
- implements InterfaceWithJavadoc
-{
- /**
- * Constructor with generic param.
- *
- * @param list a {@link java.util.List} object.
- */
- public ClassWithJavadoc( List<String> list )
- {
- }
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- /**
- * New class method to be found by Clirr.
- *
- * @param aString a {@link java.lang.String} object.
- * @return a {@link java.lang.String} object.
- * @since 1.1
- */
- public String newClassMethod( String aString )
- {
- return null;
- }
-
- // ----------------------------------------------------------------------
- // Inheritance
- // ----------------------------------------------------------------------
-
- /** {@inheritDoc} */
- @Override
- public void withGenericParameters( List<String> aList )
- {
- }
-
- /** {@inheritDoc} */
- public void withGenericParameters2( List<String> aList )
- {
- }
-
- /** {@inheritDoc} */
- @Override
- public String newInterfaceMethod( String aString )
- {
- return null;
- }
-}
diff --git a/src/test/resources/unit/fix-jdk6-test/expected/src/main/java/fix/test/InterfaceWithJavadoc.java b/src/test/resources/unit/fix-jdk6-test/expected/src/main/java/fix/test/InterfaceWithJavadoc.java
deleted file mode 100644
index 6e6f809..0000000
--- a/src/test/resources/unit/fix-jdk6-test/expected/src/main/java/fix/test/InterfaceWithJavadoc.java
+++ /dev/null
@@ -1,58 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.List;
-
-/**
- * To add default interface tags.
- *
- * @author <a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>
- * @version $Id: $
- */
-public interface InterfaceWithJavadoc
-{
- /**
- * To add default method tags.
- *
- * @param aList a {@link java.util.List} object.
- */
- public void withGenericParameters( List<String> aList );
-
- /**
- * To take care of identifier.
- *
- * @param aList a {@link java.util.List} object.
- */
- void withGenericParameters2( List<String> aList );
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- /**
- * New interface method to be found by Clirr.
- *
- * @param aString a {@link java.lang.String} object.
- * @return a {@link java.lang.String} object.
- * @since 1.1
- */
- public String newInterfaceMethod( String aString );
-}
diff --git a/src/test/resources/unit/fix-jdk6-test/pom.xml b/src/test/resources/unit/fix-jdk6-test/pom.xml
deleted file mode 100644
index fdaa198..0000000
--- a/src/test/resources/unit/fix-jdk6-test/pom.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- 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
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
- <artifactId>fix-jdk6-test</artifactId>
- <version>1.1-SNAPSHOT</version>
- <name>Javadoc Test Project</name>
- <packaging>jar</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <project implementation="org.apache.maven.plugins.javadoc.stubs.FixJdk6MavenProjectStub"/>
- <localRepository>${localRepository}</localRepository>
- <outputDirectory>${basedir}/target/test/unit/fix-jdk6-test/target/generated</outputDirectory>
- <defaultSince>1.1-SNAPSHOT</defaultSince>
- <encoding>UTF-8</encoding>
- <fixTags>all</fixTags>
- <fixClassComment>true</fixClassComment>
- <fixFieldComment>true</fixFieldComment>
- <fixMethodComment>true</fixMethodComment>
- <force>true</force>
- <ignoreClirr>false</ignoreClirr>
- <comparisonVersion>1.0</comparisonVersion>
- <includes>**/*.java</includes>
- <level>protected</level>
- <defaultAuthor><![CDATA[<a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>]]></defaultAuthor>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/src/test/resources/unit/fix-jdk6-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk6-test/1.0/fix-jdk6-test-1.0.jar b/src/test/resources/unit/fix-jdk6-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk6-test/1.0/fix-jdk6-test-1.0.jar
deleted file mode 100644
index 875e886..0000000
Binary files a/src/test/resources/unit/fix-jdk6-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk6-test/1.0/fix-jdk6-test-1.0.jar and /dev/null differ
diff --git a/src/test/resources/unit/fix-jdk6-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk6-test/1.0/fix-jdk6-test-1.0.pom b/src/test/resources/unit/fix-jdk6-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk6-test/1.0/fix-jdk6-test-1.0.pom
deleted file mode 100644
index 40d268f..0000000
--- a/src/test/resources/unit/fix-jdk6-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk6-test/1.0/fix-jdk6-test-1.0.pom
+++ /dev/null
@@ -1,61 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements. See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership. The ASF licenses this file
- 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
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
- <artifactId>fix-jdk6-test</artifactId>
- <version>1.0</version>
- <name>Javadoc Test Project</name>
- <packaging>jar</packaging>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <configuration>
- <project implementation="org.apache.maven.plugins.javadoc.stubs.FixJdk6MavenProjectStub"/>
- <outputDirectory>${basedir}/target/test/unit/fix-jdk6-test/target/generated</outputDirectory>
- <defaultSince>1.0-SNAPSHOT</defaultSince>
- <encoding>UTF-8</encoding>
- <fixTags>all</fixTags>
- <fixClassComment>true</fixClassComment>
- <fixFieldComment>true</fixFieldComment>
- <fixMethodComment>true</fixMethodComment>
- <force>true</force>
- <ignoreClirr>true</ignoreClirr>
- <includes>**/*.java</includes>
- <level>protected</level>
- <defaultAuthor><![CDATA[<a href="mailto:vsiveton@apache.org">vsiveton@apache.org</a>]]></defaultAuthor>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/src/test/resources/unit/fix-jdk6-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk6-test/maven-metadata-local.xml b/src/test/resources/unit/fix-jdk6-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk6-test/maven-metadata-local.xml
deleted file mode 100644
index 4967bea..0000000
--- a/src/test/resources/unit/fix-jdk6-test/repo/org/apache/maven/plugins/maven-javadoc-plugin/unit/fix-jdk6-test/maven-metadata-local.xml
+++ /dev/null
@@ -1,31 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?><metadata>
-
-<!--
-Licensed to the Apache Software Foundation (ASF) under one
-or more contributor license agreements. See the NOTICE file
-distributed with this work for additional information
-regarding copyright ownership. The ASF licenses this file
-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
-KIND, either express or implied. See the License for the
-specific language governing permissions and limitations
-under the License.
--->
-
- <groupId>org.apache.maven.plugins.maven-javadoc-plugin.unit</groupId>
- <artifactId>fix-jdk6-test</artifactId>
- <version>1.0</version>
- <versioning>
- <versions>
- <version>1.0</version>
- </versions>
- <lastUpdated>20090723104555</lastUpdated>
- </versioning>
-</metadata>
diff --git a/src/test/resources/unit/fix-jdk6-test/src/main/java/fix/test/ClassWithJavadoc.java b/src/test/resources/unit/fix-jdk6-test/src/main/java/fix/test/ClassWithJavadoc.java
deleted file mode 100644
index 1e45000..0000000
--- a/src/test/resources/unit/fix-jdk6-test/src/main/java/fix/test/ClassWithJavadoc.java
+++ /dev/null
@@ -1,70 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.List;
-
-/**
- * To add default class tags.
- */
-public class ClassWithJavadoc
- implements InterfaceWithJavadoc
-{
- /**
- * Constructor with generic param.
- */
- public ClassWithJavadoc( List<String> list )
- {
- }
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- /**
- * New class method to be found by Clirr.
- */
- public String newClassMethod( String aString )
- {
- return null;
- }
-
- // ----------------------------------------------------------------------
- // Inheritance
- // ----------------------------------------------------------------------
-
- @Override
- public void withGenericParameters( List<String> aList )
- {
- }
-
- /**
- * {@inheritDoc}
- */
- public void withGenericParameters2( List<String> aList )
- {
- }
-
- @Override
- public String newInterfaceMethod( String aString )
- {
- return null;
- }
-}
diff --git a/src/test/resources/unit/fix-jdk6-test/src/main/java/fix/test/InterfaceWithJavadoc.java b/src/test/resources/unit/fix-jdk6-test/src/main/java/fix/test/InterfaceWithJavadoc.java
deleted file mode 100644
index 65240f1..0000000
--- a/src/test/resources/unit/fix-jdk6-test/src/main/java/fix/test/InterfaceWithJavadoc.java
+++ /dev/null
@@ -1,47 +0,0 @@
-package fix.test;
-
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * 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
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-import java.util.List;
-
-/**
- * To add default interface tags.
- */
-public interface InterfaceWithJavadoc
-{
- /**
- * To add default method tags.
- */
- public void withGenericParameters( List<String> aList );
-
- /**
- * To take care of identifier.
- */
- void withGenericParameters2( List<String> aList );
-
- // ----------------------------------------------------------------------
- // New methods to be found by Clirr.
- // ----------------------------------------------------------------------
-
- /**
- * New interface method to be found by Clirr.
- */
- public String newInterfaceMethod( String aString );
-}
diff --git a/src/test/resources/unit/fix-test/pom.xml b/src/test/resources/unit/fix-test/pom.xml
index 060f218..e7bba6c 100644
--- a/src/test/resources/unit/fix-test/pom.xml
+++ b/src/test/resources/unit/fix-test/pom.xml
@@ -36,7 +36,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
- <version>2.0.2</version>
+ <version>3.7.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
diff --git a/src/test/resources/unit/tagletArtifacts-test/tagletArtifacts-test-plugin-config.xml b/src/test/resources/unit/tagletArtifacts-test/tagletArtifacts-test-plugin-config.xml
index 14fcb34..0656dc0 100644
--- a/src/test/resources/unit/tagletArtifacts-test/tagletArtifacts-test-plugin-config.xml
+++ b/src/test/resources/unit/tagletArtifacts-test/tagletArtifacts-test-plugin-config.xml
@@ -68,7 +68,7 @@ under the License.
<tagletArtifact>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-javadoc</artifactId>
- <version>2.4.2</version>
+ <version>3.5</version>
</tagletArtifact>
<tagletArtifact>
<groupId>org.codehaus.plexus</groupId>