Maven is looking for the dependency in your local repo, so you need to make sure the current version of core gets installed in your repo. Try something like this:
maven multiproject:install multiproject:site Jeff On Wed, 07 Jul 2004, at 14:08:32 [GMT -0600] Matt Raible wrote: > In regards to: > http://www.mail-archive.com/[EMAIL PROTECTED]/msg10392.html > I have a multiproject setup with core, web and root as advised by > http://wiki.codehaus.org/maven/CreatingJ2eeApplications. > My "core" project builds a jar fine but my web project can't seem to > find it. In web/project.xml, I have: > <dependency> > <groupId>maven-multi-sample</groupId> > <artifactId>core</artifactId> > <version>${pom.currentVersion}</version> > <type>jar</type> > <properties> > <eclipse.dependency>true</eclipse.dependency> > <war.bundle>true</war.bundle> > </properties> > </dependency> > But when I run "maven multiproject" from the basedir, I get: > +---------------------------------------- > | Generating site for Web: Web Client > | Memory: 24M/35M > +---------------------------------------- > Attempting to download core-1.0.jar. > WARNING: Failed to download core-1.0.jar. > BUILD FAILED > File...... C:\Documents and > Settings\mraible\.maven\cache\maven-multiproject-plu > gin-1.3.1\plugin.jelly > Element... maven:reactor > Line...... 103 > Column.... 9 > The build cannot continue because of the following unsatisfied > dependency: > core-1.0.jar > Total time: 34 seconds > This all works fine if I cd into "core" and type "maven jar:install" > before trying anything else. > Thanks, > Matt > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- mailto:[EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
