ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Scokart" <gscok...@gmail.com>
Subject Re: Deploying to a Maven Repo with Ivy
Date Thu, 16 Oct 2008 11:12:48 GMT
2008/10/16 Hans Dockter <mail@dockter.biz>:
>
> On Oct 16, 2008, at 12:39 PM, Gilles Scokart wrote:
>
>> Even if you have a single jar, that can work.  To continue with you
>> example of "hibernate.jar" with a withEHCache and
>> withDistributedTransactions configuration, you could have 3 modules
>> generated.  One will be the hibernate-core which will be a classical
>> pom with an artefact (and probably the common dependencies).  The 2
>> others would be hibernate-withEHCache and
>> hibernate-withDistributedTransactions, each being pure poms, with
>> their specific dependencies and with a compile dependencies to
>> hibernate-core.
>
> Interesting. For me to understand:
>
> The hibernate-withEHCache pom would look like:
>
> <project>
> <packaging>pom</packaging>
> ...
>
> A project using this module would do:
>
> <dependency>
>   <artifactId>hibernate-withEHCache</artifactId>
>   <type>pom</type>
> <dependency>
>

I'm not sure <type>pom</type> would be required.  I hope not.

> So Maven works in a way that it put's the transitive dependencies of a pom
> dependency in the classpath?
>

I didn't tested it, but that's how I understand it.


-- 
Gilles Scokart

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message