Commit Graph

261 Commits

Author SHA1 Message Date
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
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 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 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 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
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 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
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 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 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 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 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 6267a21d29 MRM-1081 - Archiva model should be updated so that the ARTIFACT table includes repositoryId as a primary key
* Updated so that repositoryId is part of the primary key for an artifact
* removed old search API classes as they needed to be brought over to the new API and doing so would be a waste of time



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742859 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 05:35:05 +00:00
James William Dumay 837bb4a0b6 Ignore .indexer directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742846 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 04:46:37 +00:00
Maria Odea B. Ching b521fd00d2 remove old consumers for indexing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@741493 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 09:32:06 +00:00
Maria Odea B. Ching c0e1f8872e [MRM-749]
merged -r 728552:740257 from archiva-nexus-indexer branch


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@740552 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 01:09:17 +00:00
James William Dumay 20080174a4 MRM-1037 - Search Usability
* timestamp versions are merged to -SNAPSHOT versions
* duplicate artifacts are now merge by use of boolean filters
* we now search the correct fields
* content search has been removed (more accurate results)
* added more tokenizers for groupId, artifactId, version, etc
* Artifact Id's are weighted to improve quicksearch results



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@726928 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 02:13:25 +00:00
Brett Porter 8946eb1681 [MRM-1027] Indices are not cleaned up when deleting artifact via web services
Merged from: r722439


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@722449 13f79535-47bb-0310-9956-ffa450edef68
2008-12-02 13:02:37 +00:00
Brett Porter fdb8c33f85 [MRM-1025] further references to the old name cleaned up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@721541 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 17:40:07 +00:00
Brett Porter 88c2458c9d [MRM-1025] no longer used after move to database
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@721515 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 15:21:26 +00:00
Brett Porter ebba6ca1d7 [MRM-1025] consolidate more database uses into the database module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@721514 13f79535-47bb-0310-9956-ffa450edef68
2008-11-28 15:15:57 +00:00
James William Dumay 8152eb5642 MRM-1015 - Move consumers and related API's to Spring
RepositoryContentConsumers needed to be ported over as a spring component so that we can use the ApplicationContextAware interface.



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@719157 13f79535-47bb-0310-9956-ffa450edef68
2008-11-20 04:13:50 +00:00
Brett Porter f578399872 remove @author tags as agreed on list: http://markmail.org/message/mtycwzotzosbywzr
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@718864 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 06:33:35 +00:00
Maria Odea B. Ching db96d2d7f2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@712168 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 15:44:29 +00:00
Maria Odea B. Ching 4cd3872031 [maven-release-plugin] prepare release archiva-1.2-M1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@712154 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 15:15:14 +00:00
James William Dumay a52072ec9d Rename BaseConsumer to Consumer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@708866 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 10:38:42 +00:00
Maria Odea B. Ching a6c9464436 [MRM-952] (also fixes MRM-615, MRM-844 and MRM-620)
submitted by Michal Stochmialek
- fixes problems with expression resolving (${pom.version}) in dependencies,
- adds support for parent.{groupId, artifactId, version) properties,
- fixes issues with jdo detachCopy called from ProjectModelToDatabaseListener while creating effective pom,
- fixes inconsistency in key format used in effective model cache,
- add merging parentProject and properties while creating effective pom,
- ArchivaProjectModel.setOrgin("filesystem") was moved to readers (where IMO should be),
- adds few new test cases.

