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

Mojo config field names #9

Merged
merged 1 commit into from
Aug 10, 2020
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 plugin-maven/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (project.rootProject.file('local.properties').exists()) {
siteUrl = 'https://github.com/iwillfailyou/java-plugin-maven'
gitUrl = 'https://github.com/iwillfailyou/java-plugin-maven.git'

libraryVersion = '0.4.0'
libraryVersion = '0.4.1'

developerId = 'nikialeksey'
developerName = 'Alexey Nikitin'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ public final class IwillfailyouMojo extends AbstractMojo {
@Parameter(readonly = true)
@Nullable
@SuppressWarnings("allfinal")
private SetterFreeSettings setterFree;
private SetterFreeSettings setterfree;
@Parameter(readonly = true)
@Nullable
@SuppressWarnings("allfinal")
private NoMultipleReturnSettings noMultipleReturn;
private NoMultipleReturnSettings nomultiplereturn;

@Override
public void execute() throws MojoExecutionException {
Expand All @@ -82,20 +82,20 @@ public void execute() throws MojoExecutionException {
if (allpublic == null) {
allpublic = new AllpublicSettings();
}
if (setterFree == null) {
setterFree = new SetterFreeSettings();
if (setterfree == null) {
setterfree = new SetterFreeSettings();
}
if (noMultipleReturn == null) {
noMultipleReturn = new NoMultipleReturnSettings();
if (nomultiplereturn == null) {
nomultiplereturn = new NoMultipleReturnSettings();
}

final List<InspectionSettings> inspectionSettings = new ListOf<>(
nullfree,
staticfree,
allfinal,
allpublic,
setterFree,
noMultipleReturn
setterfree,
nomultiplereturn
);

for (final InspectionSettings inspectionSetting : inspectionSettings) {
Expand Down
2 changes: 1 addition & 1 deletion plugin-maven/src/main/resources/META-INF/maven/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<description>Iwillfailyou - is the plugin for failing not elegant projects</description>
<groupId>com.iwillfailyou</groupId>
<artifactId>iwillfailyou-maven-plugin</artifactId>
<version>0.4.0</version>
<version>0.4.1</version>
<goalPrefix>iwillfailyou</goalPrefix>
<inheritedByDefault>true</inheritedByDefault>
<mojos>
Expand Down