Commit Graph

249 Commits

Author SHA1 Message Date
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 b8eef03783 Merge branch 'master' into master 2017-05-25 17:30:24 +02:00
twogee 1543f52896 Convert tests to JUnit 4, clean up code 2017-05-25 17:25:59 +02:00
Jaikiran Pai da69323b29 Fix transient test failures - Don't share/update the MockMessageLogger between test methods 2017-05-24 22:10:14 +05:30
Jaikiran Pai d8c3ef1363 IVY-1554 Add support for SHA-256 SHA-512 and SHA-384 checksum algorithms if the underlying Java runtime supports it 2017-05-18 16:09:06 +05:30
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 09b1a632c1 Seems there is one last Maven 1 repo available 2015-09-07 01:28:55 +02:00
Nicolas Lalevée 8cba88fa1a revert part of the patch for IVY-1141, some unit tests are expecting the reverse 2015-09-06 20:21:21 +02:00
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
Nicolas Lalevée 8e0e1c32ff IVY-1141 : dependencies failed using branch attribute (and extra attributes)
Thanks to Stephen Haberman
2015-09-06 17:10:56 +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
Nicolas Lalevée 571725cb7b IVY-1474 : Ivy Bintray resolver (Thanks to Evgeny Goldin) 2014-12-13 16:36:17 +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
Stefan Bodewig 750dbb845b mechanically replace URIs so TLS is used by default for Maven Central 2014-08-12 12:29:18 +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
Antoine Levy-Lambert c66b237476 FIX: impossible to get artifacts when data has not been loaded (IVY-1399) (thanks to David Turner)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1590442 13f79535-47bb-0310-9956-ffa450edef68
2014-04-27 18:19:50 +00:00
Maarten Coene 9e85ac3f00 Fixed testcases on Windows.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1577738 13f79535-47bb-0310-9956-ffa450edef68
2014-03-14 22:04:57 +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
Jean-Louis Boudart bd7a375e37 Apply code formatting on whole project
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1557968 13f79535-47bb-0310-9956-ffa450edef68
2014-01-14 08:27:37 +00:00
Jean-Louis Boudart 5db07bdccc fix IVY-1457 XmlModuleDescriptorWritter doesn't support fully extra infos elements
ModuleDescriptor.getExtraInfo() is now deprecated as name of the tag was used as key. Tag name can't be used as key as extra info elements can be non unique.

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1557557 13f79535-47bb-0310-9956-ffa450edef68
2014-01-12 16:53:40 +00:00
Nicolas Lalevee 8c27540ec0 avoid copy with url resolvers configured with a 'file:/' URL if useOrigin=true
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1553739 13f79535-47bb-0310-9956-ffa450edef68
2013-12-27 21:10:19 +00:00
Maarten Coene bca350df1f - IMPROVEMENT: New LockStrategy available based on NIO FileLocks (IVY-1424)
- FIX: NIO FileLocker released locks too early (IVY-1424) (thanks to Charles Duffy)


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1507138 13f79535-47bb-0310-9956-ffa450edef68
2013-07-25 21:35:08 +00:00
Maarten Coene d6c57d547c FIX: Ivy descriptors are merged incorrectly when there is an <exclude> element (IVY-1356)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1376738 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 22:21:00 +00:00
Nicolas Lalevee 54fdc54dd2 Properly build the url pattern
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375737 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:40:50 +00:00
Nicolas Lalevee 14d6a09601 Fix tests: don't urlify the pattern, only the root
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375736 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:34:05 +00:00
Nicolas Lalevee b9a22fb6f6 fix encoding of e with acute
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375728 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 19:28:03 +00:00
Nicolas Lalevee ac11ad3593 Fix the buggy use to File.toURL()
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1375715 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 18:55:01 +00:00
Maarten Coene 0b873b95a8 Log a bit more in a junit test to see what's going wrong on unix...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1374859 13f79535-47bb-0310-9956-ffa450edef68
2012-08-19 21:46:25 +00:00
Maarten Coene e8633715a1 removed commented code
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304653 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:15:00 +00:00
Maarten Coene e83ea3998d renamed fields beginning with '_'
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304652 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:14:04 +00:00
Maarten Coene 63b85e9c14 FIX: Ivy didn't properly handle some file: URLs (IVY-1340)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304651 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 23:11:41 +00:00
Maarten Coene 65a2a7da3e FIX: Infinite loop in latest-compatible conflict manager (IVY-1233) (thanks to Payam Hekmat and Sven Zethelius)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1304633 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 22:27:47 +00:00
Maarten Coene 815fa4b995 Attempt to fix failing tests on vmgump.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1296761 13f79535-47bb-0310-9956-ffa450edef68
2012-03-04 06:39:54 +00:00
Nicolas Lalevee 0f794328d8 - fix the JarResolver when used with an URL
- fix the unit tests: the settings are the last set on the resolver


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1201254 13f79535-47bb-0310-9956-ffa450edef68
2011-11-12 12:29:50 +00:00
Nicolas Lalevee e9b9844fce IVY-1312:
- implementation, test and documentation of the jar resolver


git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1165117 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 21:33:39 +00:00
Maarten Coene 9c7f6d4212 IMPROVEMENT: ivy:makepom ignores the artifact type in generated dependencies (IVY-1229) (thanks to Douglas Palmer)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1156840 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 21:32:39 +00:00
Matthew Jason Benson 72b9a7f373 [IVY-1301] Ivy does not apply overridden properties to parent dependency versions specified using dependencyManagement properties
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1133126 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 18:34:01 +00:00
Matthew Jason Benson 3b91cc1d78 test overriding grandparent properties also
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1132750 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 20:30:47 +00:00
Matthew Jason Benson 020f71e5fb [IVY-1299] Ivy does not apply overridden properties to parent dependency versions specified using properties
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1132472 13f79535-47bb-0310-9956-ffa450edef68
2011-06-05 18:24:31 +00:00
Matthew Jason Benson 0419ecf691 parent dependency management includes version management; child pom doesn't need to declare parent-managed version
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1131239 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 21:00:31 +00:00
Maarten Coene b2b0c36ee6 Removed old non-working maven mirrors.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1097644 13f79535-47bb-0310-9956-ffa450edef68
2011-04-28 22:30:37 +00:00