ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filipe Sousa <nat...@gmail.com>
Subject Add a maven repository to ivy
Date Sat, 29 Jan 2011 12:12:28 GMT
Hi,

I'm trying ivy for eclipse. It's very easy to use, however I do not
know how to use a different maven repository. The repository I'm
interesting is the http://maven.itextpdf.com

It seems that I have to create a ivysesstings.xml to use this
repository, but I do not know how.

At the root of the eclipse project, I have a ivy.xml and an empty
ivysettings.xml.
What should I put in ivysettings.xml?

---------- pom.xml ----------
<project [..default xml namespace details..]>

  [..project-details..]

  <repositories>
    <repository>
      <id>itextpdf.com</id>
      <name>Maven Repository for iText</name>
      <url>http://maven.itextpdf.com/</url>
    </repository>
    [..other repository locations..]
  </repositories>

  <dependencies>
    <dependency>
      <groupId>com.itextpdf</groupId>
      <artifactId>itextpdf</artifactId>
      <version>5.0.2</version>
      <scope>compile</scope>
    </dependency>
    [..other package dependency..]
  </dependencies>
</project>
-----------------------------

Thanks
-- 
Filipe Sousa

Mime
View raw message