Issues building BTVA on Windows #635
Labels
area/maven
Relates to maven changes
kind/bug
Something isn't working
os/windows
triage/needed
Needs to be discussed by project maintainers
Description
Building BTVA on Windows fails due to an error in maven license plugin not accepting backslashes in project base path (see screenshot)
Steps to Reproduce
Follow the steps from the How to build section of the README.
The error occurs on executing the first maven command:
Preconditions: [What are the preconditions to reproduce the issue]
Expected behavior: [What you expect to happen]
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce]
Component/s: [What are the Build Tools for VMware Aria components affected by the issue (e.g. "common/artifact-manager", "maven/plugins/vra-ng", "typescript/vrotest", etc)]
Affects Build/s: [Which are the Build Tools for VMware Aria releases / builds affected by the issue]
Environment
Client
Dependencies
Run:
curl -o- https://raw.githubusercontent.com/vmware/build-tools-for-vmware-aria/main/health.sh | bash
and paste the output here:curl -o- https://raw.githubusercontent.com/vmware/build-tools-for-vmware-aria/main/health.sh | bash
Server
Failure Logs
Related issues and PRs
Additional Context
The error does not appear when the main pom.xml is edited to replace
<licenseResolver>file:${main.basedir}/licenses</licenseResolver>
with a specific path with forward slashes ('/') instead of backslashes, e.g:
<licenseResolver>file:C:/DEV/Github/btva/build-tools-for-vmware-aria/licenses</licenseResolver>
However another issue occurs - on executing
mvn clean install -f pom.xml
, there is a test failure for "Check empty vro action inside js files", possibly due to the way paths are generated in the test:https://github.com/vmware/build-tools-for-vmware-aria/blob/main/typescript/vropkg/e2e/src/comments.ts
The text was updated successfully, but these errors were encountered: