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

Maven build failing on MacOS #1153

Closed
edwardalee opened this issue May 10, 2022 · 3 comments
Closed

Maven build failing on MacOS #1153

edwardalee opened this issue May 10, 2022 · 3 comments

Comments

@edwardalee
Copy link
Collaborator

Attempting to build Epoch using the instructions here, I get the following failure when running mvn package:

[INFO] -----------------------< org.lflang:org.lflang >------------------------
[INFO] Building Lingua Franca Core 0.2.1-SNAPSHOT                        [2/12]
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[INFO] 
[INFO] --- tycho-packaging-plugin:2.6.0:build-qualifier (default-build-qualifier) @ org.lflang ---
[INFO] The project's OSGi version is 0.2.1.202205100917
[INFO] 
[INFO] --- tycho-packaging-plugin:2.6.0:validate-id (default-validate-id) @ org.lflang ---
[INFO] 
[INFO] --- tycho-packaging-plugin:2.6.0:validate-version (default-validate-version) @ org.lflang ---
[INFO] 
[INFO] --- target-platform-configuration:2.6.0:target-platform (default-target-platform) @ org.lflang ---
[INFO] 
[INFO] --- exec-maven-plugin:3.0.0:java (mwe2Launcher) @ org.lflang ---
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Lingua Franca 0.2.1-SNAPSHOT ....................... SUCCESS [  0.021 s]
[INFO] Lingua Franca Core ................................. FAILURE [  0.794 s]
[INFO] Lingua Franca Generic IDE .......................... SKIPPED
[INFO] Lingua Franca UI ................................... SKIPPED
[INFO] Lingua Franca Diagrams ............................. SKIPPED
[INFO] Lingua Franca Tests ................................ SKIPPED
[INFO] Lingua Franca UI Tests ............................. SKIPPED
[INFO] Lingua Franca Product .............................. SKIPPED
[INFO] Lingua Franca SDK .................................. SKIPPED
[INFO] Lingua Franca Update Site .......................... SKIPPED
[INFO] Lingua Franca Epoch IDE ............................ SKIPPED
[INFO] Lingua Franca Target Platform 0.2.1-SNAPSHOT ....... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32.548 s
[INFO] Finished at: 2022-05-10T11:17:59+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java (mwe2Launcher) on project org.lflang: Execution mwe2Launcher of goal org.codehaus.mojo:exec-maven-plugin:3.0.0:java failed: Plugin org.codehaus.mojo:exec-maven-plugin:3.0.0 or one of its dependencies could not be resolved: Failed to collect dependencies at org.codehaus.mojo:exec-maven-plugin:jar:3.0.0 -> org.eclipse.emf:org.eclipse.emf.mwe2.launch:jar:2.12.2 -> org.eclipse.emf:org.eclipse.emf.mwe2.runtime:jar:[2.12.2]: No versions available for org.eclipse.emf:org.eclipse.emf.mwe2.runtime:jar:[2.12.2] within specified range -> [Help 1]
@a-sr
Copy link
Collaborator

a-sr commented May 11, 2022

As mentioned in the meeting, adding the -U option to the maven call may resolve this. It enforces checking all dependencies for latest versions.

@edwardalee
Copy link
Collaborator Author

That did it!

@edwardalee
Copy link
Collaborator Author

I have updated the wiki page with these instructions.

@lhstrh lhstrh changed the title Maven build fails for me on MacOS Maven build failing on MacOS May 31, 2022
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