Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix strongbox-npm-metadata-jackson Windows build error #1932

Closed
4 tasks done
AricMonary opened this issue Oct 23, 2020 · 0 comments · Fixed by strongbox/strongbox-parent#119
Closed
4 tasks done

Fix strongbox-npm-metadata-jackson Windows build error #1932

AricMonary opened this issue Oct 23, 2020 · 0 comments · Fixed by strongbox/strongbox-parent#119
Assignees
Labels
hacktoberfest Pre-selected issues for Hacktoberfest

Comments

@AricMonary
Copy link

AricMonary commented Oct 23, 2020

Task Description

The strongbox-npm-metadata project was configured to build only using Linux while the strongbox builds on both Linux and Windows. As a result, the Windows build fails upon integrating strongbox-npm-metadata into strongbox from #1917. The build error on Windows is not caused by a recent upgrade of the jsonschema2pojo plugin from 0.5.1 to 1.0.2 in strongbox/strongbox-parent#111.

Build Error Log

[ERROR] Failed to execute goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.5.1:generate (default) on project strongbox-npm-metadata-jackson: Execution default of goal org.jsonschema2pojo:jsonschema2pojo-maven-plugin:0.5.1:generate failed: Unrecognised URI, can't resolve this: file://C:Usersaric_DesktopStrongboxstrongboxstrongbox-storagestrongbox-storage-layout-providersstrongbox-storage-npm-layoutstrongbox-storage-npm-metadata-apistrongbox-npm-metadata-jackson/target/generated-resources/META-INF/common.schema.json: For input string: "Usersaric_DesktopStrongboxstrongboxstrongbox-storagestrongbox-storage-layout-providersstrongbox-storage-npm-layoutstrongbox-storage-npm-metadata-apistrongbox-npm-metadata-jackson" -> [Help 1]

Pre-requisites

  • You must be able to build on Windows.

Tasks

The following tasks will need to be carried out:

  • Investigate the cause of the build error on windows.
  • Implement fix for build error.
  • Test the build on both Linux and Windows

Task Relationships

This task:

Help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Pre-selected issues for Hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants