Ah, well that makes perfect sense. Thanks!
Though if the sources are available, I wonder why a compiled version
cannot be made available, or if there were a way to pull the sources,
and automatically compile and jar locally.
Brad
Alexandre Poitras wrote:
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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]