Commit Graph

358 Commits

Author SHA1 Message Date
Joakim Erdfelt f4b5bbc447 Removing unused imports.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637540 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 04:48:58 +00:00
Joakim Erdfelt b83da3ebd2 * Adding missing text contexts needed for testing.
* Cleaning up deps based on depMgmt available in parent pom now.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637518 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 03:21:03 +00:00
Joakim Erdfelt 0e68b28176 Cleaning up deps now defined elsewhere
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637517 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 03:17:20 +00:00
Joakim Erdfelt 537c510903 Adding missing apache header.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637500 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 01:13:16 +00:00
Joakim Erdfelt cea8a7f707 Adding apache header, fixing javadocs.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637499 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 01:11:40 +00:00
Joakim Erdfelt a2afb006cf Adding missing slf4j test scope dep
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637497 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 00:49:43 +00:00
Brett Porter d410cff584 merge the archiva-spring branch
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637056 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 11:13:29 +00:00
Maria Odea B. Ching 0a545acdd7 [MRM-608]
-set whenProcessed to null everytime an artifact is discovered


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637023 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 09:13:02 +00:00
Joakim Erdfelt cd88ed03c4 MRM-709: Use commons-io instead of Plexus Utils
* Fixing build error.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637001 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 05:53:11 +00:00
Joakim Erdfelt 97bffde52d MRM-710: Use commons-lang instead of Plexus Utils
Replacing plexus utils StringUtils with FilenameUtils.


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@636997 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 05:39:17 +00:00
Joakim Erdfelt fb46349482 [MRM-709] Use commons-io instead of Plexus Utils
* Some more IOUtil and FileUtil conversions.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@636996 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 05:34:09 +00:00
Joakim Erdfelt 1e7c8f6da4 [MRM-709] Use commons-io instead of Plexus Utils
* Some more IOUtil and FileUtil conversions.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@636993 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 05:01:56 +00:00
Joakim Erdfelt adb4a8a7e4 MRM-731 - variable in url pom are not replaced.
Applying same fix as in branch/archiva-1.0.x



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@635795 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 03:59:04 +00:00
Brett Porter e47c303a0c [MRM-715] switch to IndexWriter since IndexModifier is deprecated in 2.3.1
Merged from r632892 on archiva-1.0.x branch


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@632893 13f79535-47bb-0310-9956-ffa450edef68
2008-03-03 00:51:14 +00:00
Brett Porter b2315a0cf9 [MRM-661] fix handling of removing the last element from a list
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630878 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 15:33:42 +00:00
Brett Porter 056b02a968 remove cache that caused BytecodeIndexTest to erroneously pass, fix test
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630859 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 14:22:54 +00:00
Brett Porter dcaeec7ff7 [MRM-731] fix failure introduced by previous commit
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630844 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 13:44:23 +00:00
Brett Porter 63555143b2 guard against NPE
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630842 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 13:32:12 +00:00
Brett Porter e61bcfea4c [MRM-713] extensionPattern in FilenameParser is incorrect
Submitted by:  	 james ahlborn

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630811 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 11:23:28 +00:00
Brett Porter 5673a34dbe diagnose test failure
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630810 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 11:19:40 +00:00
Brett Porter fa8cb17019 test method is required
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630801 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 10:51:28 +00:00
Brett Porter 021411ed6e disable unpredictable
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630794 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 10:32:51 +00:00
Brett Porter c9be817d7c update the JPOX plugin version to remove some unneeded dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630761 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 08:37:28 +00:00
Maria Odea B. Ching 79947feead -merge changes from archiva-1.0.x branch -r630722
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630750 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 07:38:31 +00:00
Joakim Erdfelt 64cd5a7455 MRM-709 - Use commons-io instead of Plexus Utils.
* Compensating for the behaviour difference of FileUtils.writeStringToFile() 

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630739 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 05:51:58 +00:00
Joakim Erdfelt ff7c2e5502 MRM-709: Use commons-io instead of Plexus Utils
* Using FileUtils from commons-io

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630593 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 05:21:35 +00:00
Joakim Erdfelt 153a5d32f8 MRM-709: Use commons-io instead of Plexus Utils
* Changing to FileUtils in commons-io.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630592 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 05:18:02 +00:00
Joakim Erdfelt 7b7497e19e MRM-709: Use commons-io instead of Plexus Utils
* Eliminating AsciiFileUtil as it is now redundant.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630590 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 05:12:20 +00:00
Joakim Erdfelt 40770e8d07 MRM-709: Use commons-io instead of Plexus Utils
* Using FileUtils from commons-io.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630589 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 05:07:26 +00:00
Joakim Erdfelt 1412e7ffd1 MRM-709: Use commons-io instead of Plexus Utils
* Changing FileUtils to commons-io equivalent.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630588 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 05:06:22 +00:00
Joakim Erdfelt ad39008ac5 MRM-709: Use commons-io instead of Plexus Utils
* migrating FileUtils from plexus-utils to commons-io

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630586 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 04:41:38 +00:00
Joakim Erdfelt 7151c6cada MRM-709 - Use commons-io instead of PlexusUtils.
* Adding commons-io to archiva-commons deps.
* Changing FileUtils to commons-io equivalents.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630585 13f79535-47bb-0310-9956-ffa450edef68
2008-02-24 04:33:07 +00:00
Brett Porter ee66759481 [MRM-674] correct problems with test-sources classifier and alternate version approaches
Merged from: r630092,r630094 on archiva-1.0.x branch


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630098 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 05:50:14 +00:00
Joakim Erdfelt 5f27f502ff MRM-708 - Migrate from Plexus Logging to Slf4J
* Finishing up AbstractLogEnabled conversions to Slf4J.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@629704 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 07:31:33 +00:00
Joakim Erdfelt 45fca34ec2 MRM-708 - Migrate from Plexus Logging to Slf4J
* Changing AbstractLogEnabled for consumers.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@629703 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 07:28:33 +00:00
Joakim Erdfelt 23203d1a11 MRM-708 - Migrate from Plexus Logging to Slf4J
* Fixing dependencies for slf4j



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@629701 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 07:25:33 +00:00
Joakim Erdfelt fa82cc07a1 MRM-708 - Migrate from Plexus Logging to Slf4J
* Adding slf4j-api to top level depMan
* Adding slf4j-simple to top level depMan
* Adding slf4j to archiva-common
* Changing references to AbstractLogEnabled to slf4j Logger.
* Creating Slf4JPlexusLogger to provide for non-archiva managed plexus components that require a Plexus Logger.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@629691 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 04:49:03 +00:00
Brett Porter a13e30feb5 [MRM-703] Artifacts with extensions longer than fours characters breaks repository scanning
Submitted by:  	 Jim Jackson
Merged from: r629020 on archiva-1.0.x branch


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@629023 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 08:35:55 +00:00
Maria Odea B. Ching c1744c0312 [MRM-692]
Applied patch submitted by Dario Oliveros

