Commit Graph

160 Commits

Author SHA1 Message Date
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
James William Dumay f3e319b018 Reverting earlier change to SearchUtil
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742863 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 06:12:32 +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 dc5aee4038 moved hit key utility method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742848 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 04:51:10 +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
James William Dumay 200a649b36 Add @Override annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742790 13f79535-47bb-0310-9956-ffa450edef68
2009-02-09 23:58:48 +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 b8f16e0c71 [MRM-933]
o set search result limits of the returned search results


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@740576 13f79535-47bb-0310-9956-ffa450edef68
2009-02-04 02:16:11 +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 c2c0d59613 map variables should be final if they are to be used with the synchronized keyword
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@727229 13f79535-47bb-0310-9956-ffa450edef68
2008-12-17 00:10:13 +00:00
James William Dumay 5786c1db33 Remove unused code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@726963 13f79535-47bb-0310-9956-ffa450edef68
2008-12-16 05:28:59 +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
James William Dumay d1e7241a84 adding overrides
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@723567 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 03:39:55 +00:00
James William Dumay 3ffefddeea making repository final
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@723224 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 06:34:53 +00:00
James William Dumay 69144ad89b Make member field final
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@723221 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 06:11:21 +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