Skip to content

Releases: sonatype-nexus-community/scan-gradle-plugin

2.8.2 Avoid failing when OSS Index reports vulnerabilities

09 May 23:38
Compare
Choose a tag to compare

What's Changed

Using the new property failOnDetection for ossIndexAudit it's now possible to avoid failing the Gradle task when finding vulnerabilities so users with their own tools can further process the output with components and vulnerabilities (for instance using the CycloneDX standard format).

ossIndexAudit {
    failOnDetection = false
}

New Contributors

Full Changelog: 2.8.1...2.8.2

2.8.1 Upgrade to safe version of JGit

26 Apr 15:35
Compare
Choose a tag to compare

What's Changed

No actions/changes required by anyone already using this plugin.

Full Changelog: 2.8.0...2.8.1

2.8.0 Exclude compileOnly dependencies

26 Apr 14:07
Compare
Choose a tag to compare

What's Changed

excludeCompileOnly allows this plugin to behave in a similar way as Sonatype CLM for Maven (since compileOnly is an equivalent of the provided scope on Maven):

ossIndexAudit {
  excludeCompileOnly = true
}

nexusIQScan {
  excludeCompileOnly = true
}

Full Changelog: 2.7.0...2.8.0

2.7.0 Allows to set additional scan targets for IQ evaluations

19 Jan 22:10
Compare
Choose a tag to compare

What's Changed

Configure your additional targets as paths or Ant-like patterns for relative paths (to the project's folder) to select the files to be scanned and evaluated using the new scanTargets property.

For example:

nexusIQScan {
    username = 'admin'
    password = 'pass'
    serverUrl = 'http://localhost:8070'
    applicationId = 'app'
    scanTargets = ['package-lock.json', '**/*.lock']
}

Full Changelog: 2.6.2...2.7.0

Introducing Legacy Violations

22 Dec 01:17
Compare
Choose a tag to compare

As part of our inclusive language initiatives stemming from our core values "Embrace Inclusion", we are renaming the feature previously known as Policy Violation Grandfathering to Legacy Violations.

See more at https://help.sonatype.com/iqserver/product-information/release-notes#ReleaseNotes-EmbracingInclusionwithLegacyViolations

Avoid failing due to cache configuration

14 Sep 23:01
9a016cf
Compare
Choose a tag to compare

Fixes #140 so the task will not fail anymore due to cache configuration, only gets a warning message.

Variant Selection With Custom Attributes

21 Jan 00:07
Compare
Choose a tag to compare

What's Changed

A new property variantAttributes was added to set attributes which allow to select the right variant in the case of having multiple release variants.

Full details at: https://github.com/sonatype-nexus-community/scan-gradle-plugin#how-to-deal-with-multiple-release-variants

Full Changelog: 2.5.4...2.5.5

Proper selection of "release" variant in Android projects

23 Dec 19:36
Compare
Choose a tag to compare

What's Changed

The plugin now makes a proper selection of the "release" variant for Android projects when there is a dependency on a module with multiple variants: #132

Full Changelog: 2.5.3...2.5.4

Parent modules for Nexus IQ

24 Oct 16:19
Compare
Choose a tag to compare

Thanks to @mealingr the modules XML file generated for Nexus IQ will include the right ID for the parent module for multi-module projects: #129

Automatic Applications in Nexus IQ Server

21 Oct 16:34
Compare
Choose a tag to compare

Previously, we were creating applications manually in Nexus IQ Server using a given Organization ID via REST calls.

Now the Automatic Applications feature allows to send an Organization ID different to the one configured as "Parent Organization".

This means, customers who want to automatically create applications set in this plugin can enable the Automatic Applications feature in IQ, select any organization as parent while setting any organizationId needed when configuring the nexusIQScan task.