http://claude.betancourt.us/add-microsoft-sql-jdbc-driver-to-maven/

On 30/11/2012 7:34 AM, jerald wrote:
I'm a new Bee to Maven

using Hiberanate



I tried with
1.      
                <dependency>
                      <groupId>com.microsoft.sqlserver.jdbc</groupId>
                  <artifactId>sqljdbc4</artifactId>
                  <version>2.0</version>
                </dependency>     



2.              <dependency>
                      <groupId>com.microsoft.sqlserver.jdbc</groupId>
                  <artifactId>sqljdbc</artifactId>
                  <version>2.0</version>
                      <scope>system</scope>
                  <systemPath>C:\Spring Library\sqljdbc4.jar</systemPath>
        </dependency>


i'm getting ERROR

Some problems were encountered while building the effective model for
com.demo:demo-app:war:1.0-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for
com.microsoft.sqlserver.jdbc:sqljdbc:jar should use a variable instead of a
hard-coded path C:\Spring Library\sqljdbc4.jar @ line 76, column 23
[WARNING]


How can i declare.
Please Help me OUT



--
View this message in context: 
http://maven.40175.n5.nabble.com/MSSQL-Dependency-in-POM-tp5734512.html
Sent from the Maven - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




--
Ron Wheeler
President
Artifact Software Inc
email: [email protected]
skype: ronaldmwheeler
phone: 866-970-2435, ext 102


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to