Skip to content
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

MPLUGIN-511 add plugin requirements history detection #269

Merged
merged 2 commits into from Mar 16, 2024
Merged

Conversation

hboutemy
Copy link
Member

@hboutemy hboutemy commented Mar 6, 2024

No description provided.

@@ -93,6 +110,9 @@ public class PluginReport extends AbstractMavenReport {
@Parameter
private List<RequirementsHistory> requirementsHistories = new ArrayList<>();

@Parameter(defaultValue = "[0,)")
private String detectRequirementsHistory;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The naming includes to be boolean, but is string. Weird.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, it looked strange, but I did not precisely see why :)
renamed to requirementsHistoryDetectRange

MavenProject versionProject = buildMavenProject(v);
RequirementsHistory requirements = RequirementsHistory.discoverRequirements(versionProject);
requirementsHistories.add(requirements);
getLog().info("- " + requirements);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be indented

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you prefer: added 2 spaces

* @since 3.12.0
*/
@Parameter(defaultValue = "[0,)")
private String requirementsHistoryDetectRange;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

requirementsHistoryDetectionRange

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@hboutemy hboutemy merged commit cd74761 into master Mar 16, 2024
3 of 4 checks passed
@hboutemy hboutemy deleted the MPLUGIN-511-2 branch March 16, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants