Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[JENKINS-43094] fix default values on the web configuration page of t…
…he Dependencies Fingerprint Publisher
- Loading branch information
|
@@ -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> |
|
|