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

Build error on macOS #28

Open
jjhugues opened this issue Aug 21, 2019 · 1 comment
Open

Build error on macOS #28

jjhugues opened this issue Aug 21, 2019 · 1 comment

Comments

@jjhugues
Copy link

Hi,

I'm trying to build from scratch the toolset
My setup is

➜ tools git:(master) JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home mvn -version
Apache Maven 3.6.1 (d66c9c0b3152b2e69ee9bac180bb8fcc8e6af555; 2019-04-04T15:00:29-04:00)
Maven home: /usr/local/Cellar/maven/3.6.1/libexec
Java version: 1.8.0_211, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.6", arch: "x86_64", family: "Mac"

When I run with
➜ tools git:(master) JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home mvn clean verify

I get

[ERROR] Failed to resolve target definition /Users/jjhugues/Desktop/Work/Dev/formal-methods-workbench/tools/target-platform/com.collins.fmw.target.target: Failed to load p2 metadata repository from location file:agree/repository/target/repository/: URI is not hierarchical -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.

I could not find an easy solution for this.

Maven and Java are from Brew

@dvanbrug
Copy link

I think this is a duplicate of #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants