#How can I add a project as a maven dependency (eclipse)

5 messages · Page 1 of 1 (latest)

quasi smelt
#

On my previous eclipse version, if I added any project as a dependency in my second project, it worked well.
Now, I can't find how to do it.
I tried a local repo, but I now finish with NoSuchMethodError... (the dependency has the code, when compiled it has the code, but not in the repo? or idk, but it isn't existant in the second project jar file)

if anyone can help me thanks

peak frigateBOT
#

This post has been reserved for your question.

Hey @quasi smelt! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

jagged frost
#

have you tried using systempath?

<dependency>
    <artifactId>..</artifactId>
    <groupId>..</groupId>
    <scope>system</scope>
    <systemPath>${basedir}/lib/dependency.jar</systemPath>
</dependency>```
#

@quasi smelt