Commit Graph

975 Commits

Author SHA1 Message Date
Thomas Pasch 73f7cf413d Added makepom option to main/standalone
This close PR #71 at github.com/apache/ant-ivy
2018-04-04 21:25:55 +05:30
Gintas Grigelionis 1132a0e342 Tidy up the code 2018-03-29 06:53:16 +02:00
Gintas Grigelionis e4131dc592 Simplify assertions 2018-03-28 21:58:04 +02:00
Gintas Grigelionis 8c4cd482a0 Extraneous exceptions 2018-03-28 20:58:32 +02:00
Gintas Grigelionis 2597f8579d extraneous check: parseBoolean takes null 2018-03-28 20:46:03 +02:00
Gintas Grigelionis bc290628cf Suppress “deprecation” and “unused” warnings 2018-03-17 12:51:46 +01:00
Gintas Grigelionis 5a2af8daac Tidy up the code 2018-03-15 19:33:36 +01:00
Gintas Grigelionis 4cf4461333 IVY-1569 refactor the tests 2018-03-15 12:48:03 +01:00
Gintas Grigelionis afd3f11cd1 Ditto for some tests 2018-03-04 12:35:19 +01:00
Jaikiran Pai 075134d7d0 IVY-1576 make the test a bit more robust to make sure the artifact content is the right one for the dependency 2018-03-02 18:01:49 +05:30
Jaikiran Pai 3b17df0ab6 IVY-1576 Fix parsing of (maven) dependency with multiple classifiers 2018-03-02 16:58:36 +05:30
Jaikiran Pai 86eacb6b57 Support parsing multiple ranges for Maven versions 2018-02-26 16:35:42 +05:30
Jaikiran Pai 0466237558 IVY-1577 - Add support for Maven profile activations by OS, file and JDK and also parse any properties configured within such activated profiles, so that they can then be referenced in the pom 2018-02-26 15:56:52 +05:30
Brett Randall 537e13241a IVY-1545: Added tracking for a cycle in parent-POM ancestry, throw a CircularDependencyException if found.
Added tests for cycles in parent ancestry and references-self as parent.

This closes #66 pull request at github/apache/ant-ivy repo
2018-02-09 09:17:56 +05:30
Jaikiran Pai 783276d948 IVY-735 Missed out changes in previous commit 2018-02-08 11:47:36 +05:30
Jaikiran Pai ae27582d1b IVY-735 Don't force existing implementations of URLHandler to understand timeout constraints feature which was recently introduced 2018-02-08 10:44:49 +05:30
Gintas Grigelionis c470b75897 Avoid “empty XML tag” warnings 2018-02-03 07:08:08 +01:00
Gintas Grigelionis 12aeeec70f tidy up the code 2017-12-08 07:52:37 +01:00
Gintas Grigelionis 1b84f2ee7a another fail() that should be an expected exception;
import assertions statically, too
2017-12-07 12:25:55 +01:00
Gintas Grigelionis e43138b0b5 rediscovered a couple of tests :-) 2017-12-05 16:57:17 +01:00
Gintas Grigelionis 47061a88ce tidy up the code 2017-12-05 16:44:53 +01:00
Gintas Grigelionis da461de2db use switch rather than a chain of if’s 2017-12-05 16:38:51 +01:00
Gintas Grigelionis a123650842 simplify set construction 2017-12-05 12:24:50 +01:00
Gintas Grigelionis 2f4bf4db63 refactor tests with hardcoded Maven Central URL 2017-12-05 12:15:20 +01:00
Gintas Grigelionis d80acb29c0 showcase of parameterised tests with introspection :-)
(requires hamcrest-library where Matchers dwell)
2017-12-05 12:08:28 +01:00
Gintas Grigelionis 30c217ec40 do not fail, assert 2017-12-05 11:57:36 +01:00
Gintas Grigelionis 4a8068579e use expected exception and try-finally for post-mortem
(until JUnit 5 ;-)
2017-12-05 11:47:56 +01:00
Gintas Grigelionis 5d78961118 keep test parts as private as possible 2017-12-05 11:26:24 +01:00
Gintas Grigelionis 4e2846d5f4 chop extraneous throws, fix imports and javadoc 2017-12-05 11:12:21 +01:00
Gintas Grigelionis d86ae886e0 Do not use try-catch-fail to re-throw exceptions in tests 2017-12-05 10:17:36 +01:00
Gintas Grigelionis 579410e7f8 Revert previous change, see http://central.sonatype.org/pages/consumers.html 2017-11-14 07:18:06 +01:00
Gintas Grigelionis 709c7f71e5 New URL for Maven Central 2017-11-13 20:14:01 +01:00
Gintas Grigelionis 9a686e7388 IVY-511 coding conventions 2017-11-13 16:00:31 +01:00
Gintas Grigelionis 46c7cba7d0 Checkstyle, continued 2017-11-13 15:56:43 +01:00
Gintas Grigelionis 5c4da82785 Checkstyle 2017-11-12 21:44:56 +01:00
Gintas Grigelionis 1029078559 More uses of isNullOrEmpty/isEmpty 2017-11-11 10:36:31 +01:00
Gintas Grigelionis 3ac2567bca StringBuffer -> StringBuilder 2017-11-10 21:46:47 +01:00
Gintas Grigelionis f362940480 IVY-309 refactor all those split-trim-join and unwrap some logic 2017-11-10 18:39:27 +01:00
Gintas Grigelionis 6b610aa411 IVY-1420, take two: defaultconf is a mapping, too;
add test cases for related issues IVY-1315 and IVY-1419
2017-10-08 22:29:54 +02:00
Gintas Grigelionis 8054f746bb Changed contents of repo.jfrog.org broke a test;
correct obsolete URL to Ivy file schema
2017-10-05 19:53:53 +02:00
Gintas Grigelionis ade1bb4843 IVY-1420 attributes on configurations/dependencies not inherited by extend/include 2017-09-27 06:49:16 +02:00
Gintas Grigelionis d2e4494b47 Upgrade to Apache Commons VFS version 2
(and watch VFS-360)
2017-09-16 20:56:56 +02:00
Jaikiran Pai ab8b608744 IVY-1476 Better support for Maven timestamped snapshot dependencies in Ivy 2017-09-11 19:35:34 +05:30
Gintas Grigelionis 9e1b0896cf remove extraneous imports 2017-09-03 12:14:44 +02:00
twogee 08fc7320de refactoring and suppressed warnings fixes 2017-08-31 18:09:18 +05:30
Jaikiran Pai 37f70ab67f IVY-1546 Maven 1 repo is no longer available. Remove the tests, which anyway weren't running 2017-08-31 17:20:24 +05:30
Gintas Grigelionis b691f81b48 refactor and fix test 2017-08-25 19:26:46 +02:00
Gintas Grigelionis 90c42ec03e use collections instead of arrays; optimise their use 2017-08-24 13:02:31 +02:00
Gintas Grigelionis 14313cffeb use static import rather than import of nested class 2017-08-24 10:46:24 +02:00
Gintas Grigelionis 9c14146a98 more asList() refactoring and code cleanup 2017-08-21 23:44:30 +02:00