Skip to content

[MSHARED-1327] Change default value of output directory in AbstractMavenReport #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/it/use-as-direct-mojo-markup/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

File outputDir = new File( basedir, 'target/site/' )
File outputDir = new File( basedir, 'target/reports/' )

File f = new File( outputDir, 'custom-report.xdoc' );
assert f.exists();
Expand Down
2 changes: 1 addition & 1 deletion src/it/use-as-direct-mojo/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
* under the License.
*/

File outputDir = new File( basedir, 'target/site/' )
File outputDir = new File( basedir, 'target/reports/' )

File f = new File( outputDir, 'custom-report.html' );
assert f.exists();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public abstract class AbstractMavenReport extends AbstractMojo implements MavenM
* user-defined mojo parameter with a default value) to generate multi-page reports or external reports with the
* main output file (entry point) denoted by {@link #getOutputName()}.
*/
@Parameter(defaultValue = "${project.reporting.outputDirectory}", readonly = true, required = true)
@Parameter(defaultValue = "${project.build.directory}/reports", readonly = true, required = true)
protected File outputDirectory;

/**
Expand Down