additional changes:
- applied codestyle formatting to patch


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@703626 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 03:56:18 +00:00
Brett Porter 442f4a8749 [MRM-948] remove direct use of database and indexer from the core consumers, trim database related dependencies
Merged from: r694625


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@695101 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 02:10:59 +00:00
Maria Odea B. Ching 0f5a5fd895 [MRM-841]
changed registry trigger condition for repo-purge, auto-remove, create-missing-checksums and index-content consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@691527 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 07:20:15 +00:00
Maria Odea B. Ching 13c799574c [MRM-892]
-instead of using different keywords like 'class:', 'package:' or 'method', just use one keyword for all which is 'bytecode:', user can just use 
the filtered search for specifics once it is implemented


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@680606 13f79535-47bb-0310-9956-ffa450edef68
2008-07-29 02:48:33 +00:00
Maria Odea B. Ching 23392d13f3 [MRM-892]
-changed the implementation of search by class, package or method to use specific keywords 'class:', 'package:' or 'method:' when searching 
for them (ex. class:MyClass)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@680352 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 13:35:38 +00:00
Maria Odea B. Ching 0d580b48c1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@677215 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 09:43:54 +00:00
Maria Odea B. Ching ef3b578f91 [maven-release-plugin] prepare release archiva-1.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@677213 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 09:41:07 +00:00
Maria Odea B. Ching 0a94a40f00 [MRM-737]
-do not index metadata files


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@675483 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 09:02:07 +00:00
Maria Odea B. Ching 90ef668a99 remove unneccessary codes in the searcher for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@675099 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 06:12:15 +00:00
Maria Odea B. Ching ce73f78809 log exceptions caught in the searcher
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@675097 13f79535-47bb-0310-9956-ffa450edef68
2008-07-09 05:24:34 +00:00
Maria Odea B. Ching 8b9ec9fa88 [MRM-730]
-used bcel to read the .class files
-index classnames (packagename already included here) and methods that are public
-added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674740 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 08:44:21 +00:00
Maria Odea B. Ching c5b51473ba [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674706 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 02:04:28 +00:00
Maria Odea B. Ching 84c614d09a [maven-release-plugin] prepare release archiva-1.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674704 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 02:01:17 +00:00
Emmanuel Venisse 4537213235 [MRM-847] Fix build on windows by using xmlunit to test xml output
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@671144 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 11:56:58 +00:00
Brett Porter 6d84f3a0a5 POM clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@667751 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:27:11 +00:00
Maria Odea B. Ching 7d343a62a7 [MRM-797]
-check for released versions of a snapshot across all releases repo
-add test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@660126 13f79535-47bb-0310-9956-ffa450edef68
2008-05-26 08:42:10 +00:00
Maria Odea B. Ching f4fc560e71 [MRM-773]
-added the constraints for getting the different versions of a specific artifact
-added the whenGathered field in beginScan(..) of RepositoryContentConsumer interface and updated all implementing consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652043 13f79535-47bb-0310-9956-ffa450edef68
2008-04-28 02:17:44 +00:00
Maria Odea B. Ching 328422ab73 -reverted exclusions of plexus-container in plexus-spring dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@648097 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 02:14:25 +00:00
Maria Odea B. Ching 32474f11ca -exclude plexus container in plexus-spring dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@647784 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 13:03:47 +00:00
Brett Porter db51c1b590 remove all traces of the Plexus container
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@647663 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 04:58:17 +00:00
Brett Porter 15e8484be8 clean up dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@646442 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 17:19:31 +00:00
Brett Porter f24cdcbd13 remove unnecessary component definitions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@646403 13f79535-47bb-0310-9956-ffa450edef68
2008-04-09 15:31:57 +00:00
Brett Porter 919466bbd2 additional tests and add classifier
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645780 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 07:28:46 +00:00
Brett Porter 80a96f560c guard against incorrect generation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645761 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 04:34:36 +00:00
Brett Porter fa4aa39725 a couple of workarounds to force "offline" behaviour
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645751 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 01:24:10 +00:00
Brett Porter 88d2fda16e add a consumer (not enabled by default) that can generate a dependency tree as XML
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645394 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 06:23:47 +00:00
Brett Porter 7161e98cd3 fix missing import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644567 13f79535-47bb-0310-9956-ffa450edef68
2008-04-04 01:04:10 +00:00
Brett Porter e8feb3b223 [MRM-746] also need to make sure the metadata is not scanned in getVersions
Merged from: r644317


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644324 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 14:16:35 +00:00
Brett Porter 0dc913b235 [MRM-763] correct incorrect cron expressions
Merged from: r644279


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644282 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 12:31:40 +00:00
Brett Porter a05f42cc0e restructure according to discussion on the dev list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@642497 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 03:09:22 +00:00