You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Velu VELOUTE <ve...@hotmail.com> on 2003/07/18 18:36:21 UTC
- ZIP dependencies -
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: - ZIP dependencies -
Posted by Incze Lajos <in...@mail.matav.hu>.
On Fri, Jul 18, 2003 at 06:36:21PM +0200, 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>
> 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>
I renamed it to jar. Isn't that an option for you?
incze
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: - ZIP dependencies -
Posted by Brian Ewins <Br...@btinternet.com>.
[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: 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