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 Errors (Maven and Gradle) #11

Open
EliotKhachi opened this issue Dec 21, 2023 · 0 comments
Open

Build Errors (Maven and Gradle) #11

EliotKhachi opened this issue Dec 21, 2023 · 0 comments

Comments

@EliotKhachi
Copy link

OS: Ubuntu 22.04, Linux 6.4.0
Gradle Version: 8.1
Apache Maven Version: 3.6.3
Java Version: OpenJDK 11.0.21

I'm having trouble building this project in Maven as well as Gradle. Any help would be appreciated.

gradle build yields:

A problem occurred evaluating root project 'sysml-v2-api-client'.
> Plugin with id 'maven' not found.  

Removing the plugin 'maven' line and running gradle build again yields:

A problem occurred evaluating root project 'sysml-v2-api-client'.
> Could not find method install() for arguments [build_5lgu73zj7q37wqjciaj1qbtdi$_run_closure7@112bf306] on root project 'sysml-v2-api-client' of type org.gradle.api.Project.

Not sure where to go from there. Hoping Maven would work, I added the following dependency to my pom.xml:

<dependency>
  <groupId>org.omg.sysml</groupId>
  <artifactId>sysml-v2-api-client</artifactId>
  <version>2020-09</version>
  <scope>compile</scope>
</dependency>

...yields the following error:

[ERROR] Failed to execute goal on project sysml-v2-api-client: Could not resolve dependencies for project org.omg.sysml:sysml-v2-api-client:jar:2021-09: Failure to find org.omg.sysml:sysml-v2-api-client:jar:2020-09 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]

Thank you in advance,
Eliot

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

1 participant