On Fri, 12 May 2006, Stefan Arentz wrote: I think that, even though you specified -DgeneratePom=true, there's no ~/.m2/repository/javax/persistence/ejb/3.0/ejb-3.0.pom.
[snip] > [INFO] Installing /Users/stefan/Development/Java/hibernate- > entitymanager-3.1.0.Beta8/lib/ejb3-persistence.jar to > /Users/stefan/.m2/repository/javax/persistence/ejb/3.0/ejb-3.0.jar there should be another line telling you that the pom was installed. [snip] I think you're somehow stuck with an old maven-install-plugin. Try deleting ~/.m2/plugin-registry.xml (or just the lines for the maven-install-plugin), and delete the ~/.m2/repository/org/apache/maven/plugins/maven-install-plugin/ directory, then mvn install again. -- Kenney > > > On 5/12/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > > Reinstall the file and specify -DgeneratePom=true. > > > > Wayne > > > > On 5/12/06, Mike Perham <[EMAIL PROTECTED]> wrote: > > > Is the pom in your repo or just the jar? > > > > > > -----Original Message----- > > > From: Stefan Arentz [mailto:[EMAIL PROTECTED] > > > Sent: Friday, May 12, 2006 11:29 AM > > > To: Maven Users List > > > Subject: Why does Maven 2 keep trying to download stuff that i put in my > > > local repository > > > > > > This question will probably have a one line answer, but I seriously > > > can't find any hints. > > > > > > I put the EJB3 jar in my own local repository. Works great. However, > > > every time I run Maven it still does this: > > > > > > Downloading: > > > http://repo1.maven.org/maven2/javax/persistence/ejb/3.0/ejb-3.0.pom > > > [WARNING] Unable to get resource from repository central ( > > > http://repo1.maven.org/maven2) > > > > > > There is really no point. But it keeps trying :-) > > > > > > Is there any way to turn this off? > > > > > > S. > > > > > > --------------------------------------------------------------------- > > > 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] > > > > > -- Kenney Westerhof http://www.neonics.com GPG public key: http://www.gods.nl/~forge/kenneyw.key --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
