Skip to content

Commit

Permalink
The attribute downloadLocation is null when no information cannot be …
Browse files Browse the repository at this point in the history
…retrieved
  • Loading branch information
rogelio-o authored and goneall committed Jan 19, 2024
1 parent fad39c1 commit deb7f81
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ private SpdxElement createSpdxPackage( Artifact artifact,
.setComment( "This package was created for a Maven dependency. No SPDX or license information could be found in the Maven POM file." )
.setVersionInfo( artifact.getBaseVersion() )
.setFilesAnalyzed( false )
.setDownloadLocation( "NOASSERTION" )
.build();
return pkg;
}
Expand Down

0 comments on commit deb7f81

Please sign in to comment.