maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandre Poitras" <alexandre.poit...@gmail.com>
Subject Re: Depedency on jdbc-stdext-2.0.jar fails
Date Mon, 03 Jul 2006 15:43:58 GMT
It is useful when you generate an IDE project and you want to have
access to your libraries sources.

On 7/3/06, Brad O'Hearne <brado@neurofire.com> wrote:
> Thanks Alexandre. I missed the part about the intention being only to
> provide the location of the download. I am still curious though what the
> sources jars are there for, and how they can be used.
>
> B
>
> Alexandre Poitras wrote:
>
> > http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
> >
> > On 7/2/06, Brad O'Hearne <brado@neurofire.com> wrote:
> >
> >> 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: 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
> >
>
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message