maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eyal edri <eyal.e...@gmail.com>
Subject Re: adding jdbc for ms-sql as dependency from maven
Date Thu, 12 Nov 2009 10:17:05 GMT
thanks, that did the trick.

still i'm getting a WARN messages when building a project with the JDBC
dependency:

[WARNING] Missing artifact metadata for
com.microsoft.sqlserver.jdbc:sqljdbc:jar:2.0

is there any way i can create a metadata for this local jar?

Eyal.


On Mon, Nov 9, 2009 at 3:19 PM, Stephen Connolly <
stephen.alan.connolly@gmail.com> wrote:

> mvn install:install-file
> or
> mvn deploy:deploy-file (if you have a repository manager, and you should)
>
> are the correct ways to do this
>
> systemPath is deprecated
>
> 2009/11/9 eyal edri <eyal.edri@gmail.com>:
> > Hi,
> >
> > anyone knows if the jdbc driver is available via maven repository? and
> > what's its groupid?
> >
> > I downloaded the sqljdbc4.jar from Microsoft and set a 'system'
> dependency,
> > is that the only way to do it?
> >
> >  <dependency>
> >      <groupId>com.microsoft.sqlserver.jdbc</groupId>
> >      <artifactId>sqljdbc</artifactId>
> >      <version>2.0</version>
> >      <scope>system</scope>
> >      <systemPath>/usr/java/sqljdbc_2.0/enu/sqljdbc4.jar</systemPath>
> >    </dependency>
> >
> >
> > --
> > Eyal Edri
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 
Eyal Edri

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message