Commit Graph

158 Commits

Author SHA1 Message Date
Eric Milles d7036d97be
use `assertThrows` instead of `ExpectedException` rule 2025-09-11 11:32:08 -05:00
Maarten Coene 6a8cfd4004
FIX: improved Maven dependencyManagement matching for dependencies with a non-default type or classifier (IVY-1654) 2025-03-25 00:00:19 +01:00
Stefan Bodewig 503aafc594 IVY-1648 some tests are failing on Java8 2023-09-15 18:09:50 +02:00
Stefan Bodewig 5f11f05fe3 IVY-1642 fix POM translation for multiple artifacts in one module 2023-04-25 21:19:13 +02:00
jkf 0d07c9985c updated reference to license from http to https using find . -type f -exec sed -i s/http://www.apache.org/licenses/LICENSE-2.0/https://www.apache.org/licenses/LICENSE-2.0/ {} \; 2019-05-26 22:48:00 +02:00
Gintas Grigelionis b5b177b84d Use StandardCharsets 2018-08-03 12:20:40 +02:00
Gintas Grigelionis 1132a0e342 Tidy up the code 2018-03-29 06:53:16 +02:00
Gintas Grigelionis 8c4cd482a0 Extraneous exceptions 2018-03-28 20:58:32 +02:00
Gintas Grigelionis 5a2af8daac Tidy up the code 2018-03-15 19:33:36 +01:00
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
Gintas Grigelionis c470b75897 Avoid “empty XML tag” warnings 2018-02-03 07:08:08 +01:00
Gintas Grigelionis 4e2846d5f4 chop extraneous throws, fix imports and javadoc 2017-12-05 11:12:21 +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 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 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 3c047a1e70 refactor asList() in test cases 2017-08-19 17:05:36 +02:00
Gintas Grigelionis 463a2c89c3 add a target to generate javadoc for test cases; fix javadoc for doclint 2017-08-19 06:56:56 +02:00
Gintas Grigelionis 186fd10776 inline variables; adjust exceptions, annotations, and formatting 2017-08-17 14:10:42 +02:00
twogee 1a283ab1be refactor System.getProperty() and loops 2017-07-27 21:10:47 +05:30
Jaikiran Pai 6607bdcb3b IVY-735 Support timeouts on resolvers
This closes #54 pull request at github/apache/ant-ivy
2017-07-24 11:07:38 +05:30
twogee 6920717979 Add generics and Java 7 syntax to core
This closes #52 pull request at github/apache/ant-ivy
2017-07-17 11:07:59 +05:30
Jaikiran Pai dcaacf4cae IVY-1562 Add a test case to verify the parsing of the location attribute when the value contains an absolute path 2017-07-12 12:14:56 +05:30
Jaikiran Pai c871265452 Revert 4b6e0bd179 since it introduces failures on Windows (needs investigation)
This reverts commit 4b6e0bd179.
2017-07-03 15:13:18 +05:30
Jaikiran Pai 4b6e0bd179 IVY-1562 Fix potential double encoding of "location" value of "extends" element in the ivy descriptor 2017-07-03 14:53:03 +05:30
Jan Matrne c7d4b539bd Merge branch 'PR-43' 2017-06-14 10:53:58 +02:00
twogee 3b28fffbba More Java 7 diamonds 2017-06-13 22:07:19 +02:00
Jaikiran Pai c07d659cf8 IVY-1561 Take into account environment variable and system properties while evaluating property references in Maven pom.xml 2017-06-13 11:03:14 +05:30
twogee 8b9f2d5177 Generics and other fixes in tests and tutorials 2017-06-10 21:47:21 +02:00
twogee 6c92f32eda More code cleanup 2017-05-27 19:37:44 +02:00
twogee fbbf092e49 A few loose bits in JUnit 4 migration 2017-05-26 14:00:16 +02:00
twogee 36e99429c2 fail() means an expected exception or an assertion 2017-05-26 08:17:10 +02:00
twogee 1543f52896 Convert tests to JUnit 4, clean up code 2017-05-25 17:25:59 +02:00
Nicolas Lalevée 6b5b674cdc IVY-1531: Translation of POM to Ivy XML with * exclusion is removing main artifact
This closes #10
2017-05-16 22:26:29 +02:00
Matt Benson 8ff6e5a90f [IVY-1558] support dependencies in active profiles 2017-04-21 09:15:07 -05:00
Matt Benson 539e1ee1d6 address failing tests 2017-04-19 14:45:08 -05:00
Jaikiran Pai d19212c03e IVY-1531 Fix translation of * for groupid and artifactid, in pom.xml exclusion, for implying transitive=false in ivy 2016-12-07 22:50:33 +05:30
Nicolas Lalevée 2d7c6f5ff4 setup proper loggers in unit tests and factorize the creation and the cleaning of the cache folder 2015-09-06 20:01:25 +02:00
Jaikiran Pai da7d5df6de IVY-1526 Use parent pom's license (if any) if the child pom doesn't explicitly have licenses of its own 2015-08-30 15:51:44 +02:00
Nicolas Lalevée 03542311e2 use XMLUnit to abstract the order of the XML elements 2014-12-27 15:03:49 +01:00
Maarten Coene baa1e2b139 IMPROVEMENT: Generate POMs with /xsd/maven-4.0.0.xsd reference instead of old /maven-v4_0_0.xsd (IVY-1491) (thanks to Hervé Boutemy) 2014-10-21 00:01:20 +02:00
Maarten Coene f1d68f9c0a junit test fix: the order of the extra-info elements has changed from undefined (from Map) to predictable (from List)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1596972 13f79535-47bb-0310-9956-ffa450edef68
2014-05-22 21:29:06 +00:00
Jean-Louis Boudart 2902a9a3c0 Fix broken unit test, force publication date on testExtraInfosWithNestedElement as PomParsing can generate a publication date based on file modification date
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1592662 13f79535-47bb-0310-9956-ffa450edef68
2014-05-06 06:16:30 +00:00
Maarten Coene e484646c60 IMPROVEMENT: ivy:makepom will generate an exclusion when transitive=false on a dependency (IVY-1470)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1592628 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 20:56:51 +00:00
Jean-Louis Boudart 8d85139073 FIX: regression introduced by IVY-1457, dependency management wasn't properly handled introducing lots of resolution failures
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1592624 13f79535-47bb-0310-9956-ffa450edef68
2014-05-05 19:52:53 +00:00
Jean-Louis Boudart 1e30aa9479 Apply organize import on whole project
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1557969 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 08:34:28 +00:00