Hi!

Jacob Bergoo wrote:
> 
> When I try to run the application Jetty I got an error for missing
> commons-dbcp. I have tried to find this jar in the maven repositories in
> http://repo1.maven.org/maven2/org/apache/commons/ and in
> http://repo1.maven.org/maven2/org/apache/commons/ and there is no sign of
> it there.
> 
Commons-dbcp has the groupId commons-dbcp, so you have to add the following
dependency to your pom:
<dependency>
    <groupId>commons-dbcp</groupId>
    <artifactId>commons-dbcp</artifactId>
    <version>1.2.2</version>
</dependency>

If you just know the name of the lib and want to know group, artifact and
versions go to http://mvnrepository.com/ and search there.

Very good starting points for Maven are:
 * Article "The Maven 2 POM demystified" -
http://www.javaworld.com/javaworld/jw-05-2006/jw-0529-maven.html
 * The book "Better Builds With Maven" -
http://www.devzuz.com/web/guest/products/resources#BBWM

-- 
Chris
-- 
View this message in context: 
http://www.nabble.com/Need-help-with-pom.xml-for-my-tapestry-5-project-tp15166088p15166631.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to