GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [MCHECKSTYLE-445] Upgrade to Doxia 2.0.0 Milestone Stack · apache/maven-checkstyle-plugin@0e7bd00

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • pom.xml
  • src
    • it
      • MCHECKSTYLE-222-resources
        • verify.groovy
      • MCHECKSTYLE-222-testResources
        • verify.groovy
      • MCHECKSTYLE-338
        • verify.groovy
      • MCHECKSTYLE-412/src/main/java/org
        • MyClass.java
      • MCHECKSTYLE-99-custom-xref-test-location
        • verify.groovy
      • MCHECKSTYLE-99
        • verify.groovy
      • checkstyle-goal
        • verify.groovy
    • main/java/org/apache/maven/plugins/checkstyle
      • AbstractCheckstyleReport.java
      • CheckstyleAggregateReport.java
      • CheckstyleReport.java
    • test
      • java/org/apache/maven/plugins/checkstyle
        • AbstractCheckstyleTestCase.java
        • CheckstyleReportTest.java
        • stubs
          • CheckstyleProjectStub.java
          • MinMavenProjectStub.java
          • ModuleMavenProjectStub.java
          • MultiMavenProjectStub.java
      • resources/plugin-configs
        • custom-plugin-config.xml
        • dep-resolution-exception-plugin-config.xml
        • min-plugin-config.xml
        • no-files-plugin-config.xml
        • no-rules-plugin-config.xml
        • no-severity-plugin-config.xml
        • test-source-directory-plugin-config.xml
        • useFile-plugin-config.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎pom.xml‎

Copy file name to clipboardExpand all lines: pom.xml
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ under the License.
7878
<resolverVersion>1.4.1</resolverVersion>
7979
<checkstyleVersion>9.3</checkstyleVersion>
8080
<slf4jVersion>1.7.36</slf4jVersion>
81-
<doxiaVersion>1.11.1</doxiaVersion>
82-
<doxiaSitetoolsVersion>1.11.1</doxiaSitetoolsVersion>
83-
<sitePluginVersion>3.12.1</sitePluginVersion>
84-
<jxrPluginVersion>3.3.0</jxrPluginVersion>
81+
<doxiaVersion>2.0.0-M12</doxiaVersion>
82+
<doxiaSitetoolsVersion>2.0.0-M19</doxiaSitetoolsVersion>
83+
<sitePluginVersion>3.20.0</sitePluginVersion>
84+
<jxrPluginVersion>3.4.0</jxrPluginVersion>
8585
<project.build.outputTimestamp>2024-06-02T14:45:45Z</project.build.outputTimestamp>
8686
</properties>
8787

@@ -132,12 +132,12 @@ under the License.
132132
<dependency>
133133
<groupId>org.apache.maven.reporting</groupId>
134134
<artifactId>maven-reporting-api</artifactId>
135-
<version>3.1.1</version>
135+
<version>4.0.0-M12</version>
136136
</dependency>
137137
<dependency>
138138
<groupId>org.apache.maven.reporting</groupId>
139139
<artifactId>maven-reporting-impl</artifactId>
140-
<version>3.2.0</version>
140+
<version>4.0.0-M15</version>
141141
</dependency>
142142

143143
<!-- doxia -->
Collapse file

‎src/it/MCHECKSTYLE-222-resources/verify.groovy‎

Copy file name to clipboardExpand all lines: src/it/MCHECKSTYLE-222-resources/verify.groovy
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
* under the License.
1818
*/
1919

20-
assert new File(basedir, 'target/site/checkstyle.html').exists();
20+
assert new File(basedir, 'target/reports/checkstyle.html').exists();
2121

2222
return true;
Collapse file

‎src/it/MCHECKSTYLE-222-testResources/verify.groovy‎

Copy file name to clipboardExpand all lines: src/it/MCHECKSTYLE-222-testResources/verify.groovy
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
* under the License.
1818
*/
1919

20-
assert new File(basedir, 'target/site/checkstyle.html').exists();
20+
assert new File(basedir, 'target/reports/checkstyle.html').exists();
2121

2222
return true;
Collapse file

‎src/it/MCHECKSTYLE-338/verify.groovy‎