-added RepositoryProblemByArtifactConstraint for querying repo problems by artifact
-remove repo problems if artifact no longer exists in the repo


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@628473 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 10:40:28 +00:00
Nicolas De Loof bfd88ba767 MRM-678 : cache 404 errors in UrlFailureCache
testcase fixed to check for cache (not) to be used when cachefailure is (disabled /) enabled

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@617102 13f79535-47bb-0310-9956-ffa450edef68
2008-01-31 11:16:17 +00:00
Nicolas De Loof ef81ce7ee6 fix MRM-667 thanks to James William Dumay pacth
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@615848 13f79535-47bb-0310-9956-ffa450edef68
2008-01-28 10:39:48 +00:00
Maria Odea B. Ching 913039e58f [MRM-622]
- added test for the order of deletion in RetentionCountRepositoryPurge


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@615120 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 06:07:36 +00:00
Maria Odea B. Ching cdeba3edab [MRM-622]
- fixed up DaysOldRepositoryPurge
- added test case for the fix
- updated existing test cases
- replaced actual jar and pom files used in the test cases with dummies 


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@614840 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 11:07:09 +00:00
Maria Odea B. Ching 8dbb5ad8c0 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@612722 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 05:55:30 +00:00
Maria Odea B. Ching 720b5f60c1 [maven-release-plugin] prepare release archiva-1.0.1
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@612720 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 05:52:31 +00:00
Nicolas De Loof dbf1b87854 reverted preivous change : cacheFailure is shared between connectors and has side effects
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@611116 13f79535-47bb-0310-9956-ffa450edef68
2008-01-11 09:10:06 +00:00
Nicolas De Loof 679b8921cd skip when URL is in failure cache
cache proxy failures (404) for better performances

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@610758 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 11:00:35 +00:00
Nicolas De Loof 75a2efd2dd remove dependency between archiva-configuration and archiva-model
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@610753 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 10:54:32 +00:00
Maria Odea B. Ching 17c281888d [MRM-633]
-changed some info logs to debug
-reverted default logging level for repo scanner (in log4j.xml) from debug to info


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@610730 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 09:26:08 +00:00
Brett Porter 7e77662a93 more abstract tests
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@606082 13f79535-47bb-0310-9956-ffa450edef68
2007-12-21 01:02:45 +00:00