I also created a program for this called `MvnCreateLocalPom'
and send it to the mailing list. Check the archives.

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


> -----Original Message-----
> From: Anuerin Diaz [mailto:[EMAIL PROTECTED]
> Sent: 21 November 2005 19:40
> To: Maven Users List
> Subject: Re: confusing maven 2 dependency behavior
> 
> 
> try adding a dummy pom for it. the developers said that the future
> release version of the install plugin is going to create a pom
> automatically but for now i just create them manually. recently
> somebody has suggested adding an option to install-file to generate
> poms so you might try searching the archives.
> 
> ciao!
> 
> On 11/21/05, Charlie Groves <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm migrating some projects from maven 1 to 2.  We have a dependency
> > in our project.xml that looks like
> > <dependency>
> >         <id>junit-addons</id>
> >         <version>1.4</version>
> >         <type>test</type>
> > </dependency>
> >
> > so I add
> > <dependency>
> >     <artifactId>junit-addons</artifactId>
> >     <groupId>junit-addons</groupId>
> >     <version>1.4</version>
> >     <scope>test</scope>
> > </dependency>
> >
> > to my pom.xml for maven 2.  When I run mvn install with that pom, it
> > fails while attempting to download
> > 
> http://repo1.maven.org/maven2/junit-addons/junit-addons-runner
/1.0-alpha1/junit-addons-runner-1.0-alpha1.pom
>  This doesn't exist on ibiblio, so it makes sense that it fails.  I
> just don't understand why it's trying to download it.  The
> junit-addons 1.4 jar is there...
>
> Thanks,
> Charlie
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--

"Programming, an artform that fights back"

Anuerin G. Diaz
Registered Linux User #246176
Friendly Linux Board @ http://mandrivausers.org/index.php
http://capsule.ramfree17.org , when you absolutely have nothing else
better to do

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


==============================================================================
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==============================================================================


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

Reply via email to