ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans Dockter <m...@dockter.biz>
Subject Re: Deploying to a Maven Repo with Ivy
Date Thu, 16 Oct 2008 10:55:02 GMT

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>

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

In a Maven war project you will probably end up with pom file in the  
libs folder :)

<snip>

- Hans

--
Hans Dockter
Gradle Project lead
http://www.gradle.org





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


Mime
View raw message