Skip to content

Commit

Permalink
Clean up and add
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed Apr 16, 2022
1 parent 3fcf7d5 commit b373c6c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
10 changes: 10 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,16 @@ under the License.
<classifier>shaded</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-connector-basic</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.eclipse.aether</groupId>
<artifactId>aether-transport-wagon</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1209,24 +1209,8 @@ public void testTagletArtifacts()
assertThat( optionsFile ).exists();
String options = readFile( optionsFile );
// count -taglet
assertThat( StringUtils.countMatches( options, LINE_SEPARATOR + "-taglet" + LINE_SEPARATOR ) ).isEqualTo( 22 );
assertThat( options ).contains( "org.apache.maven.tools.plugin.javadoc.MojoAggregatorTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoComponentFieldTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoConfiguratorTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoExecuteTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoExecutionStrategyTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoGoalTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoInheritByDefaultTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoInstantiationStrategyTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoParameterFieldTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoPhaseTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoReadOnlyFieldTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoRequiredFieldTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoRequiresDependencyResolutionTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoRequiresDirectInvocationTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoRequiresOnLineTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoRequiresProjectTypeTaglet" )
.contains( "org.apache.maven.tools.plugin.javadoc.MojoRequiresReportsTypeTaglet" )
assertThat( StringUtils.countMatches( options, LINE_SEPARATOR + "-taglet" + LINE_SEPARATOR ) ).isEqualTo( 3 );
assertThat( options )
.contains( "org.codehaus.plexus.javadoc.PlexusConfigurationTaglet" )
.contains( "org.codehaus.plexus.javadoc.PlexusRequirementTaglet" )
.contains( "org.codehaus.plexus.javadoc.PlexusComponentTaglet" );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ under the License.
<debug>true</debug>
<failOnError>true</failOnError>
<tagletArtifacts>
<tagletArtifact>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-javadoc</artifactId>
<version>3.5</version>
</tagletArtifact>
<tagletArtifact>
<groupId>org.codehaus.plexus</groupId>
<artifactId>plexus-javadoc</artifactId>
Expand Down

0 comments on commit b373c6c

Please # to comment.