Commit Graph

90 Commits

Author SHA1 Message Date
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
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
Matt Benson 539e1ee1d6 address failing tests 2017-04-19 14:45:08 -05:00
Nicolas Lalevée 09b1a632c1 Seems there is one last Maven 1 repo available 2015-09-07 01:28:55 +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 571725cb7b IVY-1474 : Ivy Bintray resolver (Thanks to Evgeny Goldin) 2014-12-13 16:36:17 +01: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 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
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
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 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 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
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 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
Nicolas Lalevee c765837f17 Add a mirror capable url resolver. Far from perfect but a nice first working version.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1087396 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 18:19:24 +00:00
Nicolas Lalevee 88d62a6976 svn_apply_autoprops, mainly for line endings
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1049146 13f79535-47bb-0310-9956-ffa450edef68
2010-12-14 16:28:01 +00:00
Maarten Coene 6ab9d41e3e FIX: Can not use a v[revision] in an artifact pattern of a filesystem resolver (IVY-1238)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@1024027 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 21:48:41 +00:00
Maarten Coene d0e4eabcdb Code style
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@937482 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 19:36:22 +00:00
Maarten Coene d92e70e750 Removed unnecessary code
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@937481 13f79535-47bb-0310-9956-ffa450edef68
2010-04-23 19:30:53 +00:00
Maarten Coene e3d72c538e Improved test to check that something has been unzipped/untarred at all...
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@937087 13f79535-47bb-0310-9956-ffa450edef68
2010-04-22 22:27:08 +00:00
Maarten Coene c4355851db FIX: Packager resolver always extracts all files from archives even when the packaging instructions contains include tags (IVY-1179) (thanks to Stefan De Boey)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@936523 13f79535-47bb-0310-9956-ffa450edef68
2010-04-21 21:40:59 +00:00
Maarten Coene 77da8cd564 typing error
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@927628 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 22:52:20 +00:00
Maarten Coene 944d5a7efe Forgot to commit updated junit test for IVY-1155
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@897046 13f79535-47bb-0310-9956-ffa450edef68
2010-01-07 23:06:47 +00:00
Maarten Coene 2509784fe0 Fixed junit tests
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@888188 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 23:34:37 +00:00
Maarten Coene beff2feb9d FIX: FileSystem resolver with m2compatible=true throws error when publishing modules with dotted organisation names (IVY-968)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@885601 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 22:35:17 +00:00
Maarten Coene 929ff9adfe Spelling fix
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@819042 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 22:03:11 +00:00
Maarten Coene 0346981dd4 Forgot to commit the modified test for IVY-1006
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@741336 13f79535-47bb-0310-9956-ffa450edef68
2009-02-05 23:06:40 +00:00
Xavier Hanin 79535f59ac fix problems introduced with IVY-1012
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@737358 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 14:05:24 +00:00
Xavier Hanin 0309c63333 FIX: TTL does not work as expected (IVY-1012)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@737330 13f79535-47bb-0310-9956-ffa450edef68
2009-01-24 11:00:40 +00:00
Xavier Hanin a92a4fcecc IMPROVEMENT: Better and more homogeneous relative paths handling (IVY-387)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@691210 13f79535-47bb-0310-9956-ffa450edef68
2008-09-02 12:07:20 +00:00
Xavier Hanin 32038d1bde FIX: Incorrect directory path resolve when running from a different directory (IVY-232)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@690317 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 16:24:03 +00:00
Xavier Hanin 3ef6097b71 FIX: PackagerResolverTest was failing
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@689093 13f79535-47bb-0310-9956-ffa450edef68
2008-08-26 14:29:53 +00:00
Xavier Hanin 6d6d34af69 FIX: ChainResolverTest failures (IVY-882)
The problem was due to the changes introduced in IVY-857. Indeed the cache checking was removed from the chain, to allow a resolver to force a revision even when there is already something in the cache. The problem is that resolvers where always checked in the chain even when the cache is filled. To implement this properly, I've moved the responsibility of knowing what resolved module revision should be returned to each individual resolver instead of the chain (pretty much like in the chain of responsibility pattern, where each node is responsible for calling the next one). To avoid changing the DependencyResolver API, I've added the detail about a possibly already resolved module revision in ResolveData. The added responsibility to DependencyResolver makes it more flexible, but also more complex to write. Hopefully most people writing dependency resolvers at least extend BasicResolver where all this logic is already implemented.

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@688097 13f79535-47bb-0310-9956-ffa450edef68
2008-08-22 15:32:18 +00:00
Maarten Coene b506d8f19d FIX: URLRepository does not allow some valid file scheme uri's (IVY-884)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@687492 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 22:30:44 +00:00
Maarten Coene 1f3f87a67c Fixed problem with test on some VM's where XSLT doesn't like the Turkish locale.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@678564 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 20:56:42 +00:00
Maarten Coene 18554d04c0 Fixed compilation problem.
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@678558 13f79535-47bb-0310-9956-ffa450edef68
2008-07-21 20:49:30 +00:00
Maarten Coene dce2f45c16 Updated new packager resolver to use Ant API instead of command-line and updated the packager-stylesheet to make it work on windows (IVY-829)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@678326 13f79535-47bb-0310-9956-ffa450edef68
2008-07-20 21:45:02 +00:00
Xavier Hanin 46fe473ebf IMPROVEMENT: Support atomic publish with sub directory structure (IVY-856)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@674574 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 18:15:52 +00:00
Xavier Hanin cbb1b2da79 add m2resource test in PackagerResolver (thanks to Archie Cobbs)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@673332 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 09:42:20 +00:00
Xavier Hanin dfbb7282f1 add more test and improve atomic publish support
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@671566 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 14:32:22 +00:00
Xavier Hanin 1c8e952ae7 review some packager resolver code:
- use FileUtil.forceDelete instead of re implementing own recursive delete
- put temporary test files in build/test instead of tmp, to follow other unit test template
- remove m2resource test for the moment, since the "website" does not provide it (missing in patch)

git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@671005 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 03:27:37 +00:00
Xavier Hanin a7eb2c27a9 NEW: Add new packager resolver (IVY-829) (thanks to Archie Cobbs)
git-svn-id: https://svn.apache.org/repos/asf/ant/ivy/core/trunk@670997 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 02:44:04 +00:00