Commit Graph

327 Commits

Author SHA1 Message Date
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
Brett Porter c84794d15d more fixes for the change to 1.1
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@604100 13f79535-47bb-0310-9956-ffa450edef68
2007-12-14 04:28:27 +00:00
Nicolas De Loof e25c4643a5 fix missing "@since 1.1"
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@603932 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 15:02:22 +00:00
Nicolas De Loof 678173ca42 MRM-594 convert PathParsers to a plexus component, so that it can access the archivaConfiguration and read custom legacyPath 2 artifact references.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@602922 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 14:58:14 +00:00
Nicolas De Loof 5c89de0ca6 MRM-594 store exception to default legacy-path 2 artifact resolution in archiva.xml
Default configuration includes jaxen-1.0-FCS-full.jar, used by some core maven1 plugins.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@602916 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 14:43:38 +00:00
Maria Odea B. Ching 54da9df2b8 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@597643 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 11:19:29 +00:00
Maria Odea B. Ching dad43cc047 [maven-release-plugin] prepare release archiva-1.0
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@597641 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 11:16:46 +00:00
Maria Odea B. Ching c6024956a9 -added missing ArtifactClassifierMapping which got left out from yesterday's commit
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@596922 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 03:37:20 +00:00
Maria Odea B. Ching 9cc410a27c [MRM-596]
applied patch submitted by nicolas de loof

- remove the assertion that legacy path have no classifier. Simply have no way to support unstandard classifiers.
- automatically use "-javadoc" and "-sources" classifiers for path with types "javadoc.jars" and "java-sources". Check for the classifier to 
be detected in the version string and remove it.


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@596620 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 11:12:47 +00:00
Brett Porter 29b0fcbf82 moving towards the new site
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@596181 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 02:27:56 +00:00
Brett Porter 1b915c3a69 make it possible to understand why something was blacklisted
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@594423 13f79535-47bb-0310-9956-ffa450edef68
2007-11-13 04:13:02 +00:00
Joakim Erdfelt c3ebf07a4f Correcting my email address.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@594303 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 21:25:31 +00:00
Brett Porter 6312584ac3 make sure the URL includes required /
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@594269 13f79535-47bb-0310-9956-ffa450edef68
2007-11-12 19:39:47 +00:00
Brett Porter a2d82e7cbe lining up to a common parent called "archiva" instead, incorparating site, preparing for a shared product parent
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593879 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 13:14:20 +00:00
Brett Porter 606da5d43e [MRM-586] transfer failures cause proxying to fail. Added test and some notes on missing tests
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593843 13f79535-47bb-0310-9956-ffa450edef68
2007-11-11 04:07:45 +00:00
Maria Odea B. Ching 46fbfa0fd1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593451 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:32:31 +00:00
Maria Odea B. Ching 68ec920cd9 [maven-release-plugin] prepare release archiva-1.0-beta-4
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593449 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:30:01 +00:00
Joakim Erdfelt 729ad246d2 [MRM-564] Audit log is not populated when artifacts are deployed.
Expanded Audit concepts into listener / event / log.
Using log4j for audit log (for consistency with other logging)
Moved AuditLog from webapp to repository-layer.




git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593246 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 18:36:12 +00:00
Joakim Erdfelt 9f4dee3c71 [MRM-582] Remote Repositories with empty <username> and <password> fields shouldn't be created in configuration.
Implemented on-load cleanup of remote repo username/password (instead of on-save)
Implemented proper check for blank username/password in proxy connectors.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593220 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 16:19:05 +00:00
Maria Odea B. Ching 352479d4c9 - Updated repository purge tests to reflect the changes made in r592297 as suggested in the dev list
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593081 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 09:03:44 +00:00
Maria Odea B. Ching c7cd97bf16 [MRM-576]
- modified logic for deleting released snapshots, delete only if there exists a released version of that snapshot not when there is a 
higher released/snapshot version
- adjusted tests


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592657 13f79535-47bb-0310-9956-ffa450edef68
2007-11-07 09:02:58 +00:00
Joakim Erdfelt 42c39b585d [MRM-516] Search results return results for all repositories, regardless of security.
[MRM-569] Browse shows results for all repositories, regardless of security.
Merge of https://svn.apache.org/repos/asf/maven/archiva/branches/archiva-backend-security changes from revision 590763 to HEAD



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592513 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 18:26:04 +00:00
Maria Odea B. Ching 293bd8e2f2 [MRM-556]
- respect set retention count when purging by number of days old (used same logic for purging by retention count)
- updated edit managed repository validation for the number of days old minimum range
- adjusted DaysOldRepositoryPurgeTest for the changes


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@592297 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 06:16:12 +00:00
Brett Porter ed87e673fe [MRM-141] remove irrelevant documentation
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@591958 13f79535-47bb-0310-9956-ffa450edef68
2007-11-05 11:05:08 +00:00
Joakim Erdfelt baf4c89435 [MRM-547] proxy connectors: cache failures options are confusing
[MRM-549] proxy connectors: no "always" option for releases and snapshots policies
Applying changes to policy naming per decisions made in dev@archiva mailing list.
Updating DefaultArchivaConfiguration.load() to automatically adjust old configuration settings to new values.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590908 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 06:21:26 +00:00
Joakim Erdfelt 255949579d [MRM-577] Release policy of disabled fails all metadata requests.
Fixing release / snapshot policies from applying tests on maven-metadata.xml files.
Creating unit tests for release / snapshot policies.
Switching from boolean return on .applyPolicy() to throwing exception, to gain better logging of why the transfer failed.
Logging policy failures better.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590858 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 22:47:50 +00:00
Maria Odea B. Ching 0561ccc53d [MRM-544]
- remove artifact in index if artifact no longer exists in the file system
- added tests


git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590622 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 11:07:24 +00:00
Maria Odea B. Ching 76ca3a6797 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589972 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:18:56 +00:00
Maria Odea B. Ching 7cde1cdf00 [maven-release-plugin] prepare release archiva-1.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589970 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:16:21 +00:00
Joakim Erdfelt ec8628ad93 Removing archiva-xml-tools dependency from archiva-configuration.
Loading default FileTypes using plexus-configuration way, not via direct load of the XML.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589831 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 20:03:58 +00:00
Brett Porter b2c335626a [MRM-528] must only use the enabled consumers
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589542 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 08:24:12 +00:00
Brett Porter 5445c18888 update TODO
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589528 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 07:10:39 +00:00