-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: missing common transitive dependencies
Signed-off-by: Ruben Romero Montes <[email protected]>
- Loading branch information
Showing
5 changed files
with
258 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
...anifests/maven/pom_deps_with_no_ignore_common_paths/component_analysis_expected_sbom.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
{ | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.4", | ||
"version": 1, | ||
"metadata": { | ||
"timestamp": "2023-09-01T15:54:21.462Z", | ||
"component": { | ||
"group": "pom-with-deps-no-ignore", | ||
"name": "pom-with-dependency-not-ignored-for-tests", | ||
"version": "0.0.1", | ||
"purl": "pkg:maven/pom-with-deps-no-ignore/[email protected]", | ||
"type": "application", | ||
"bom-ref": "pkg:maven/pom-with-deps-no-ignore/[email protected]" | ||
} | ||
}, | ||
"components": [ | ||
{ | ||
"group": "pom-with-deps-no-ignore", | ||
"name": "pom-with-dependency-not-ignored-for-tests", | ||
"version": "0.0.1", | ||
"purl": "pkg:maven/pom-with-deps-no-ignore/[email protected]", | ||
"type": "application", | ||
"bom-ref": "pkg:maven/pom-with-deps-no-ignore/[email protected]" | ||
}, | ||
{ | ||
"group": "com.fasterxml.jackson.core", | ||
"name": "jackson-databind", | ||
"version": "2.14.1", | ||
"purl": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"type": "library", | ||
"bom-ref": "pkg:maven/com.fasterxml.jackson.core/[email protected]" | ||
}, | ||
{ | ||
"group": "org.infinispan.protostream", | ||
"name": "protostream", | ||
"version": "4.6.4.Final", | ||
"purl": "pkg:maven/org.infinispan.protostream/[email protected]", | ||
"type": "library", | ||
"bom-ref": "pkg:maven/org.infinispan.protostream/[email protected]" | ||
} | ||
], | ||
"dependencies": [ | ||
{ | ||
"ref": "pkg:maven/pom-with-deps-no-ignore/[email protected]", | ||
"dependsOn": [ | ||
"pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"pkg:maven/org.infinispan.protostream/[email protected]" | ||
] | ||
}, | ||
{ | ||
"ref": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"dependsOn": [] | ||
}, | ||
{ | ||
"ref": "pkg:maven/org.infinispan.protostream/[email protected]", | ||
"dependsOn": [] | ||
} | ||
] | ||
} |
21 changes: 21 additions & 0 deletions
21
test/providers/tst_manifests/maven/pom_deps_with_no_ignore_common_paths/pom.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>pom-with-deps-no-ignore</groupId> | ||
<artifactId>pom-with-dependency-not-ignored-for-tests</artifactId> | ||
<version>0.0.1</version> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.fasterxml.jackson.core</groupId> | ||
<artifactId>jackson-databind</artifactId> | ||
<version>2.14.1</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.infinispan.protostream</groupId> | ||
<artifactId>protostream</artifactId> | ||
<version>4.6.4.Final</version> | ||
</dependency> | ||
</dependencies> | ||
</project> |
127 changes: 127 additions & 0 deletions
127
...st_manifests/maven/pom_deps_with_no_ignore_common_paths/stack_analysis_expected_sbom.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,127 @@ | ||
{ | ||
"bomFormat": "CycloneDX", | ||
"specVersion": "1.4", | ||
"version": 1, | ||
"metadata": { | ||
"timestamp": "2023-09-01T15:54:21.462Z", | ||
"component": { | ||
"group": "pom-with-deps-no-ignore", | ||
"name": "pom-with-dependency-not-ignored-for-tests", | ||
"version": "0.0.1", | ||
"purl": "pkg:maven/pom-with-deps-no-ignore/[email protected]", | ||
"type": "application", | ||
"bom-ref": "pkg:maven/pom-with-deps-no-ignore/[email protected]" | ||
} | ||
}, | ||
"components": [ | ||
{ | ||
"group": "pom-with-deps-no-ignore", | ||
"name": "pom-with-dependency-not-ignored-for-tests", | ||
"version": "0.0.1", | ||
"purl": "pkg:maven/pom-with-deps-no-ignore/[email protected]", | ||
"type": "application", | ||
"bom-ref": "pkg:maven/pom-with-deps-no-ignore/[email protected]" | ||
}, | ||
{ | ||
"group": "com.fasterxml.jackson.core", | ||
"name": "jackson-databind", | ||
"version": "2.14.1", | ||
"purl": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"type": "library", | ||
"bom-ref": "pkg:maven/com.fasterxml.jackson.core/[email protected]" | ||
}, | ||
{ | ||
"group": "com.fasterxml.jackson.core", | ||
"name": "jackson-annotations", | ||
"version": "2.14.1", | ||
"purl": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"type": "library", | ||
"bom-ref": "pkg:maven/com.fasterxml.jackson.core/[email protected]" | ||
}, | ||
{ | ||
"group": "com.fasterxml.jackson.core", | ||
"name": "jackson-core", | ||
"version": "2.14.1", | ||
"purl": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"type": "library", | ||
"bom-ref": "pkg:maven/com.fasterxml.jackson.core/[email protected]" | ||
}, | ||
{ | ||
"group": "org.infinispan.protostream", | ||
"name": "protostream", | ||
"version": "4.6.4.Final", | ||
"purl": "pkg:maven/org.infinispan.protostream/[email protected]", | ||
"type": "library", | ||
"bom-ref": "pkg:maven/org.infinispan.protostream/[email protected]" | ||
}, | ||
{ | ||
"group": "org.jboss.logging", | ||
"name": "jboss-logging", | ||
"version": "3.5.0.Final", | ||
"purl": "pkg:maven/org.jboss.logging/[email protected]", | ||
"type": "library", | ||
"bom-ref": "pkg:maven/org.jboss.logging/[email protected]" | ||
}, | ||
{ | ||
"group": "com.squareup", | ||
"name": "protoparser", | ||
"version": "4.0.3", | ||
"purl": "pkg:maven/com.squareup/[email protected]", | ||
"type": "library", | ||
"bom-ref": "pkg:maven/com.squareup/[email protected]" | ||
}, | ||
{ | ||
"group": "org.javassist", | ||
"name": "javassist", | ||
"version": "3.29.1-GA", | ||
"purl": "pkg:maven/org.javassist/[email protected]", | ||
"type": "library", | ||
"bom-ref": "pkg:maven/org.javassist/[email protected]" | ||
} | ||
], | ||
"dependencies": [ | ||
{ | ||
"ref": "pkg:maven/pom-with-deps-no-ignore/[email protected]", | ||
"dependsOn": [ | ||
"pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"pkg:maven/org.infinispan.protostream/[email protected]" | ||
] | ||
}, | ||
{ | ||
"ref": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"dependsOn": [ | ||
"pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"pkg:maven/com.fasterxml.jackson.core/[email protected]" | ||
] | ||
}, | ||
{ | ||
"ref": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"dependsOn": [] | ||
}, | ||
{ | ||
"ref": "pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"dependsOn": [] | ||
}, | ||
{ | ||
"ref": "pkg:maven/org.infinispan.protostream/[email protected]", | ||
"dependsOn": [ | ||
"pkg:maven/org.jboss.logging/[email protected]", | ||
"pkg:maven/com.squareup/[email protected]", | ||
"pkg:maven/com.fasterxml.jackson.core/[email protected]", | ||
"pkg:maven/org.javassist/[email protected]" | ||
] | ||
}, | ||
{ | ||
"ref": "pkg:maven/org.jboss.logging/[email protected]", | ||
"dependsOn": [] | ||
}, | ||
{ | ||
"ref": "pkg:maven/com.squareup/[email protected]", | ||
"dependsOn": [] | ||
}, | ||
{ | ||
"ref": "pkg:maven/org.javassist/[email protected]", | ||
"dependsOn": [] | ||
} | ||
] | ||
} |