Skip to content

Commit

Permalink
[MSHARED-844] Upgrade Doxia API to 1.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
slachiewicz committed Dec 12, 2021
1 parent c3e3dd5 commit c45966d
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 5 deletions.
24 changes: 23 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,33 @@ under the License.
<project.build.outputTimestamp>2020-04-04T09:03:59Z</project.build.outputTimestamp>
</properties>

<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.3.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>3.1.2</version>
</plugin>
</plugins>
</pluginManagement>
</build>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-sink-api</artifactId>
<version>1.9.1</version>
<version>1.11.1</version>
<exclusions>
<exclusion>
<artifactId>plexus-container-default</artifactId>
<groupId>org.codehaus.plexus</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@
public interface MavenMultiPageReport
extends MavenReport
{
/**
* Generate multi page report.
*
* @param sink The sink to write to.
* @param locale The locale to use.
* @throws MavenReportException if an error occurs.
*/
void generate( Sink sink, SinkFactory sinkFactory, Locale locale )
throws MavenReportException;
}
8 changes: 4 additions & 4 deletions src/main/java/org/apache/maven/reporting/MavenReport.java
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,16 @@ void generate( Sink sink, Locale locale )
* An external report is a report which calls a third party program which generates some reports too.
* A good example is javadoc tool.
*
* @return <tt>true</tt> if this report is external, <tt>false</tt> otherwise.
* Default should be <tt>false</tt>.
* @return {@code true} if this report is external, {@code false} otherwise.
* Default should be {@code false}.
*/
boolean isExternalReport();

/**
* Verify some conditions before generate the report.
*
* @return <tt>true</tt> if this report could be generated, <tt>false</tt> otherwise.
* Default should be <tt>true</tt>.
* @return {@code true} if this report could be generated, {@code false} otherwise.
* Default should be {@code true}.
*/
boolean canGenerateReport();
}

0 comments on commit c45966d

Please sign in to comment.