Add project as maven dependency?
See original GitHub issuePerhaps I’m asking a stupid question, but I want to add this project as a maven dependency, and I don’t know how to do that.
I tried adding a local dependency on the jar, but then maven won’t build it properly. I want it to be a maven dependency because then it updates automatically without having to download a new jar for every release.
I also tried adding it like this:
<dependency>
<groupId>io.github.jorelali</groupId>
<artifactId>commandapi</artifactId>
<version>1.3</version>
</dependency>
But that just tells me:
Dependency 'io.github.jorelali:commandapi:1.3' not found.
Any help please?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How do I add a project as a dependency of another project?
Hi Simon, Yes, as you said we can create the parent project with "pom" and move the other two under the parent project....
Read more >How do I add a project as a dependency of another ... - Medium
I was helping somebody recently that is learning to code Java, he said if is possible to add a maven project as a...
Read more >Java Maven Dependency Project Tutorial - Genuitec
Right-click the utility project, and select Maven>Add Dependency. · Type a dependency name in the Enter groupID… · Select the dependency, and click...
Read more >How do I add a project as a dependency of another project?
This tutorial describes how to add a project as a dependency of another project. ... A key concept in mavenSW is the idea...
Read more >Add Maven support to an existing project - JetBrains
Open an existing project, for example, a Java project. · In the Project tool window, right-click your project and select Add Framework Support....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Created a Maven Repository here on Github:
Weirdly - if I give the repository the id
commandapi
it doesn’t work. If I call it anything else (jorelali
) it works fine. ???