Well, I haven't tried that, but I guess it won't work, as the pom is
named just postgresql-7.4.1.pom, without the trailing jdbc3... so I
guess maven wouldn't find it if I add -jdbc3 to the version

Best regards
Jose

2005/7/26, Litton, Tom - CEPM <[EMAIL PROTECTED]>:
> Can you use 7.4.1-jdbc3 as the version?
> 
> So,
> <groupId>postgresql</groupId>
> <artifactId>postgresql</artifactId>
> <version>7.4.1-jdbc3</version>
> 
> Will it work?
> 
> -----Original Message-----
> From: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, July 26, 2005 7:36 AM
> To: Maven Users List
> Subject: [M2] How to override artifact name in dependency?
> 
> 
> Hi there,
> 
> I'd like to use the postgresql jdbc driver
> (http://www.ibiblio.org/maven2/postgresql/postgresql/7.4.1/) as a
> dependency in my project, but the artifact name
> (postgresql-7.4.1-jdbc3.jar) doesn't follow the standard artifact name
> used in maven. In Maven1 we had the <jar/> element inside
> <dependency/> for such cases, but this doesn't seem to be present in
> the Maven2 project descriptor. How must this be done now?
> 
> Thanks in advance, best regards
> Jose
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> ----------------------------------------------------------------------
> The information contained in this transmission is intended only for
> the personal and confidential use of the designated recipients named
> herein.  If the reader of this transmission is not the intended
> recipient or an agent responsible for delivering it to the intended
> recipient, you are hereby notified that you have received this
> transmission in error, and that any review, dissemination,
> distribution, or copying of this transmission is strictly prohibited.
> If you have received this communication in error, please notify the
> sender and return and delete the original transmission immediately.
> Thank you.
> 
>

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

Reply via email to