Commit Graph

175 Commits

Author SHA1 Message Date
Maria Odea B. Ching 30ecf02f41 o synchronize repository scanning to prevent index writer/reader from being closed when repo consumers are executed from proxy requests and a
repository scanning is in progress
o updated test cases to accomodate changes


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757116 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 02:24:21 +00:00
Brett Porter 34c163502b fix test problems
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756587 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 16:35:02 +00:00
Brett Porter bf34387459 [MRM-1093] Log configuration and repository changes made.
Submitted by: Jevica Arianne B. Zurbano (applied with modifications and other refactoring)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756563 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 16:12:10 +00:00
Maria Odea B. Ching 9bd751e3d5 [MRM-1136]
o remove namespaces before getting child nodes of metadata
o added test case


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756559 13f79535-47bb-0310-9956-ffa450edef68
2009-03-20 16:05:05 +00:00
Brett Porter 3b9173e74f [MRM-1147] handling leading / on whitelists is ambiguous
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@756012 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 14:12:57 +00:00
Maria Odea B. Ching ee7a83da1d [MRM-731]
submitted by Jan Ancajas
o fix project properties being left out during cloning of the archivaProject (with unit test)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755846 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 06:14:43 +00:00
Brett Porter 6095cf8484 only create the working directory at the point it is needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755844 13f79535-47bb-0310-9956-ffa450edef68
2009-03-19 06:09:14 +00:00
Brett Porter c01c25cf0a clean warnings in xml tools module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755323 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 17:03:45 +00:00
Brett Porter 9e46c25ca2 warnings in transaction module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755305 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 16:24:16 +00:00
Brett Porter cba6c66858 warnings in repository layer and some bugs found due to non-generic lists
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755296 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 16:13:38 +00:00
Brett Porter ad7be3a3fc clean up warnings
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755287 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 15:47:25 +00:00
Brett Porter 969828589e clean up warnings
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755286 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 15:45:22 +00:00
Brett Porter 8bd81e6d6f warnings from dependency tree consumer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755284 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 15:36:42 +00:00
Brett Porter 26a9c2edfc restore previous behaviour, though it appears wrong
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755281 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 15:32:43 +00:00
Brett Porter c5d079a9a4 clean warnings from dependency-graph
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755277 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 15:18:35 +00:00
Brett Porter bd3bcaa26f clear warnings for database-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755267 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 14:29:06 +00:00
Brett Porter 75e9f6fe7a clear warnings for archiva-database
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755266 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 14:28:40 +00:00
Brett Porter e60b195d45 clean warnings in core-consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755245 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 13:48:20 +00:00
Brett Porter 2846805437 clean up warnings in archiva-converter
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755243 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 13:46:17 +00:00
Brett Porter 41854b9e2f revise code warnings in archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755240 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 13:43:33 +00:00
Brett Porter 3cdb8ce934 start adding Java5 features to modules
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755239 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 13:40:10 +00:00
Brett Porter 537ff689e7 [MRM-1140] centralise logging through slf4j
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753590 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 02:33:57 +00:00
James William Dumay b247000287 Set sytem property before loading config
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753124 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 05:27:23 +00:00
James William Dumay 47b437abc9 MRM-1138 - Fix java.lang.NullPointerException: configuration can not be null on startup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753121 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 05:22:58 +00:00
Brett Porter bf03bbad7a [MRM-1102] reduce verbosity of ZipExceptions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751941 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 01:38:09 +00:00
Brett Porter e75840b71f [MRM-1102] clean up layout exceptions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751940 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 01:35:35 +00:00
Brett Porter 0fcfb7e339 [MRM-1102] don't swallow parsing exception too early where it still has context, and only log the message not the trace in scanning
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751932 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 01:09:34 +00:00
Brett Porter 0715c95f8c clean imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751929 13f79535-47bb-0310-9956-ffa450edef68
2009-03-10 01:05:19 +00:00
Brett Porter fd62230483 [MRM-842] [MRM-836] correct the organization name and issue management URL in the database by not assigning them an automatically generated key as the identifier. We don't need these as identifiers, so simply remove
Submitted by: John Michael Luy


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751709 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 15:27:06 +00:00
Brett Porter 302247e263 [MRM-749] we actually need to explicitly skip the processFile method if the index couldn't be created
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751620 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 08:30:40 +00:00
Brett Porter 1b1f7785df [MRM-749] throw consumer exception if it can't start so that it doesn't fail processing every file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@751608 13f79535-47bb-0310-9956-ffa450edef68
2009-03-09 08:00:07 +00:00
Brett Porter 9e03d296ed formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750823 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 09:44:47 +00:00
Brett Porter 497493a78b [MRM-1073] restore backwards compatibility of model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750808 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 08:26:30 +00:00
Brett Porter 3823131239 [MNG-1073] remove class from the model that was never used and required a model change. Typically, you'd just leave it out of the current version but we get some clean up by removing it altogether without any side effects.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750795 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 07:44:10 +00:00
Brett Porter 1bd4a0386e fix formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@750786 13f79535-47bb-0310-9956-ffa450edef68
2009-03-06 06:48:58 +00:00
Brett Porter 12c36ed347 [MRM-1098] upgrade to wagon 1.0-beta-5 and remove workaround that was needed previously
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@747621 13f79535-47bb-0310-9956-ffa450edef68
2009-02-25 00:11:47 +00:00
Maria Odea B. Ching a9a04ebb7d set repository id in ArtifactUpdateDatabaseConsumer only when repository id is null
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@747306 13f79535-47bb-0310-9956-ffa450edef68
2009-02-24 08:35:43 +00:00
Maria Odea B. Ching 48e96d554f [MRM-1079]
o updated and activated tests for index cleanup consumer
o cleaned up index cleanup consumer


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746169 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 06:52:41 +00:00
Maria Odea B. Ching 57ebe9526a removed unused test resources in archiva-lucene-consumers and archiva-indexer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746157 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:55:19 +00:00
Maria Odea B. Ching b4dfa90773 o re-packaged classes in archiva-indexer
o removed old directory
o removed unnecessary references to RepositoryIndexException and RepositoryIndexSearchException which have been removed


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746146 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:25:30 +00:00
Maria Odea B. Ching c73e639ed2 remove unused classes and empty directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746141 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 05:09:07 +00:00
Maria Odea B. Ching 958b142c8f remove unused classes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@746127 13f79535-47bb-0310-9956-ffa450edef68
2009-02-20 03:45:10 +00:00
Maria Odea B. Ching 120d6513a7 [MRM-1079]
o update impl of index cleanup consumer
o moved DatabaseConsumers and LuceneCleanupRemoveIndexedConsumer to spring
o removed old classes and test stubs


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745821 13f79535-47bb-0310-9956-ffa450edef68
2009-02-19 11:24:12 +00:00
Maria Odea B. Ching 6c41ed1253 applied formatting to RepositoryContentConsumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745395 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 06:57:23 +00:00
Maria Odea B. Ching 14b464c185 [MRM-1076]
o remove second invocation of complete scan in RepositoryContentConsumers which causes the NPE


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@745393 13f79535-47bb-0310-9956-ffa450edef68
2009-02-18 06:50:21 +00:00
Maria Odea B. Ching 462af40d1e [MRM-1043]
o moved the advanced search to the quick search page
o dynamically add search criteria
o added additional test in SearchAction


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@744080 13f79535-47bb-0310-9956-ffa450edef68
2009-02-13 11:25:47 +00:00
James William Dumay 77481fb93c MRM-1084 - Upgrade modello maven plugin to 1.0 to support Java 5 generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743630 13f79535-47bb-0310-9956-ffa450edef68
2009-02-12 06:47:36 +00:00
James William Dumay d10e6a5ae2 MRM-1082 - Upgrade from plexus-maven-plugin to the plexus-component-metadata plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743238 13f79535-47bb-0310-9956-ffa450edef68
2009-02-11 05:45:52 +00:00
James William Dumay e2dda2e977 Rolling back MRM-995 as it seemed to have broken lots of things
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743171 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 23:54:32 +00:00
James William Dumay 034f98a509 MRM-995 - Generated Descriptors are wrong after Eclipse Project Clean
* Submitted by Steffen Grunwald. Thanks for the patch :)



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@743169 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 23:43:05 +00:00