Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add repotest for repos without broken mvn wrapper
; ../cdxgen/bin/cdxgen.js -p Executing '/Users/neo/contrib/appthreat/broken-mvn-wrapper/gs-spring-boot-main/complete/mvnw org.cyclonedx:cyclonedx-maven-plugin:2.7.10:makeAggregateBom -DoutputName=bom -DincludeTestScope=true -q' in /Users/neo/contrib/appthreat/broken-mvn-wrapper/gs-spring-boot-main/complete Fallback to executing /Users/neo/contrib/appthreat/broken-mvn-wrapper/gs-spring-boot-main/complete/mvnw dependency:tree -DoutputFile=/var/folders/l1/tbpy9vkn2151gnkf324c1bdm0000gr/T/cdxmvn-6HUFz0/mvn-tree.txt /Users/neo/contrib/appthreat/broken-mvn-wrapper/gs-spring-boot-main/complete/mvnw: line 1: unexpected EOF while looking for matching `'' /Users/neo/contrib/appthreat/broken-mvn-wrapper/gs-spring-boot-main/complete/mvnw: line 2: syntax error: unexpected end of file Resolve the above maven error. This could be due to the following: 1. Java version requirement: cdxgen container image bundles Java 20 with maven 3.9 which might be incompatible. 2. Private dependencies cannot be downloaded: Check if any additional arguments must be passed to maven and set them via MVN_ARGS environment variable. 3. Check if all required environment variables including any maven profile arguments are passed correctly to this tool. Falling back to manual pom.xml parsing. The result would be incomplete! ╔═══════════════════════════╤═════════════════════════════════════╤═══════════════════════════╤═════════════════╗ ║ Group │ Name │ Version │ Scope ║ ╚═══════════════════════════╧═════════════════════════════════════╧═══════════════════════════╧═════════════════╝ BOM includes 0 components and 0 dependencies ; (cd ../cdxgen; gh pr checkout 726) Previous HEAD position was 23a4902 Bump version Switched to branch 'master' Your branch is ahead of 'origin/master' by 1 commit. (use "git push" to publish your local commits) Already up to date. ../cdxgen/bin/cdxgen.js -p Executing 'mvn org.cyclonedx:cyclonedx-maven-plugin:2.7.10:makeAggregateBom -DoutputName=bom -DincludeTestScope=true -q' in /Users/neo/contrib/appthreat/broken-mvn-wrapper/gs-spring-boot-main/complete pkg:maven/com.example/[email protected]?type=jar ├── pkg:maven/org.springframework.boot/[email protected]?type=jar │ ├── pkg:maven/io.micrometer/[email protected]?type=jar │ │ ├── pkg:maven/io.micrometer/[email protected]?type=jar │ │ ├── pkg:maven/io.micrometer/[email protected]?type=jar └───└───└───└── pkg:maven/io.micrometer/[email protected]?type=jar │ │ ├── pkg:maven/org.hdrhistogram/[email protected]?type=jar └───└───└── pkg:maven/org.latencyutils/[email protected]?type=jar │ ├── pkg:maven/io.micrometer/[email protected]?type=jar Signed-off-by: Hritik Vijay <[email protected]>
- Loading branch information