Copy file name to clipboardExpand all lines: src/it/MCHECKSTYLE-338/verify.groovy
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ assert buildLog.text.contains( 'EmptyLogging: EmptyLoggingCheck on file TestFals
2525
assert !buildLog.text.contains( 'EmptyLogging: EmptyLoggingCheck on file TestTrue.java' )
2626

2727
// verify that the "checkstyle" goal does the same
28-
site = new File( basedir, 'omitignoredmodules-false/target/site/checkstyle.html' )
28+
site = new File( basedir, 'omitignoredmodules-false/target/reports/checkstyle.html' )
2929
assert site.text.contains( 'EmptyLoggingCheck on file TestFalse.java' )
30-
site = new File( basedir, 'omitignoredmodules-true/target/site/checkstyle.html' )
30+
site = new File( basedir, 'omitignoredmodules-true/target/reports/checkstyle.html' )
3131
assert !site.text.contains( 'EmptyLoggingCheck on file TestTrue.java' )
Collapse file

‎src/it/MCHECKSTYLE-412/src/main/java/org/MyClass.java‎

Copy file name to clipboardExpand all lines: src/it/MCHECKSTYLE-412/src/main/java/org/MyClass.java
-26Lines changed: 0 additions & 26 deletions
This file was deleted.
Collapse file

‎src/it/MCHECKSTYLE-99-custom-xref-test-location/verify.groovy‎

Copy file name to clipboardExpand all lines: src/it/MCHECKSTYLE-99-custom-xref-test-location/verify.groovy
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
* under the License.
1919
*/
2020

21-
site = new File( basedir, 'target/site/checkstyle.html' )
22-
assert site.exists();
23-
assert site.text.contains( '<a href="./xref/com/example/App.html#L26">' )
24-
assert site.text.contains( '<a href="./custom-xref-test-location/com/example/AppTest.html#L32">' )
21+
report = new File( basedir, 'target/reports/checkstyle.html' )
22+
assert report.exists();
23+
assert report.text.contains( '<a href="./xref/com/example/App.html#L26">' )
24+
assert report.text.contains( '<a href="./custom-xref-test-location/com/example/AppTest.html#L32">' )
2525

2626
return true;
Collapse file

‎src/it/MCHECKSTYLE-99/verify.groovy‎

Copy file name to clipboardExpand all lines: src/it/MCHECKSTYLE-99/verify.groovy
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
* under the License.
1919
*/
2020

21-
site = new File( basedir, 'target/site/checkstyle.html' )
22-
assert site.exists();
23-
assert site.text.contains( '<a href="./xref/com/example/App.html#L26">' )
24-
assert site.text.contains( '<a href="./xref-test/com/example/AppTest.html#L32">' )
21+
report = new File( basedir, 'target/reports/checkstyle.html' )
22+
assert report.exists();
23+
assert report.text.contains( '<a href="./xref/com/example/App.html#L26">' )
24+
assert report.text.contains( '<a href="./xref-test/com/example/AppTest.html#L32">' )
2525

2626
return true;
Collapse file

‎src/it/checkstyle-goal/verify.groovy‎

Copy file name to clipboardExpand all lines: src/it/checkstyle-goal/verify.groovy
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ assert new File( basedir, 'target/checkstyle-checker.xml' ).exists();
2424
assert new File( basedir, 'target/checkstyle-header.txt' ).exists();
2525
assert new File( basedir, 'target/checkstyle-result.xml' ).exists();
2626

27-
def html = new File( basedir, 'target/site/checkstyle.html' ).text;
27+
def html = new File( basedir, 'target/reports/checkstyle.html' ).text;
2828
assert html.contains( '<meta charset="UTF-8" />' );
2929

3030
return true;
Collapse file

‎src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java‎

Copy file name to clipboardExpand all lines: src/main/java/org/apache/maven/plugins/checkstyle/AbstractCheckstyleReport.java
+9Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
import org.apache.maven.plugins.checkstyle.exec.CheckstyleExecutorException;
5151
import org.apache.maven.plugins.checkstyle.exec.CheckstyleExecutorRequest;
5252
import org.apache.maven.plugins.checkstyle.exec.CheckstyleResults;
53+
import org.apache.maven.project.MavenProject;
5354
import org.apache.maven.reporting.AbstractMavenReport;
5455
import org.apache.maven.reporting.MavenReportException;
5556
import org.codehaus.plexus.configuration.PlexusConfiguration;
@@ -474,6 +475,14 @@ protected String getI18nString(Locale locale, String key) {
474475
return i18n.getString("checkstyle-report", locale, "report.checkstyle." + key);
475476
}
476477

478+
protected MavenProject getProject() {
479+
return project;
480+
}
481+
482+
protected List<MavenProject> getReactorProjects() {
483+
return reactorProjects;
484+
}
485+
477486
/** {@inheritDoc} */
478487
public void executeReport(Locale locale) throws MavenReportException {
479488
checkDeprecatedParameterUsage(sourceDirectory, "sourceDirectory", "sourceDirectories");
Collapse file

‎src/main/java/org/apache/maven/plugins/checkstyle/CheckstyleAggregateReport.java‎

Copy file name to clipboardExpand all lines: src/main/java/org/apache/maven/plugins/checkstyle/CheckstyleAggregateReport.java
-17Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,9 @@
1818
*/
1919
package org.apache.maven.plugins.checkstyle;
2020

21-
import java.util.List;
22-
2321
import org.apache.maven.plugins.annotations.Mojo;
24-
import org.apache.maven.plugins.annotations.Parameter;
2522
import org.apache.maven.plugins.annotations.ResolutionScope;
2623
import org.apache.maven.plugins.checkstyle.exec.CheckstyleExecutorRequest;
27-
import org.apache.maven.project.MavenProject;
2824
import org.apache.maven.reporting.MavenReportException;
2925

3026
/**
@@ -40,19 +36,6 @@
4036
requiresDependencyResolution = ResolutionScope.COMPILE,
4137
threadSafe = true)
4238
public class CheckstyleAggregateReport extends AbstractCheckstyleReport {
43-
/**
44-
* The projects in the reactor for aggregation report.
45-
*
46-
* @since 2.8
47-
*/
48-
@Parameter(property = "reactorProjects", readonly = true)
49-
private List<MavenProject> reactorProjects;
50-
51-
/** {@inheritDoc} */
52-
protected MavenProject getProject() {
53-
return project;
54-
}
55-
5639
/**
5740
* {@inheritDoc}
5841
*/

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.