How to manually disable/blacklist Maven repository

Posted by cetnar on Stack Overflow See other posts from Stack Overflow or by cetnar
Published on 2009-11-18T08:39:59Z Indexed on 2010/06/06 2:32 UTC
Read the original article Hit count: 551

Filed under:
|
|

In my base project I use dependency of JasperReports which has non-existent repository declaration in its pom. When I run every Maven commad there is dependency looking for commons-collection in this Jasper repository so I need to wait for timeout.
This is my base project and is used as dependency in my others projects so again I need to wait for timeout.
Is there are a way to move this repository to blacklisted or override this settings?

Notes:
1.Why it search in Jasper repository, maybe bacause of ranges

<dependency>
    <groupId>commons-collections</groupId>
    <artifactId>commons-collections</artifactId>
    <version>[2.1,)</version>
    <scope>compile</scope>
</dependency>

2.My idea to resolve this problem is to change jasper pom and use proxy repository, but I looking to another option.
3.I use jasperreports 1.3.3 version and I'd like don't change it.

© Stack Overflow or respective owner

Related posts about maven-2

Related posts about dependencies