I have a dependency on the jdbc-stdext-2.0.jar. In my pom.xml, I have the following:

   <dependency>
     <groupId>javax.sql</groupId>
     <artifactId>jdbc-stdext</artifactId>
     <version>2.0</version>
   </dependency>

But when building, I get:

7/2/06 6:01:47 PM MST: [WARN] Unable to get resource from repository central (http://repo1.maven.org/maven2)
7/2/06 6:01:47 PM MST: Missing:
----------
1) javax.sql:jdbc-stdext:jar:2.0

 Try downloading the file manually from:
     http://java.sun.com/products/jdbc/download.html

 Then, install it using the command:
mvn install:install-file -DgroupId=javax.sql -DartifactId=jdbc-stdext \
         -Dversion=2.0 -Dpackaging=jar -Dfile=/path/to/file

 Path to dependency:
     1) com.brad.app:App:war:0.1-SNAPSHOT
     2) javax.sql:jdbc-stdext:jar:2.0

----------
1 required artifact is missing.

for artifact:  com.brad.app:App-0.1-SNAPSHOT.war

I noticed on ibiblio that the jar found at http://www.ibiblio.org/maven2/javax/sql/jdbc-stdext/2.0/ is actually jdbc-stdext-2.0-sources.jar. A couple questions:

1) Is this jar equivalent to the jar I am attempting to get?
2) If the answer to 1) is yes, how can I properly specify that I need a "sources" jar in my pom.xml.

Thanks,

Brad

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

Reply via email to