Folks,
I just got it working by adding to the pom...
<repository>
<id>main-maven2-repo</id>
<name>The "main" maven2 repository</name>
<url>http://mirrors.ibiblio.org/pub/mirrors/maven2</url>
</repository>
<dependency>
<groupId>commons-pool</groupId>
<artifactId>commons-pool</artifactId>
<version>1.5</version>
</dependency>
The commons-dbcp requires commons-pool.
Phil
On Thu, Sep 24, 2009 at 6:19 AM, Andreas Kaluza <[email protected]>wrote:
> There was a problem in the pom.xml. You have to include:
>
> <repository>
> <id>wicket-snaps</id>
> <url>http://wicketstuff.org/maven/repository</url>
> <snapshots>
> <enabled>true</enabled>
> </snapshots>
> <releases>
> <enabled>true</enabled>
> </releases>
> </repository>
>
> into the repositories-tag. With that the installation works.
>
> Cheers,
>
> Andy
>
> > -----Ursprüngliche Nachricht-----
> > Von: Pierre Goupil [mailto:[email protected]]
> > Gesendet: Donnerstag, 24. September 2009 12:39
> > An: [email protected]
> > Betreff: Re: wicket-phonebook
> >
> > I've used the phonebook without any problem. Are you sure you've got
> > the
> > latest version? Plus, you need the whole wickestuff-core project (found
> > in
> > wicketstuff/wicketstuff-core), AFAIK. And it looks like you haven't got
> > it
> > on your hard drive, since Maven tries and download it.
> >
> > Regards,
> >
> > Pierre
> >
> >
> > On Thu, Sep 24, 2009 at 12:33 PM, Andreas Kaluza <[email protected]
> > kl.de>wrote:
> >
> > > Hi @all,
> > >
> > >
> > >
> > > I'm trying to install the wicket-phonebook with "mvn install". The
> > error
> > > message is:
> > >
> > >
> > >
> > > [INFO] Scanning for projects...
> > >
> > > Downloading:
> > > http://download.java.net/maven/2//org/wicketstuff/wicketstuff-core/
> > >
> > > 1.4-SNAPSHOT/wicketstuff-core-1.4-SNAPSHOT.pom
> > >
> > > [INFO] Unable to find resource
> > > 'org.wicketstuff:wicketstuff-core:pom:1.4-SNAPSHO
> > >
> > > T' in repository maven2-repository.dev.java.net
> > > (http://download.java.net/maven/
> > >
> > > 2/)
> > >
> > > [INFO]
> > > ---------------------------------------------------------------------
> > ---
> > >
> > > [ERROR] FATAL ERROR
> > >
> > > [INFO]
> > > ---------------------------------------------------------------------
> > ---
> > >
> > > [INFO] Error building POM (may not be this project's POM).
> > >
> > >
> > >
> > >
> > >
> > > Project ID: null:phonebook:war:null
> > >
> > >
> > >
> > > Reason: Cannot find parent: org.wicketstuff:wicketstuff-core for
> > project:
> > > null:p
> > >
> > > honebook:war:null for project null:phonebook:war:null
> > >
> > >
> > >
> > >
> > >
> > > [INFO]
> > > ---------------------------------------------------------------------
> > ---
> > >
> > > [INFO] Trace
> > >
> > > org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> > > org.wicket
> > >
> > > stuff:wicketstuff-core for project: null:phonebook:war:null for
> > project
> > > null:pho
> > >
> > > nebook:war:null
> > >
> > > at
> > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:404)
> > >
> > > at
> > org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:272)
> > >
> > > at
> > org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> > >
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> > >
> > > at
> > > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
> > >
> > > 0)
> > >
> > >
> > >
> > > Is the pom.xml corrupted (I have the original one)? It seems that
> > the
> > > maven
> > > repository is incomplete. Anyone a solution?
> > >
> > >
> > >
> > > Cheers,
> > >
> > > Andy
> > >
> > >
> >
> >
> > --
> > Sans amis était le grand maître des mondes,
> > Eprouvait manque, ce pour quoi il créa les esprits,
> > Miroirs bienveillants de sa béatitude.
> > Mais au vrai, il ne trouva aucun égal,
> > Du calice du royaume total des âmes
> > Ecume jusqu'à lui l'infinité.
> >
> > (Schiller, "l'amitié")
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>
--
Phil Grimm
Mobile: (858) 342-5987
Skype: philgrimm336