What's the whole <dependency> element? - Brett
> -----Original Message----- > From: Warner Onstine [mailto:[EMAIL PROTECTED] > Sent: Tuesday, 30 September 2003 10:12 AM > To: Maven Users List > Subject: Re: Maven 1.0-RC1 : dependencies download > > > Nope. That's in there. Still breaks. > > I have: > <groupId>group</groupId> > <artifactId>item</artifactId> > > Any other ideas? > > -warner > > On Monday, September 29, 2003, at 05:03 PM, Brett Porter wrote: > > > You forgot groupId, I think. > > > > Eg, <id>xerces</id> should become > > <groupId>xerces</groupId><artifactId>xerces</artifactId> > > > >> -----Original Message----- > >> From: Warner Onstine [mailto:[EMAIL PROTECTED] > >> Sent: Tuesday, 30 September 2003 10:01 AM > >> To: Maven Users List > >> Subject: Re: Maven 1.0-RC1 : dependencies download > >> > >> > >> Whether it's a typo or not, I'm having the same problem > with mine as > >> well. In addition when I tried to change the dependency to the new > >> format (replacing id with artifactId) I get this error: > >> > >> java.lang.NullPointerException > >> at > >> > org.apache.maven.project.Project.standardToLegacyId(Project.java:1566) > >> at > >> org.apache.maven.ArtifactListBuilder.build(ArtifactListBuilder > >> .java:97) > >> at > >> > org.apache.maven.project.Project.buildArtifactList(Project.java:1448) > >> at > >> org.apache.maven.project.Project.initialize(Project.java:1302) > >> at > >> org.apache.maven.MavenUtils.getProject(MavenUtils.java:252) > >> at > >> org.apache.maven.MavenUtils.getProject(MavenUtils.java:161) > >> at > >> org.apache.maven.MavenSession.initializeRootProject(MavenSessi > >> on.java:32 > >> 4) > >> at > >> org.apache.maven.MavenSession.initialize(MavenSession.java:234) > >> at org.apache.maven.cli.App.doMain(App.java:532) > >> at org.apache.maven.cli.App.main(App.java:1109) > >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > >> Method) > >> at > >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccess > >> orImpl.jav > >> a:39) > >> at > >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMeth > >> odAccessor > >> Impl.java:25) > >> at java.lang.reflect.Method.invoke(Method.java:324) > >> at com.werken.forehead.Forehead.run(Forehead.java:551) > >> at com.werken.forehead.Forehead.main(Forehead.java:581) > >> > >> Changing it back gets rid of this error. > >> > >> -warner > >> > >> On Monday, September 29, 2003, at 03:09 PM, Brett Porter wrote: > >> > >>> Compagny looks like a typo - is it right? Does clicking > the link for > >>> you and downloading it manually through a browser work? > >>> > >>>> -----Original Message----- > >>>> From: [EMAIL PROTECTED] > >>>> [mailto:[EMAIL PROTECTED] > >>>> Sent: Monday, 29 September 2003 10:37 PM > >>>> To: Maven Users List > >>>> Subject: Maven 1.0-RC1 : dependencies download > >>>> > >>>> > >>>> I just update my maven version to 1.0-RC1. But when it try to > >>>> download dependency it don't find artifacts. I make no > change in my > >>>> configuration : project.properties contains : > >>>> maven.repo.remote=http://compagny:8080/maven-repo,http://www.i > >>>> biblio.org/maven > >>>> > >>>> In fact i can't attain ibiblio directly because of a dns > >> problem so I > >>>> copy the jar on my server maven-repo. > >>>> But when it try to dowload any thing i have this error : Error > >>>> retrieving artifact from > >>>> [http://compagny:8080/maven-repo/oro/jars/oro-2.0.7.jar]: > >>>> java.lang.Exception: Can't get oro-2.0.7.jar > >>>> to C:\Documents and > >>>> Settings\chalumeau\.maven\repository\oro\jars\oro-2.0.7.jar > >>>> The jar is on the server ! > >>>> > >>>> Is there any change to do to make it works ? > >>>> > >>>> Nicolas, > >>>> > >>>> > >> > --------------------------------------------------------------------- > >>>> 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] >
