if you setup your own remote repository and publish your jars, users can pull down the 
newest jars from there.  might want to change your dependencies to rely on SNAPSHOT 
though, especially if the code is changing frequently.

> -----Original Message-----
> From: Matt Raible [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 07, 2004 3:48 PM
> To: Maven Users List
> Subject: Re: dependency should use <artifactId> not <id>
> 
> 
> So you're basically saying that there's no way that users can 
> download 
> my sample and type "maven multiproject"?  They have to do 
> "multiproject:install" first.  I can accept that, but it sure 
> would be 
> cool if I could somehow do that for them.
> 
> Matt
> 
> On Jul 7, 2004, at 2:32 PM, Jefferson K. French wrote:
> 
> > 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]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

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

Reply via email to