ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Reilly <peter.kitt.rei...@gmail.com>
Subject Re: Ant source structure and ant*.jar build products
Date Tue, 18 May 2010 10:22:44 GMT
That is not what I meant.

I meant dependences for maven pom files.

We would have an jar file (for example ant-commons-logging.jar that
did not contain any classes) and have a pom file like:

<project>
  <parent>
    <groupId>org.apache.ant</groupId>
    <artifactId>ant-parent</artifactId>
    <relativePath>../pom.xml</relativePath>
    <version>1.8.2</version>
  </parent>
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.apache.ant</groupId>
  <artifactId>ant-commons-logging</artifactId>
  <version>1.8.2alpha</version>
  <description>Ant Listener based on commons-logging</description>
  <dependencies>
    <dependency>
      <groupId>org.apache.ant</groupId>
      <artifactId>ant</artifactId>
      <version>1.8.2</version>
      <scope>compile</scope>
    </dependency>
    <dependency>
      <groupId>commons-logging</groupId>
      <artifactId>commons-logging-api</artifactId>
      <version>1.0.4</version>
      <scope>compile</scope>
    </dependency>
  </dependencies>
</project>

This would allow maven users to use ant.jar and specify which optional parts
are needed.

Peter


On Tue, May 18, 2010 at 6:17 AM,  <Jan.Materne@rzf.fin-nrw.de> wrote:
>>We could have dummy jar's for dependences.
>>Peter
>
> You could use https://svn.apache.org/repos/asf/ant/sandbox/mocks ;-)
>
> Jan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>

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


Mime
View raw message