mvn install
should solve your issue.
package creates the artifact within the projects target directory, but when
working on a multi module project you need to do install so it uploads the
artifacts into you local repository so they are avaliable to the rest of the
modules.
I hope that helps,
John
On 10/05/07, Tobias Reese <[EMAIL PROTECTED]> wrote:
Hi @All,
I have a Multi Module Project as follows:
main
-> utils
-> ejb (depends on utils)
-> web (depends on ejb)
-> ear (depends on utils, ejb, web)
I can do "mvn package", which succesfully builds my artifacts. However,
if i do "mvn javadoc:javadoc" the ejb project tries to download the
utils package from the online repo.
Dependency in ejb Project looks as follows:
<dependencies>
<dependency>
<groupId>mypackage</groupId>
<artifactId>utils</artifactId>
<type>jar</type>
<version>0.0.1</version>
<scope></scope>
</dependency>
</dependencies>
Any clues? I spent a whole day on it and the only thing which is left is
to deploy the utils project to my local repo, which I really don't like.
Cheers Tobias
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]