On 7/16/07, Tawfik, Sameh E <[EMAIL PROTECTED]> wrote:
Is there is a way to install specific jars to the local repository
without using the command line, by specifying the needed jars in the
pom.xml?
...
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=connector
-DartifactId=connector \
-Dversion=1_0 -Dpackaging=jar -Dfile=/path/to/file
You probably want javax.resource:connector:1.0 instead:
<dependency>
<groupId>javax.resource</groupId>
<artifactId>connector</artifactId>
<version>1.0</version>
</dependency>
You'll still have to install it, but if you use the "standard" groupId
and artifactId [1] you'll get a better error message with a link to
download the package.
After you accept the license and download it, use the suggested
command to 'mvn install:install-file' the jar, and Maven will stop
complaining.
[1] http://maven.apache.org/guides/mini/guide-coping-with-sun-jars.html
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]