On Fri, Jun 26, 2009 at 1:40 AM, n000b<[email protected]> wrote: > Thanks for your reply Wendy. I did try the same, but maven cannot resolve the > artifact. Do I need to install the artifact somewhere (we are using an > archiva online repository, but I would prefer to have the artifact installed > to some local directory), so that it can be used for the Child Project B > from the local dir. > > Any way to achieve this?
What are you doing now, and what does the project structure look like? The dependency snippet I provided assumes that you have a parent pom above the two children. If so, then building "from the top" (from the directory with the parent pom) should work. Try 'mvn install' in A and then in B. This will install the artifacts into your local repository and they will be available for you to use when building other projects. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
