Skip to content
Permalink
Browse files

[JENKINS-43094] fix default values on the web configuration page of t…

…he Dependencies Fingerprint Publisher
  • Loading branch information
Cyrille Le Clerc
Cyrille Le Clerc committed Jun 14, 2017
1 parent 74ccdec commit 88ca34c1a685f29e5a16d7e23a372bf1f2fc5596
@@ -45,7 +45,7 @@

private boolean includeScopeCompile = true;

private boolean includeScopeRuntime;
private boolean includeScopeRuntime = true;

private boolean includeScopeTest;

@@ -170,6 +170,14 @@ public void process(@Nonnull StepContext context, @Nonnull Element mavenSpyLogsE
}
}

@Override
public String toString() {
return getClass().getName() + "[" +
"disabled=" + isDisabled() + ", " +
"scopes=" + getIncludedScopes() + ", " +
"versions={snapshot:" + isIncludeSnapshotVersions() + ", release:" + isIncludeReleaseVersions() + "}" +
']';
}
/**
* @param mavenSpyLogs Root XML element
* @return list of {@link MavenSpyLogProcessor.MavenArtifact}
@@ -29,14 +29,14 @@ THE SOFTWARE.
<st:include page="maven-publisher" class="${descriptor.clazz}"/>
<f:section title="Dependencies filtering">
<f:entry title="${%Include versions}">
<f:checkbox title="${%Snapshots}" field="includeSnapshotVersions"/>
<f:checkbox title="${%Snapshots}" field="includeSnapshotVersions" default="true"/>
<f:checkbox title="${%Releases}" field="includeReleaseVersions"/>
</f:entry>

<f:entry title="${%Include Scopes}">
<f:checkbox title="${%Compile}" field="includeScopeCompile"/>
<f:checkbox title="${%Runtime}" field="includeScopeRuntime"/>
<f:checkbox title="${%Provided}" field="includeScopeProvided"/>
<f:checkbox title="${%Compile}" field="includeScopeCompile" default="true"/>
<f:checkbox title="${%Runtime}" field="includeScopeRuntime" default="true"/>
<f:checkbox title="${%Provided}" field="includeScopeProvided" default="true"/>
<f:checkbox title="${%Test}" field="includeScopeTest"/>
</f:entry>
</f:section>

0 comments on commit 88ca34c

Please sign in to comment.
You can’t perform that action at this time.