Hi,

just as you would with any other dependency: Add it with the correct groupId, artifactId and version to the <dependencies/> section of your project's pom.

For the dependency resolution to work both projects must either be in the same multi-project build or the artifact you depend on needs to be installed in your local repository or preferable depolyed to a internal/corporate remote repository.

-Tim

Mathias P.W Nilsson schrieb:
How can I make a dependecy to my own jar file in another maven project?
Both projects are created using maven but I need a reference to my api jar
in the other maven project.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to