You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Nicola Benaglia <ni...@gmail.com> on 2007/11/14 12:35:42 UTC
add dependency (newbie question) ?
Hi !
This is my first partecipation at this mailing list....and obviously
with a very simple question.
I need to add a postgres jdbc dependency to maven.
Googling I found these lines to add to pom.xml:
<dependency>
<groupId>postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>8.1-407.jdbc3</version>
<url>http://www.postgresql.org/</url>
</dependency>
It worked, but I'd like to know what to write as groupID, artifactID, ... ?
Could you please help me or point me to the documentation explaining it?
Thank you,
Nicola
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: add dependency (newbie question) ?
Posted by Giancarlo Degani <gi...@gmail.com>.
I think that the following link can help you:
http://maven.apache.org/guides/getting-started/index.html#How_do_I_use_external_dependencies
Giancarlo
2007/11/14, Nicola Benaglia <ni...@gmail.com>:
> Hi !
> This is my first partecipation at this mailing list....and obviously
> with a very simple question.
> I need to add a postgres jdbc dependency to maven.
>
> Googling I found these lines to add to pom.xml:
>
> <dependency>
> <groupId>postgresql</groupId>
> <artifactId>postgresql</artifactId>
> <version>8.1-407.jdbc3</version>
> <url>http://www.postgresql.org/</url>
> </dependency>
>
> It worked, but I'd like to know what to write as groupID, artifactID, ... ?
> Could you please help me or point me to the documentation explaining it?
>
> Thank you,
> Nicola
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org