[resending now my mail is working again...]

Oracle are pretty much unique in still distributing jars as zips, you are not alone in having this issue. I'm working on the 'sucks' plugin[1], once its finished we should be able to automatically install oracle drivers into the correct place in the repo - renamed to jars. (ditto all other non-redistributable jars, like Sun's ones)

-Baz

[1] http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-568

Velu VELOUTE wrote:

Hello everybody,

In my project.xml, my project needs the following dependency:

<!-- Oracle 8i JDBC driver 8.1.7.1 -->
<dependency>
 <groupId>jdbc</groupId>
 <artifactId>classes12</artifactId>
 <version>8.1.7.1</version>
 <type>zip</type>
</dependency>

Maven (beta-10) checks into the repository under <repository>/jdbc/zips/classes12-8.1.7.1.zip before building the project, that's okay. BUT, it doesn't append this .zip to the classpath. I've looked the DependencyClasspathBuilder.java class, the build() method only adds "jar" or "ejb" dependencies.

Is it possible in a future release to add the "zip" type ? <<


For now, I've dropped the .zip file into the jars subdirectory (<repository>/jdbc/jars/classes12-8.1.7.1.zip) and I use something like that (but it's not ideal):

<!-- Oracle 8i JDBC driver 8.1.7.1 -->
<dependency>
 <groupId>jdbc</groupId>
 <artifactId>classes12</artifactId>
 <version>8.1.7.1</version>
 <jar>classes12-8.1.7.1.zip</jar>
</dependency>


Thanks, le Velu Velout� --

_________________________________________________________________
Trouvez l'�me soeur sur MSN Rencontres ! http://g.msn.fr/FR1000/9551


--------------------------------------------------------------------- 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]



Reply via email to