Commit Graph

1254 Commits

Author SHA1 Message Date
Jevica Arianne B. Zurbano ef8f63a5ac [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
* modified display of project metadata; added util to format the metadata for display
* modified format of mailing lists in "Mailing List" tab using the previous format of the mailing lists in "Project Metadata"



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@947020 13f79535-47bb-0310-9956-ffa450edef68
2010-05-21 14:22:15 +00:00
Maria Odea B. Ching bf7d9bb135 merge -c 946618 from 1.3.x branch (MRM-1066)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@946631 13f79535-47bb-0310-9956-ffa450edef68
2010-05-20 13:39:44 +00:00
Maria Odea B. Ching 4721ffeaab fixed missing closing tag
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@946110 13f79535-47bb-0310-9956-ffa450edef68
2010-05-19 10:35:24 +00:00
Jevica Arianne B. Zurbano 158fea721b * moved the creation of index into its own method
* renamed createIndexForQuickSearch to createSimpleIndex to be used in Advanced Search tests



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944651 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 14:41:11 +00:00
Jevica Arianne B. Zurbano 71f252b734 [MRM-1125] - default search should be AND not OR for multiple keywords
* applied patch
* added additional unit and selenium tests for quick search

Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@944632 13f79535-47bb-0310-9956-ffa450edef68
2010-05-15 12:56:34 +00:00
Maria Odea B. Ching d0835d9b5c merged from 1.3.x branch -r942765 (MRM-621)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@942796 13f79535-47bb-0310-9956-ffa450edef68
2010-05-10 15:44:50 +00:00
Maria Odea B. Ching 8f4f8c83e9 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o action methods for updating and retrieving metadata properties
o updated struts config for getting project metadata
o added page for metadata in webapp artifact browse
o added test for getting project metadata


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940775 13f79535-47bb-0310-9956-ffa450edef68
2010-05-04 08:54:00 +00:00
Maria Odea B. Ching 47847c95c1 moved getMetadataFile inline
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940398 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 08:49:48 +00:00
Maria Odea B. Ching 76502a997d revert consumer name which was accidentally changed in commit -r940163
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940396 13f79535-47bb-0310-9956-ffa450edef68
2010-05-03 08:41:42 +00:00
Maria Odea B. Ching ced10f5fa5 [MRM-1353] Build number is always 1 for SNAPSHOT artifacts uploaded via web upload form
merge -c 930528 from 1.3.x branch with some tweaks in the unit and selenium tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@940163 13f79535-47bb-0310-9956-ffa450edef68
2010-05-02 06:13:08 +00:00
Jevica Arianne B. Zurbano 6a2661f866 [MRM-1345] MRM-1345 update use of Nexus indexer
* applied patch
* moved the constant in a new class

Submitted by: Gwen Harold Autencio
updated dependency versions:
* nexus-indexer 2.0.5
* plexus-utils 1.5.5



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@938402 13f79535-47bb-0310-9956-ffa450edef68
2010-04-27 10:29:58 +00:00
Marecor M. Baclay 45db0bf072 [MRM-1276] Selenium tests need a clean up
- removed the unnecessary commented out lines
- modified LoginTest to use the methods in abstract class



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@933824 13f79535-47bb-0310-9956-ffa450edef68
2010-04-14 01:02:19 +00:00
Maria Odea B. Ching dda469036d [MRM-1372] Outdated instruction for Maven and JUnit still in ReadMe.txt for selenium tests
submitted by Patti Arachchige Eshan Sudharaka
o remove instruction for running pom in src/test/it


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@933495 13f79535-47bb-0310-9956-ffa450edef68
2010-04-13 06:55:01 +00:00
Marecor M. Baclay 713c937982 [MRM-1276] Selenium tests need a clean up
- added license to AbstractArtifactManagementTest class



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931478 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 09:29:51 +00:00
Marecor M. Baclay ddeaa798b6 [MRM-1276] Selenium tests need a clean up
- fixed poor formatting in the source code (tabs, etc) following the Maven Code Style



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931475 13f79535-47bb-0310-9956-ffa450edef68
2010-04-07 09:27:05 +00:00
Marecor M. Baclay 45100a8806 [MRM-1276] Selenium tests need a clean up
- used getSelenium().open() instead of clickLinkWithText



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@931081 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 10:48:51 +00:00
Marecor M. Baclay b60226f360 [MRM-1276] Selenium tests need a clean up
- removed it.properties in src/test/resources
- updated the path in property file and some classes for the changes made in r.928992



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@929005 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 06:16:30 +00:00
Marecor M. Baclay edf2cd3a40 [MRM-1276] Selenium tests need a clean up
-transferred the contents of src/test/it-resources to src/test/resources



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@928992 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 05:23:07 +00:00
Marecor M. Baclay 286a4ee97e - replaced the missed hardcoded value with the value in the property file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@925151 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 09:20:14 +00:00
Marecor M. Baclay 8d9c3f7613 - modified the scripts to use a property file(testng.properties) for dotnet artifact's groupId, artifactId and version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@925149 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 09:13:31 +00:00
Brett Porter 203660343d [MRM-1327] make sorting more consistent for other implementations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924830 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 14:33:12 +00:00
Brett Porter 1ba8d3688a [MRM-1327] make sorting more consistent for other implementations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924779 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 14:03:26 +00:00
Brett Porter 1d5a085355 [MRM-1282] consistency in parameter naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924775 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 13:47:35 +00:00
Marecor M. Baclay ac57eadd48 [MRM-1323] archiva webapp tests failed to run in internet explorer
Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924673 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 09:25:09 +00:00
Brett Porter 4c5672c59e [MRM-1327] abstract test case so that multiple implementations can use it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924641 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 05:34:55 +00:00
Brett Porter 866fbdff7a [MRM-958] switch tests to Mockito and make it easier to abstract
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924631 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 04:26:23 +00:00
Brett Porter 79189ae0ea [MRM-1366] restore missing method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@924162 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 05:35:59 +00:00
Brett Porter 2e9c35d4aa [MRM-1329] Start to revise Javadoc of APIs
- additionally, add projectVersion to the ArtifactMetadata so that the full coordinate is available.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@923520 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 00:21:13 +00:00
Brett Porter b7810bb5f8 remove dependency on repository-layer from audit module
- fix components

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921818 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 12:07:35 +00:00
Brett Porter 83ffbd8e18 fix test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921811 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:52:24 +00:00
Brett Porter e2f5e24bf0 fix test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921806 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:36:00 +00:00
Brett Porter 3387b53fca remove dependency on repository-layer from audit module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921799 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 11:05:46 +00:00
Brett Porter 51acb7acd7 remove dependency on repository-layer from repository-statistics module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921791 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:39:33 +00:00
Brett Porter 5c18f8b344 [MRM-1359] add tests for legacy format translation in WebDAV and other Maven 1 repository notes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921789 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:34:42 +00:00
Brett Porter 83821861e8 empty directories and ignores
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921786 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 10:33:24 +00:00
Brett Porter 52176501a4 [MRM-1359] Separate Maven 1.x functionality into its own plugin
- add skeleton and comments

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921691 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:50:05 +00:00
Brett Porter a7238c5eb0 [MRM-1361] add support for NPanday artifact types. Currently requires some hard coding into webapp and tests, but removing the plugin from the webapp would safely disable the functionality.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921687 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:43:23 +00:00
Brett Porter 5761f19b58 [MRM-1360] move type population into Maven 2 plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921686 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 04:33:02 +00:00
Brett Porter 4330002cef [MRM-1360] store artifact metadata in the repository and make maven facet's compliant
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921671 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 02:40:39 +00:00
Brett Porter 956d8d45d3 allow to run in jetty:run again
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921646 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 00:29:49 +00:00
Brett Porter d6c33feff1 [MRM-1282] remove use of repository layer in favour of storage API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921423 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 16:15:21 +00:00
Brett Porter 17348a45ce [MRM-1282] remove duplicated artifact population, ensuring the metadata consumer now sets facets correctly too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921376 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:55:59 +00:00
Brett Porter ca5684b38f [MRM-1282] Repository Path Translation consolidation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921374 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:47:30 +00:00
Brett Porter f97e798940 [MRM-1282] Repository Path Translation consolidation
- DefaultPathParser now a shell around RepositoryPathTranslator, for refactoring away

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921366 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 14:35:31 +00:00
Brett Porter 2211cb809d [MRM-1360] move type population into Maven 2 plugin
- correct problem with test case

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921228 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:27:51 +00:00
Brett Porter 3f9d3bac3e [MRM-1360] move type population into Maven 2 plugin
- correct problem with the instantiation of the translator in the legacy code

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921227 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:21:54 +00:00
Brett Porter 780176f7f5 [MRM-1360] move type population into Maven 2 plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921224 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 04:02:48 +00:00
Brett Porter 989f143a5f [MRM-1360] move the maven 2 repository plugin to use the shared test repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921202 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 01:38:29 +00:00
Brett Porter 3bdb27b8a0 [MRM-1282] implement maven metadata for artifacts and remove legacy code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921196 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 00:42:44 +00:00
Brett Porter 7e14904c86 remove redundant code (classifier argument is not used, maven-plugin maps to maven-plugin already using defaults)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@921193 13f79535-47bb-0310-9956-ffa450edef68
2010-03-10 00:35:11 +00:00
Brett Porter 1f60d14c48 enforce test ordering
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920792 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 10:55:47 +00:00
Maria Odea B. Ching 3deb0ee356 o update artifact groupId/artifactId to not use "test" term for uploaded artifacts not used for search test
o added note in readme file to avoid using the term "test" in artifact namespace when writining new add/upload artifact test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920773 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 10:23:57 +00:00
Brett Porter 4c2bd734ff [MRM-1282] remove JDK 6 API usage and unused method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920766 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 10:10:56 +00:00
Brett Porter ce3d47689a [MRM-1283] improve test for when the metadata is later used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920755 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 09:36:48 +00:00
Brett Porter cd9c1097d1 [MRM-1282] start to implement maven metadata for artifacts, splitting from existing sources
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920722 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 08:00:25 +00:00
Brett Porter af2a929978 [MNG-1301] remove the problem reports dependency on the repository layer, start to migrate path parsing into metadata API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920649 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 04:24:32 +00:00
Brett Porter 49eab5d3da remove unneeded commented out functionality
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920202 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 06:13:09 +00:00
Brett Porter b5202fc449 minor clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@920188 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 03:43:49 +00:00
Brett Porter 62b97751fb always output the HTML anyway
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@919326 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 07:59:47 +00:00
Brett Porter e521a959c5 [MRM-1356] handle chunked / unknown length requests correctly
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@919307 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 06:09:53 +00:00
Brett Porter e4c8856490 [MRM-1355] merge test for audit log username setting from branch, with adjustments
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918887 13f79535-47bb-0310-9956-ffa450edef68
2010-03-04 08:21:21 +00:00
Brett Porter 6418e7926c another note about Windows
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918764 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 23:21:12 +00:00
Brett Porter 76fa406159 add a note about popup blockers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918759 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 23:10:29 +00:00
Brett Porter 3b18981b51 [MRM-1323] run tests with applet disabled to avoid warnings popping up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918745 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 22:42:46 +00:00
Brett Porter 1dc20b01ac update readme
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@918712 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 21:51:41 +00:00
Brett Porter 09f8d89c57 improve logging of failed uploads
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@917519 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 13:35:38 +00:00
Brett Porter 31891b80e4 [MRM-1302] add some prevention for concurrent modification of a list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@917398 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 05:56:12 +00:00
Maria Odea B. Ching 4cb99823a0 [MRM-1312] mda5 and sha are not generated for snapshot jars
merge from 1.3.x branch -r916197 with a few tweaks in variable name in UploadArtifactTest to resolve conflict


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@916217 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 10:14:17 +00:00
Brett Porter 2db220f1a6 remove unused directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@915813 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 14:56:16 +00:00
Maria Odea B. Ching 1694da2470 fixed sorting which is causing the test to fail in some platforms
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@915240 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 08:34:24 +00:00
Brett Porter 4231711a40 [MRM-1282] sort the results for platform independance
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@911488 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 16:56:49 +00:00
Brett Porter 13d0e893b2 [MRM-1282] sort the results for platform independance
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@911469 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 16:15:15 +00:00
Brett Porter 13f4b3cc1f [MRM-1282] sort the results for platform independance
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@911453 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 15:51:07 +00:00
Brett Porter be6cebcd52 avoid logging to /logs in the tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910535 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 14:30:27 +00:00
Brett Porter 7d462ad3fe [MRM-1282] move the content into the repository data directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910504 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 12:44:12 +00:00
Brett Porter 74d0a6376f simplify test case
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910453 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 10:19:58 +00:00
Brett Porter ec255eb8ee avoid timing issues with audit logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910447 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 09:48:16 +00:00
Brett Porter cad485de24 centralise the name <-> timestamp construction to make it easier to change the pattern
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910421 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 08:15:29 +00:00
Brett Porter 38c8d861ea revert r910400, look for a simpler solution and unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910410 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 06:17:00 +00:00
Brett Porter 0db9498522 avoid timing issues with audit logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910400 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 05:34:01 +00:00
Brett Porter 199a251293 [MRM-1304] fix group ID handling for branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910396 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 05:07:20 +00:00
Brett Porter b0bf4f1689 correct test due to changed behaviour in audit log
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910393 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 04:27:33 +00:00
Brett Porter 23de2a49fb check user is logged in at end of test
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@910389 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 03:57:37 +00:00
Brett Porter 4903f8dd2d Merged /archiva/trunk:r909071-909464
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909470 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 15:53:49 +00:00
Brett Porter 20c60cb1c1 [MRM-1304] Query using Group ID field in audit log report uses '/' as a separator instead of '.'
Submitted by: Adelita L. Padilla (applied with modifications to test)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@909454 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 15:20:38 +00:00
Brett Porter 5bb1dbf6f2 merge -r909422:909434 from trunk to fix Selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909436 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 14:47:09 +00:00
Brett Porter be5981bf16 fix the audit log tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@909433 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 14:42:33 +00:00
Brett Porter 951639dec3 ensure delete tests continue working if earlier ones have failed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@909423 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 14:21:45 +00:00
Brett Porter 531994a74c use correct path
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@909422 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 14:18:59 +00:00
Brett Porter e295629858 merge -r909353:909402 from MRM-1025 branch, fixes for Selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@909410 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 13:47:29 +00:00
Brett Porter 378090d198 make sure we always use a valid path in the upload form
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909402 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 13:36:08 +00:00
Brett Porter d9f7a94c04 fix adjusted value
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909394 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 13:13:03 +00:00
Brett Porter 1e4e84e15e make paths work on windows
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909393 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 13:12:13 +00:00
Brett Porter c63e762e55 avoid black screenshots
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909376 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 12:04:36 +00:00
Brett Porter b8cee9b0ef move to using a non-suite-xml as it's the only way to run the exclusion without making multiple copies
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909372 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 11:57:15 +00:00
Brett Porter 21a6867fd6 remove comments no longer relevant
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909356 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 11:05:24 +00:00
Brett Porter b5ebb3a6d3 enable tests that only work on firefox, conditional on the firefox profile
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909354 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 11:02:02 +00:00
Brett Porter 96fb5280ef Merged /archiva/trunk:r899478-909070
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909202 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 01:43:19 +00:00
Brett Porter 333764a1da some more information
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909067 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 16:42:44 +00:00
Brett Porter 0709ac5238 re-arrange docs and write up metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909022 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 15:23:51 +00:00
Brett Porter 7cfe198d8a make javadoc work properly for -links and -tag
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@909014 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 15:05:08 +00:00
Brett Porter b10994cdcd further migrate metadata documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@908960 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 13:27:56 +00:00
Brett Porter f393ef382c migrate metadata documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@908914 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 10:34:59 +00:00
Brett Porter 666af8db99 start developer documentation for the branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@908844 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 05:29:11 +00:00
Brett Porter f6f1c92ac9 add a skin based on maven-stylus-skin that can be shared among all the module sites
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@908814 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 02:53:26 +00:00
Brett Porter c19b1e05cc reduce number of reports included
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@908808 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 02:32:53 +00:00
Brett Porter 2a55cd3e75 fix appearance of developer's reference (file missed by IDEA commit)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@908792 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 02:00:17 +00:00
Brett Porter 0389fae8d6 fix appearance of developer's reference and add a front page
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@908791 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 01:59:34 +00:00
Maria Odea B. Ching bfe9d3b48d [MRM-1316] audit log report does not restrict events to repositories that you are a manager of
o filter the results and show only actions performed on repos which the user has access to
o added selenium test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@905996 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 11:11:06 +00:00
Maria Odea B. Ching 1d8d52338c fixed failing selenium tests by:
o adding check if already in the page before attempting to click the link in nav menu
o adding dependency to previous test for adding repository so proper order is executed


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@905969 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 10:14:31 +00:00
Brett Porter e35a35c8f0 [MRM-1025] remove database related Selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900833 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 16:25:11 +00:00
Brett Porter d0b2a20903 [MRM-1025] avoid concurrent access exceptions
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900825 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 15:49:53 +00:00
Brett Porter 93f9e26408 [MRM-1269] restore pseudo-search by artifact in audit logs
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900726 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 11:21:10 +00:00
Brett Porter 9a1c82e9af [MRM-1025] remove Java 1.6 methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900720 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 10:41:19 +00:00
Brett Porter 9c28117ca3 [MRM-1282] switch all timestamps to UTC
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900698 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 08:31:11 +00:00
Brett Porter 70fc5323d6 [MRM-1316] restrict audit log report to repositories that you are a manager of
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900696 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 08:15:44 +00:00
Brett Porter 06a035aacd [MRM-1282] clean up edit test, note that a location change does not delete audit events
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900692 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 07:45:04 +00:00
Brett Porter 0e58834406 [MRM-1282] ensure repository metadata is deleted when repository is
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900685 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 07:29:54 +00:00
Brett Porter 640d3436f6 [MRM-1296] improve audit logging and testing of upload action
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900683 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 07:17:02 +00:00
Brett Porter 606c82cbca merged recent changes from trunk, and reimplemented incoming audit log functionality as a plugin using the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900664 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 06:15:09 +00:00
Brett Porter 685419f082 [MRM-1282] update documentation of content model
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900604 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 23:20:59 +00:00
Brett Porter 1f180c0a27 [MRM-1315] delete artifact should log artifact audit information consistently
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900594 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 22:51:27 +00:00
Brett Porter f90bb19efe restore versions on trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@900345 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 11:20:28 +00:00
Brett Porter 3411845c6b [maven-release-plugin] prepare release archiva-1.3.x
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@900342 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 11:09:37 +00:00
Brett Porter 96c99628aa ensure test is not skipped and clarify meaning (can't test searching with no access, it wouldn't appear in the list)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899070 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 06:04:54 +00:00
Brett Porter d0b3ad29df log skips
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899067 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 05:28:51 +00:00
Brett Porter 9ef096945d fix repository scanning tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899066 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 05:28:31 +00:00
Brett Porter 4457762692 fix the search test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899055 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 04:27:07 +00:00
Brett Porter f6a631b7d5 fix virtual repository test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899054 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 04:17:04 +00:00
Brett Porter 560d3e0ebc if capturing a screenshot fails, save the HTML
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899049 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 03:42:01 +00:00
Brett Porter ba1abce283 fix the repository test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899032 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 02:24:25 +00:00
Brett Porter edf6aa2ced remove dependencies on artifact upload functionality, add test fixture data. Temporarily disable tests that don't work on Safari
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899031 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 02:15:09 +00:00
Brett Porter bc8f42601c additional note
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899028 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 01:48:14 +00:00
Brett Porter 294c3c6331 add some notes about tests that won't work in other browsers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899027 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 01:47:20 +00:00
Brett Porter 04f540b467 remove unwarranted dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899017 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 01:14:14 +00:00
Brett Porter d72a860d41 merge prep step into test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899014 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 01:03:02 +00:00
Brett Porter e81d9aebc9 fix property name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@899012 13f79535-47bb-0310-9956-ffa450edef68
2010-01-14 00:53:31 +00:00
Brett Porter d0b3bb88a7 fix parent reference
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898641 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 03:57:06 +00:00
Brett Porter fb9ad3f771 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898618 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 02:07:00 +00:00
Brett Porter d3fede7d5d [maven-release-plugin] prepare release archiva-1.3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898616 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 02:05:50 +00:00
Maria Odea B. Ching c51b0e4790 [MRM-1268] X-Forwarded-Host handling when having more than one proxy
submitted by Andreas Baumann

o taking just the outermost (first one) proxy in the 'X-Forwarded-Host' HTTP field


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898212 13f79535-47bb-0310-9956-ffa450edef68
2010-01-12 07:56:46 +00:00
Maria Odea B. Ching b44ad982c3 [MRM-1296] Audit logging report
merged MRM-1296 branch to trunk


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@897892 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 15:07:00 +00:00
Maria Odea B. Ching 9b2e1cfa42 [MRM-1277] Create Selenium test for advanced search feature
o add advanced search selenium test using different search criteria


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@897862 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 13:57:15 +00:00
Maria Odea B. Ching 160afaa199 [MRM-1185] Archiva Reporting Modification Request
submitted by Maria Catherine Tan

o add ears, dlls, exes and zips count to generated repo statistics report


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@897827 13f79535-47bb-0310-9956-ffa450edef68
2010-01-11 10:17:18 +00:00
Maria Odea B. Ching cf436f5b1b fix failing tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@897165 13f79535-47bb-0310-9956-ffa450edef68
2010-01-08 11:04:14 +00:00
Maria Odea B. Ching 9cfe307218 [MRM-1270] improve error message when the user does not have access to any repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@894332 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 09:37:22 +00:00
Brett Porter 82f8a22ed6 [MRM-1301] remove any problem reports when metadata is re-processed
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893692 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 04:20:41 +00:00
Brett Porter 1f1252456a [MRM-1283] keep track of incomplete metadata so that it can self correct and show a meaningful message to the user
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893691 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 04:02:11 +00:00
Brett Porter 79de06cf3e [MRM-1283] propagate errors occurring during resolution
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893686 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 02:40:57 +00:00
Brett Porter 9076b869b3 [MRM-1283] collapse groups properly across multiple repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893683 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 01:58:25 +00:00
Brett Porter 0f2abe9bda [MRM-1282] clarify warning
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893372 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 01:18:16 +00:00
Brett Porter aa6f46b121 [MRM-1282] avoid creating invalid facets
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893369 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 01:02:15 +00:00
Brett Porter 4ad4cd3ced [MRM-1282] only create version metadata if necessary
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893368 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 01:01:32 +00:00
Brett Porter b85d4d795b [MRM-1282] additional logging
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893367 13f79535-47bb-0310-9956-ffa450edef68
2009-12-23 01:00:36 +00:00
Brett Porter 7a2047d3fe [MRM-1282] add some logging with regard to namespaces and resolution
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@893130 13f79535-47bb-0310-9956-ffa450edef68
2009-12-22 10:34:07 +00:00
Brett Porter efd9d33b06 [MRM-1282] add some notes about snapshot handling in light of the new getArtifacts method
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892806 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 12:58:42 +00:00
Brett Porter eea9187d45 [MRM-1282] make sure snapshot artifact versions are processed correctly - remove debugging
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892792 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 12:15:06 +00:00
Brett Porter 5a92d22118 [MRM-1282] make sure snapshot artifact versions are processed correctly
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892790 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 12:12:58 +00:00
Brett Porter e4c08941e9 [MRM-1285][MRM-404] preserve correct ordering in download box
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892778 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 11:48:08 +00:00
Brett Porter 2a2fb9d321 [MRM-1285][MRM-404] improve appearance of the downloads box and correct handling of snapshots
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892774 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 11:42:47 +00:00
Brett Porter 1f633d5244 [MRM-1285][MRM-404] improve appearance of the downloads box and correct handling of snapshots
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892772 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 11:34:37 +00:00
Brett Porter 9d2cf5df8c [MRM-1306] upgrade jQuery and jQuery UI versions
Merged from: r892686


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@892688 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:09:44 +00:00
Brett Porter b3f877554f [MRM-1306] upgrade jQuery and jQuery UI versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@892686 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 05:04:42 +00:00
Brett Porter 62e051806e [MRM-1293] align the documented content model to the implementation for the statistics nodes
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891520 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 02:00:27 +00:00
Brett Porter bc6ca302ad [MRM-1025] remove straggling references to old JNDI name
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891457 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 22:25:29 +00:00
Brett Porter 23d65a33f6 [MRM-1025] remove JPOX from the model and remove the Archiva database configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891133 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 06:44:32 +00:00
Brett Porter 966d79546d [MRM-1025] remove artifact deletion and update consumer. remove archiva-database module
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891130 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 06:18:33 +00:00
Brett Porter 7e6661a58a [MRM-1301] fix the statistics report page
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891116 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 04:03:43 +00:00
Brett Porter 9bbb1dc8ce [MRM-1301] make warning message clearer
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891115 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 03:50:01 +00:00
Brett Porter 63e3253e79 [MRM-1301] add back summary statistics for per-type counts
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891113 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 03:47:02 +00:00
Brett Porter 0960c24cfb [MRM-1301] add back summary statistics for various counts
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891102 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 02:25:42 +00:00
Brett Porter 2a5c2bb81a [MRM-1301] add back problem reporting for POM in the wrong location
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891087 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 00:53:37 +00:00
Brett Porter 0f4bec3049 [MRM-1301] add back problem reporting for invalid / missing POM
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891084 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 00:38:50 +00:00
Brett Porter 4331620db6 [MRM-1301] migrate reports to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891064 13f79535-47bb-0310-9956-ffa450edef68
2009-12-15 23:07:36 +00:00
Brett Porter 7da14962fa [MRM-1301] remove exception that is thrown and caught here only
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889260 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 13:42:22 +00:00
Brett Porter fea2f766b3 put back artifact reports, missed a use
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@889249 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 13:05:04 +00:00
Brett Porter 3c590e4a5c Merged /archiva/trunk:r888397-889227
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889240 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 12:44:58 +00:00
Brett Porter eb65db1a99 move the unused reports into the sandbox
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@889221 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 12:04:44 +00:00
Brett Porter e3f7c9572d move reporting dependency to the correct location
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@889220 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 12:03:03 +00:00
Brett Porter 5e5764c8a0 [MRM-1025] remove constraint that is no longer used
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889205 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:41:18 +00:00
Brett Porter 9b2c646f75 [MRM-1300] move search and find artifact action over to metadata repository for XMLRPC
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889203 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 11:36:51 +00:00
Brett Porter a08431ea1a [MRM-1300] move search and find artifact action over to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889130 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 08:22:22 +00:00
Brett Porter 2c63e15d42 [MRM-1282] make artifacts load metadata on the fly from a maven2 repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889083 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 04:16:11 +00:00
Brett Porter 33401e9819 [MRM-1282] fix problem with getArtifactVersions when there are multiple artifacts
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889062 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 02:30:01 +00:00
Brett Porter a3a67162c5 [MRM-1282] make the creation consumer read from storage so we get consistent metadata creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889061 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 02:29:30 +00:00
Brett Porter b884896763 [MRM-1025] remove constraint that is no longer used
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889053 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 01:34:45 +00:00
Brett Porter db5b5be329 [MRM-1283] change the DownloadArtifact tag to not use the database
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@889051 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 01:33:30 +00:00
Brett Porter d7148894cf [MRM-1282] correct getArtifactVersions
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888730 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 08:22:15 +00:00
Brett Porter 99765460e0 [MRM-1299] migrate RSS from the database to the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888723 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 08:08:21 +00:00
Brett Porter 94e702281c [MRM-1025] remove unused classes and directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888676 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 02:08:07 +00:00
Brett Porter 830fa7a4a3 [MRM-1025] remove unused dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888675 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 02:07:46 +00:00
Brett Porter 9975401b34 [MRM-1025] remove unused dependencies
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888661 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 00:34:57 +00:00
Brett Porter add8678ac5 [MRM-1025] remove more now unused database code
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888625 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 23:20:34 +00:00
Brett Porter 4ea422a9d1 remove unnecessary dependency on commons-lang
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888603 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 22:31:37 +00:00
Brett Porter ebaee33d1e Merged /archiva/trunk:r887040-888396
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888427 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 15:09:13 +00:00
Brett Porter 1d01e87b74 [MRM-1293] add tests for GenerateReportAction to better validate conversion in metadata repository branch
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@888396 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 13:31:47 +00:00
Brett Porter b0304e08c3 [MRM-1293] remove RepositoryContentStatistics in favour of new repository-statistics module and adjust reporting action. Note that data population is still required to complete this issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888325 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 11:14:14 +00:00
Brett Porter 06f9863c47 [MRM-1293] remove unused stubs
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888252 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 04:13:44 +00:00
Brett Porter 639b5e1df2 [MRM-1293] remove use of repository content statistics from the managed repository deletion
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888249 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 04:04:03 +00:00
Brett Porter 2a3f4b76be [MRM-1293] remove use of repository content statistics from the managed repository deletion
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888245 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 04:02:18 +00:00
Brett Porter 1edb4874b2 [MRM-1293] remove constraint that is no longer used
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888232 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 02:43:09 +00:00
Brett Porter 1dad23aaf3 [MRM-1293] adjust the EditManagedRepositoryAction to delete statistics when the repository location changes.
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888185 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 23:27:58 +00:00
Brett Porter 7c7fffc71c [MRM-1293] introduce repository statistics as a new plugin that operates over the metadata repository. Currently a work in progress - repository size statistics are not stored, and only the scanner and scheduler have been hooked in (meaning reports will be out of date)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888164 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 22:32:10 +00:00
Brett Porter 8afc66c9d2 [MRM-1025] remove old references to stub
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@887918 13f79535-47bb-0310-9956-ffa450edef68
2009-12-07 13:03:36 +00:00
Marecor M. Baclay f640a09b4f [MRM-1241] Selenium Tests for Repository Scanning and Database
- adding test scripts for Database



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887086 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 07:06:37 +00:00
Brett Porter 9ff4303708 fix incorrect merge
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@887053 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 04:22:20 +00:00
Brett Porter fcd43810f5 Merged /archiva/trunk:r885006-887051 (applied changes to scheduler manually due to different location)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@887052 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 04:08:30 +00:00
Brett Porter 6c1cd8d63f exclude .svn directories in the test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887051 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 04:07:12 +00:00
Brett Porter 521bb63ade Merged /archiva/trunk:r885006-887039
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@887043 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 03:00:22 +00:00
Brett Porter d41af9e700 [MRM-1294] start the search period from the *start* of the previous scan rather than the end to discover anything added in the middle. Some artifacts may get scanned twice, but this is a better consequence than not at all
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887030 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 01:42:14 +00:00
Brett Porter 30f8605a1d [MRM-1294] avoid starting the search period at twice the duration since the start of the previous scan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887027 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 01:22:43 +00:00
Brett Porter 58b9f885e0 improve test case to check stats
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887026 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 01:18:13 +00:00
Brett Porter 3e47fdca1a test case refactoring for clarity
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@887005 13f79535-47bb-0310-9956-ffa450edef68
2009-12-04 00:05:01 +00:00
Brett Porter 5996457bf2 [MRM-1272] correct empty error message when there is a problem from Lucene
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@886966 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 22:40:24 +00:00
Brett Porter 2ee251d807 [MRM-1293] minor cleanup of unused fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886676 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 04:25:43 +00:00
Brett Porter fc37f62c5c formatting only
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886673 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 04:20:59 +00:00
Brett Porter 94ece43b50 [MRM-1293] some clean up in preparation for changes to repository statistics
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886669 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 03:36:57 +00:00
Brett Porter 49157f1525 [MRM-1025] fill out more of the information in the metadata creation consumer to make it consistent with the current database record creation consumer
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886126 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 11:54:28 +00:00
Brett Porter b9d374dd09 [MRM-1025] remove empty directories and unused class
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886110 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 10:45:10 +00:00
Brett Porter 209df33fed [MRM-1025] remove model fields that are not used for clarity
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886101 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 10:23:42 +00:00
Brett Porter 42122ac3df [MRM-1025] add other properties to the content model from maven metadata and filesystem
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886053 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 05:34:27 +00:00
Brett Porter 92ff5796fc [MRM-1025] add references to the content model
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886049 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 04:52:12 +00:00
Brett Porter b4a510f1cd [MRM-1025] update the content model with information from the former project model database. Not all of this is stored in the current implementation as it wasn't previously used.
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886048 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 04:45:50 +00:00
Brett Porter 7a63bee6de [MRM-1025] remove project model as this is all now in the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886037 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 02:33:02 +00:00
Brett Porter cb96e18f97 [MRM-1025] change duplicate artifact reporting to be a repository scanned consumer to facilitate removing the database unprocessed consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@886035 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 02:21:05 +00:00
Brett Porter ab97829db0 [MRM-1025] switch upload action to use the maven-model writer instead
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885817 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 16:17:48 +00:00
Brett Porter cfabf95ff6 formatting only
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885816 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 16:17:08 +00:00
Brett Porter 52bcd1b58b [MRM-1292] replace the dependency graph by a maven-dependency-tree based implementation (maven-project is not used)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885812 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 16:01:31 +00:00
Brett Porter e195adc06c [MRM-1025] remove some consumers that don't actually do anything
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885638 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 00:58:28 +00:00
Brett Porter 504f80e6a8 [MRM-1283] updates to reflect new output model format
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885470 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 16:00:57 +00:00
Brett Porter 1cf0f9f7a5 [MRM-1282] correct updating of facets in the file-based repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885466 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 15:51:19 +00:00
Brett Porter d0aaf12ca1 [MRM-1288] remove RepositoryBrowsing interface that is no longer used
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885436 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 14:38:40 +00:00
Brett Porter 3278cdc8ae [MRM-1288] move quickSearch from repository browsing to metadata content repository API
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885430 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 14:19:56 +00:00
Brett Porter bfc001b7e1 [MRM-1288] move getArtifactVersions() method to new repository API
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885331 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 04:23:03 +00:00
Brett Porter 00fb9a045e throw an exception from unimplemented methods instead of silently returning empty results
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@885330 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 04:01:47 +00:00
Brett Porter 2ca1b79844 [MRM-1288] move getDependencies() method to new repository API
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885328 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:50:51 +00:00
Brett Porter 711db6f5af [MRM-1288] correction to adjusted getDependees() test
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885326 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:32:58 +00:00
Brett Porter 112223260e clean up some comments that aren't needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885321 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:17:05 +00:00
Brett Porter ff777a898a clean up some comments that aren't needed
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885320 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:14:40 +00:00
Brett Porter d6c5ea064e [MRM-1288] migrate getDependees() to new API
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885319 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 03:10:40 +00:00
Brett Porter 0caebfc6b6 formatting changes only
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885316 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 02:43:00 +00:00
Brett Porter 9aabebcdf5 [MRM-1290] correct hardcoding in getDependees
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@885315 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 02:41:46 +00:00
Brett Porter 9f389a48a0 [MRM-1290] correct hardcoding in getDependees
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885314 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 02:37:38 +00:00
Brett Porter 75704f4bd0 [MRM-1288] correct test case for missing artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885313 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 02:33:01 +00:00
Brett Porter a56dfc7a12 [MRM-1283] a further slight improvement to performance of on-demand resolution from storage
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885100 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 14:51:55 +00:00
Brett Porter 3d61eecdc4 [MRM-1283] improve performance of on-demand resolution from storage. Still could be improved.
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885095 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 14:28:30 +00:00
Brett Porter 61745667ab [MRM-1283] intercept requests for browsing and use the repository storage to determine values if not in metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885072 13f79535-47bb-0310-9956-ffa450edef68
2009-11-28 08:32:21 +00:00
Brett Porter c79221c997 [MRM-1283] remove legacy model intermediatary
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885051 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 23:39:42 +00:00
Brett Porter 99f6382dd3 fix organization tag
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@885034 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 22:01:10 +00:00
Brett Porter 2721d7bf8d [MRM-1283] moved browseArtifact() functionality over to metadata repository and remove repositoryBrowsing component
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@885001 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 20:50:34 +00:00
Brett Porter 043a336aa5 [MRM-1283] moved browseGroup() functionality over to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884882 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 14:12:01 +00:00
Brett Porter c5cb5db5c8 [MRM-1283] moved first part of browse() functionality over to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884866 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 13:09:04 +00:00
Brett Porter 6ea52a427d add test cases for the browse action
Merged from: r884741


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@884742 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 04:35:59 +00:00
Brett Porter 453cf94a45 [MRM-1283] add tests for existing browse functionality before migrating to the content repository API
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884741 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 04:00:05 +00:00
Brett Porter 9ca17ec770 [MRM-1283] migrate dependees() / "used by" tab to metadata repository and remove repositoryBrowsing from ShowArtifactAction
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884727 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 00:16:19 +00:00
Brett Porter cd4c3cb104 [MRM-1283] migrate dependencies() method to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884536 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 11:49:56 +00:00
Brett Porter a9d2d71164 [MRM-1283] migrate dependencyTree() method to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884425 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 07:05:47 +00:00
Brett Porter bf527dc936 [MRM-1283] migrate mailingLists() method to metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884414 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 06:44:40 +00:00
Brett Porter b28cc66a36 [MRM-1283] add test for existing dependees method
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884401 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 05:25:22 +00:00
Brett Porter d332ed615e [MRM-1283] add test for existing dependencies method
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884398 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 05:04:18 +00:00
Brett Porter 869f965da6 [MRM-1283] restore other testing infrastructure and add test for existing mailingLists method
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884396 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 04:37:47 +00:00
Brett Porter e9962a70d5 [MRM-1282] set the validation level to a more reasonable one for this purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884395 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 03:46:06 +00:00
Brett Porter 9dd7217b10 [MRM-1282] expand on comment for future reference
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884377 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:51:15 +00:00
Brett Porter 3529172859 [MRM-1282] support storing facet content in the file metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884372 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 02:24:35 +00:00
Brett Porter 9062810001 [MRM-1282] store more of the content in the file metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884177 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 16:24:55 +00:00
Brett Porter 9c2b960aea [MRM-1283] handle missing Maven facet
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884147 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 15:33:40 +00:00
Brett Porter f863666a3d [MRM-1282] fix file metadata format
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884140 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 15:26:07 +00:00
Brett Porter 91cb91a8a2 [MRM-1282] fix some problems with the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884134 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 15:18:54 +00:00
Brett Porter b6cf0bf5fa [MRM-1025] correct bean definition to match recent API changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884124 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 14:53:39 +00:00
Brett Porter 9f5bc4ba3c [MRM-1025] correct bean definition to match recent API changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884099 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 13:57:05 +00:00
Brett Porter 70137a6054 [MRM-1282] ensure correct version of maven-model is used in the webapp, and utilise across all modules
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884094 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 13:48:16 +00:00
Brett Porter dd67f0be67 [MRM-1282] improve unit testing
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884084 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 13:00:39 +00:00
Brett Porter 7c7f2cfd6d [MRM-1282] improve exception handling
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884066 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 12:17:38 +00:00
Brett Porter 78191d6285 [MRM-1282] more reading of Maven POM into metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@884062 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 11:45:49 +00:00
Brett Porter 8a0aa76e24 Merged /archiva/trunk:r882384-883981
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883995 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 06:55:27 +00:00
Brett Porter 7a52fa2fbf [MRM-1282] handle snapshot versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883981 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 05:32:18 +00:00
Brett Porter 8cd001c36c [MRM-1282] note a fix that is needed sooner to restore legacy storage capabilities
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883966 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 03:14:29 +00:00
Brett Porter 46fa883487 [MRM-1282] clear up confusing "build" terminology, instead using project version (1.0-SNAPSHOT) and artifact version (1.0-20091112.0123456-1)
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883965 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 03:11:22 +00:00
Brett Porter 7d2c217bdb [MRM-1282] commit missing test files
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883938 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 00:48:43 +00:00
Brett Porter 9c623e7fb2 [MRM-1282] commit missing test files
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883937 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 00:47:58 +00:00
Brett Porter d9e22fa778 [MRM-1282] introduce a metadata resolver API that will allow just-in-time addition to the content repository and the ability to introduce proxying
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883936 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 00:45:57 +00:00
Brett Porter 627ad47211 [MRM-1283] start to migrate browse functionality to use the content repository. At present, this does everything except the just-in-time processing of models that haven't been stored yet
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883603 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 06:26:04 +00:00
Brett Porter 76eeda51bb [MRM-1282] additional clarification of notes
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@883573 13f79535-47bb-0310-9956-ffa450edef68
2009-11-24 02:09:06 +00:00
Maria Odea B. Ching 2fa9e76dfc [MRM-1228] Ping service in not working
o added ping invocation to sample client


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883067 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 12:25:10 +00:00
Maria Odea B. Ching 9c0bce1390 [MRM-1228] Ping service in not working
o changed from TestService to PingService
o fixed bean config in applicationContext in webapp
o added service object annotation for xmlrpc binder


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883066 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 12:23:00 +00:00
Maria Odea B. Ching 081473a2e3 fixed field name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 11:43:28 +00:00
Maria Odea B. Ching 860d4dcfb0 [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o added selenium test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883059 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 11:26:06 +00:00
Maria Odea B. Ching 27cb4991b1 [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o block re-deployment of released artifacts to repository of configured using web upload form
o added unit test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883057 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 10:51:07 +00:00
Maria Odea B. Ching 56ddb014a1 updated comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883052 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 09:32:35 +00:00
Maria Odea B. Ching 614a6c1e2f [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o make blocking of re-dployments configurable per repository
o added test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883051 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 09:28:36 +00:00
Maria Odea B. Ching 0708065319 [MRM-1274] SearchService.quickSearch returns artifacts with null as repositoryId
o get repo id from db since it's not set in search result
o set repositoryId as bean field in Artifact obj so it's included when bean is converted
o updated unit tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@883046 13f79535-47bb-0310-9956-ffa450edef68
2009-11-22 08:32:36 +00:00
Brett Porter 05d2784124 [MRM-1282] load content only from a single node at a time
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882532 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 12:14:04 +00:00
Brett Porter b1866d7dd0 more interesting fields to remember
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882519 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 11:51:59 +00:00
Brett Porter 9a8138a5a2 [MRM-1283] additional tests for ShowArtifactAction
Merged from: r882457


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882459 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 09:15:06 +00:00
Brett Porter f092d04e90 [MRM-1282] a couple more notes on the content model
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882458 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 09:10:02 +00:00
Brett Porter 07675585a2 [MRM-1283] write tests for artifact() method of ShowArtifactAction in preparation for switching to metadata content repository based access
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882457 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 09:09:01 +00:00
Maria Odea B. Ching 607b7fb090 [MRM-1033] Changing the location of a scanned repository results to the contents of the new location not getting indexed
submitted by Maria Catherine Tan
o delete all stats when repository location is changed


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882448 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 08:41:50 +00:00
Brett Porter d082c57592 [MRM-1282] add a draft content model
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882417 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 05:07:04 +00:00
Maria Odea B. Ching 92d9bce38a remove commented out code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882402 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 03:35:50 +00:00
Maria Odea B. Ching 33c8c4c81e [MRM-1278] Wrong repository displayed in Archiva browse
o added selenium test that uploads SNAPSHOT artifacts in releases and snapshots repositories and checks artifact info page for correct artifact information
o refactored upload artifact methos in AbstractManagementTest, moved them over to AbstractArchivaTest to avoid repetition in other tests that uses it


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882399 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 03:31:19 +00:00
Brett Porter 69a38f7af5 Merged /archiva/trunk:r882055-882383
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882394 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 03:15:07 +00:00
Brett Porter caaee4251e [MRM-1281] remove unused database consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882363 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 23:39:09 +00:00
Brett Porter 4102a4a916 [MRM-1025] split the scheduler into modules to isolate database and indexer dependent code
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882207 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 17:16:20 +00:00
Maria Odea B. Ching e9d9ac68e6 [MRM-1278] Wrong repository displayed in Archiva browse
o retrieve artifact by using ArtifactsRelatedConstraint instead of using getArtifact(..) with an incorrect type
o updated existing and added new unit test for repo browse


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@882090 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 09:51:03 +00:00
Brett Porter 644537ee8b cleanup javadoc tags
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882063 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 07:18:49 +00:00
Brett Porter bfd5ffb44a cleanup javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882061 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 07:16:29 +00:00
Brett Porter 601939b9e9 Merged /archiva/trunk:r825850-882054
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882055 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 06:20:43 +00:00
Brett Porter fcd88ac350 analyze POM
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882054 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 06:02:35 +00:00
Brett Porter fe034d4f99 [MRM-1281] remove unused consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882046 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 04:35:09 +00:00
Brett Porter ad41c470cc clean up some notes, plans and formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@882027 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 01:55:27 +00:00
Maria Odea B. Ching 2819ac8d30 fix unable to delete index IOException in tests when built in windows
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@881656 13f79535-47bb-0310-9956-ffa450edef68
2009-11-18 03:11:13 +00:00
Maria Odea B. Ching 3724f9749c [MRM-1277] Create Selenium test for advanced search feature
o added webapp tests for searching non existing artifacts and when no search criteria is specified in advanced search


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@880666 13f79535-47bb-0310-9956-ffa450edef68
2009-11-16 08:33:59 +00:00
Maria Odea B. Ching 4abf4521ef use project.basedir instead of just basedir
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834798 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 08:11:53 +00:00
Maria Odea B. Ching eb4a1b8315 fixed path where tomcat zip is unpacked
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834773 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 05:56:40 +00:00
Maria Odea B. Ching 0b6a098ec3 [MRM-1275] Include other file types for the index consumer instead of just the indexable-content
o add artifacts file types so it gets processed by the consumer
o added unit test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834426 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 11:04:15 +00:00
Brett Porter b4fe9fb58f JUnit tests were removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834420 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:48:26 +00:00
Brett Porter 08bdeff48b store cargo installations outside target to avoid re-downloading
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834415 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:26:23 +00:00
Brett Porter 8ff4b8cf34 set default timeout as well as the explicit one
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834412 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:13:08 +00:00
Brett Porter d6e13a5e3b make test more resilient to whitespace in titles
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834410 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 10:12:04 +00:00
Brett Porter 737ef89580 more flexible test since it might have a newline in the middle
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834404 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:45:44 +00:00
Brett Porter 2e46d0022f make it easier to debug by just starting Cargo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834403 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:44:04 +00:00
Brett Porter e0a8ec4bfc move the archiva database into target
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834398 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:35:23 +00:00
Brett Porter bc45d38110 make Tomcat version a property
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834395 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:18:52 +00:00
Brett Porter 3badf128c0 upgrade to a release of Selenium
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@834393 13f79535-47bb-0310-9956-ffa450edef68
2009-11-10 09:10:58 +00:00
Brett Porter 7a8d1b790b remove clean plugin - the cleanJetty profile handles this
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@830090 13f79535-47bb-0310-9956-ffa450edef68
2009-10-27 08:08:55 +00:00
Brett Porter 3879c79bd6 remove duplicate dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@828892 13f79535-47bb-0310-9956-ffa450edef68
2009-10-22 23:47:04 +00:00
Brett Porter 402c390102 PlexusInSpringTestCase correctly translates this
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@827026 13f79535-47bb-0310-9956-ffa450edef68
2009-10-20 10:30:52 +00:00
Brett Porter 2a5d5cea40 [MRM-1025] note about hard coding
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825920 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 14:53:57 +00:00
Brett Porter 116d2d2387 [MRM-1025] make sure listeners work in delete artifact action
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825884 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 13:26:47 +00:00
Brett Porter e89326d687 [MRM-1025] merge -r721944:723577 from former MRM-1025 branch, now aligned to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825867 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 12:35:38 +00:00
Brett Porter 61336c8774 clean up unused methods, bolierplate
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825750 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 02:56:47 +00:00
Brett Porter df39db0389 [MNG-1231] correct authorization for all getDepend* methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825739 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 02:27:25 +00:00
Brett Porter 9d8b2bddec [MRM-1266] results page fails when find artifact returns multiple results
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825701 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 23:40:43 +00:00
Brett Porter fa096dfcdb [MRM-1264] don't close the indexing context - that is done by the finish task that was added. Since they are queued, it was being closed too early.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825468 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 11:37:09 +00:00
Maria Odea B. Ching 91cf97a170 fixed method name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825452 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 09:59:32 +00:00
Maria Odea B. Ching fa22abb913 [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
o moved check for metadata support files to RepositoryRequest and added tests
o throw DavException error 409 immediately for released artifacts intead of a ReleaseArtifactAlreadyExistsException


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825449 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 09:40:40 +00:00
Jevica Arianne B. Zurbano 7ecf7e1e88 revert changes made (MRM-1246)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825431 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 08:18:29 +00:00
Brett Porter 9325a5a1c6 [MNG-1264] make it clearer if the index gets into a bad state
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825415 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 07:22:29 +00:00
Brett Porter 3b5817496e [MRM-1265] .indexer should be excluded from scanning
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825390 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 04:41:43 +00:00
Brett Porter e5c3dc20fb [MRM-1259] only index content that is listed in indexable-content configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825382 13f79535-47bb-0310-9956-ffa450edef68
2009-10-15 03:41:57 +00:00
Brett Porter c30389bfe8 [MRM-1264] Only create the DefaultIndexingContext once for a scan to reduce the amount of garbage collection. Also move optimization to end of scan to increase performance.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825163 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 15:15:43 +00:00
Brett Porter 0cf3f93e5a [MRM-1264] reduce memory used by indexing process
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825082 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 10:27:48 +00:00
Brett Porter accfd9680f unused imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825080 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 10:19:31 +00:00
Brett Porter 4116a4177a clean imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825075 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 10:00:21 +00:00
Brett Porter 36042466c5 remove unused vars
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825074 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 09:59:25 +00:00
Brett Porter 3a327868d0 remove unused fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825073 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 09:56:19 +00:00
Brett Porter c61e55fd4f [MRM-1262] move the index packing job to the end of a scan
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825012 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 05:41:45 +00:00
Brett Porter 2d73132f91 shorten job names to preserve some memory since they are frequently created
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@825005 13f79535-47bb-0310-9956-ffa450edef68
2009-10-14 03:56:44 +00:00
Maria Odea B. Ching c893eefe9f [MRM-747] Archiva should prevent re-deployment of released or non-snapshot versioned artifacts
submitted by Marc Lustig
o added checks in webdav to block re-deployment if artifact version already exists in the repo and throw a 409 in such cases
o added tests for deploying and re-deploying an artifact

additional modifications to the patch:
o update checking for artifact types that will be blocked
o add tests for deploying metadata and support file


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@824677 13f79535-47bb-0310-9956-ffa450edef68
2009-10-13 10:36:24 +00:00
Maria Odea B. Ching 88f79fe1e7 [MRM-1080] Update SearchServiceImplTest so that it uses the new search API
submitted by Gwen Harold Autencio
o added tests for quick search (with search hits and with no search hits)

additional changes to the patch:
o updated testQuickSearchArtifactRegularSearch() to conform to the recent changes in SearchServiceImpl from MRM-1230


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@824259 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 08:44:10 +00:00
Maria Odea B. Ching 16b13f831a [MRM-1254] Add more unit tests for searching artifacts
o more unit tests for advanced search and quick search (code coverage is now 88%)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@824257 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 08:08:29 +00:00
Jevica Arianne B. Zurbano 5a8a5a92f8 [MRM-1246] - MetadataUpdaterConsumer didn't run during a repository scan after deleting a version of an artifact.
- added unit test for updating metadata
- added unit test sample artifacts
- applied the submitted patch

Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@824220 13f79535-47bb-0310-9956-ffa450edef68
2009-10-12 04:29:06 +00:00
Maria Odea B. Ching ecb90855a1 [MRM-1254] Add more unit tests for searching artifacts
o added test for searching artifacts with numeric values in the artifactId using advanced search (MRM-981)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@823505 13f79535-47bb-0310-9956-ffa450edef68
2009-10-09 10:28:52 +00:00
Maria Odea B. Ching 3390708c18 [MRM-1230] Type of artifact is allways "pom"
o for each search hit, get project model thru repositorybrowse#selectVersion(..) where complete project model is retrieved instead of just the bare artifact obj
o added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@823109 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 10:01:32 +00:00
Maria Odea B. Ching 8a116d5a94 [MRM-636] war:inplace usage is not compatible with cobertura
o unpack redback war in target dir
o configure jetty plugin to use multiple source dirs
o cleaned up clean-plugin config


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@823065 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 06:40:21 +00:00
Brett Porter 8142e83c50 additional clean up code to prevent the tests from running out of memory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@822794 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 16:29:27 +00:00
Brett Porter eb9383c0a4 some POM clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@822640 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 10:12:41 +00:00
Jevica Arianne B. Zurbano b24d5ceb4b [MRM-1257] - Selenium Test for accessing bundled repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@818710 13f79535-47bb-0310-9956-ffa450edef68
2009-09-25 03:55:57 +00:00
Maria Odea B. Ching 185d83243c [MRM-1056] Option to force scanning of an artifact/repository regardless of file dates
o added new method for creating task with scanAll flag
o added unit tests for creating tasks with different configs


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@816545 13f79535-47bb-0310-9956-ffa450edef68
2009-09-18 08:58:50 +00:00
Maria Odea B. Ching 40e247c7e4 [MRM-1056] Option to force scanning of an artifact/repository regardless of file dates
o add checkbox for processing all artifacts beside Scan Repository Now button in repositories page
o scan all artifacts if flag is set
o added unit tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@816084 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 07:48:55 +00:00
Maria Odea B. Ching 8604c2f389 changed ordering of log when queueing tasks, it appears as if the task was queued again after it was executed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@815697 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 10:01:06 +00:00
Marecor M. Baclay 6459b2f47f update version in pom to 1.2.3-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@813725 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 08:53:54 +00:00
Jevica Arianne B. Zurbano 0ce636965d [MRM-1238] - NPE when updating consumers of known content without setting any of the checkboxes (enabled)
- added null checks
- added unit tests

Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@813473 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 15:14:48 +00:00
Jevica Arianne B. Zurbano d20cce3a52 [MRM-1240] - NPE when updating consumers (not setting any of the checkboxes) of Unprocessed Artifacts and Artifact Cleanup Scanning in Database
- added null checks
- added unit test for DatabaseAction

Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@813439 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 13:50:40 +00:00
Maria Odea B. Ching 9471a08db3 [MRM-1250] Granting the Global Repository Manager/System Administrator role does not automatically assign the Global Repository Observer role
o add global repository observer role as child role of global repository manager


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@813337 13f79535-47bb-0310-9956-ffa450edef68
2009-09-10 09:59:00 +00:00
Maria Odea B. Ching e9da0e496b [MRM-1243] Encoding issues with Archiva UI: add Spring CharacterEncodingFilter
submitted by Julien Henry
o add filter to force utf-8 encoding


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@810457 13f79535-47bb-0310-9956-ffa450edef68
2009-09-02 11:25:55 +00:00
Maria Odea B. Ching 6ad5da6f8d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808338 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:34:26 +00:00
Maria Odea B. Ching 924e33b562 [maven-release-plugin] prepare release archiva-1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808336 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:30:51 +00:00
Maria Odea B. Ching df265f5fad remove unused section
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808298 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 06:44:36 +00:00
Maria Odea B. Ching 573472d62a [MRM-1239] Unable to get artifact-level maven-metadata.xml of artifacts that are only three directory levels deep
o added tests
o allow three levels for metadata and metadata checksums when checking if repository layout is default


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808295 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 06:40:37 +00:00
Marecor M. Baclay 9c3facccc7 [MRM-1241] Selenium Tests for Repository Scanning and Database
- added tests for repository scanning.


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808252 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 01:55:46 +00:00
Maria Odea B. Ching 81aa36aa09 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807091 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:14:31 +00:00
Maria Odea B. Ching 03aae7ee6a [maven-release-plugin] prepare release archiva-1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807087 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:12:10 +00:00
Marecor M. Baclay 024dd3d865 fixed failed/skipped tests with jdk 1.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807077 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 05:24:35 +00:00
Marecor M. Baclay 2b05e40f8b - refactored the scripts.
- added more tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807056 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 03:14:44 +00:00
Brett Porter 0a4b078b01 simplify test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@806324 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 19:45:05 +00:00
Jevica Arianne B. Zurbano 76c66f5a83 [MRM-1204] - org.apache.maven.archiva.repository.project.ProjectModelMerge.merge throws NPE
- added unit test



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@806081 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 08:07:04 +00:00
Jevica Arianne B. Zurbano 7c53e15614 [MRM-1236] - Locale selection is broken
- added blank *_en.properties files



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@805782 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 12:57:48 +00:00
Maria Odea B. Ching 3cb6dd196a [MRM-1155] m2eclipse - getting index from archiva 1.2 failed
o optimize index before packaging
o added test case


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@805736 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 10:30:53 +00:00
Jevica Arianne B. Zurbano f4cc3f7208 [MRM-1151] - Error when processing file nexus-maven-repository-index.zip
applied patch and added unit test.
Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@805371 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 11:41:29 +00:00
Maria Odea B. Ching 4be2924979 [MRM-1194] Archiva doesn't cope with versions in a pom.xml that are properties
o updated test cases


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@804909 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 09:40:44 +00:00
Jevica Arianne B. Zurbano 1c301353ac [MRM-1204] - org.apache.maven.archiva.repository.project.ProjectModelMerge.merge throws NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@803840 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 11:00:51 +00:00
Marecor M. Baclay 11135fe668 [MRM-1234] Typo in Appearance Page
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@803821 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 09:44:07 +00:00
Maria Odea B. Ching 8b3037bfdc [MRM-1232] Unable to get artifacts from repositories which requires Repository Manager role using repository group
o if at least one unauthorizeddavexception exists in the compiled errors from the repositories in the group, send back a 401 error to force maven to send 
attach credentials to the request
o added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@803795 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 07:16:35 +00:00
Maria Odea B. Ching d150a6ed98 [MRM-1194] Archiva doesn't cope with versions in a pom.xml that are properties
o get latest timestamped file if no -SNAPSHOT exists when resolving the pom
o added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@801946 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 11:00:03 +00:00
Maria Odea B. Ching f62c635bde [MRM-1163] Add some decent logs in webdav for debugging purposes
Submitted by: Jevica Arianne Zurbano
o added debug logs in ArchivaDavResource and ArchivaDavResourceFactory with the filename, directory, repository, and/or current user included in logs


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798827 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 09:55:18 +00:00
Marecor M. Baclay 7b15e3da49 [MRM-1226] Selenium tests for Repositories and Network Proxies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798789 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 06:22:40 +00:00
Marecor M. Baclay a37878dc22 [MRM-1164] Fix the Selenium tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798777 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 04:34:07 +00:00
Maria Odea B. Ching 95e064f8a8 fixed repo path shown in log
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798437 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 08:00:48 +00:00
Maria Odea B. Ching 0586f7bd5b [MRM-1198] changed length of url fields from 250 to 1020
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798424 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 07:17:36 +00:00
Maria Odea B. Ching 5e5fa749a2 [MRM-1212]/[MRM-1197] do not execute create-missing-checksum and metadata-updater consumers during webdav deployment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798403 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 05:04:44 +00:00
Maria Odea B. Ching 8b235c1283 [MRM-1212]
o fix/create checksums and update metadata in action class only if create-missing-checksum and metadata-updater consumers are not enabled


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798060 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 07:39:34 +00:00
Maria Odea B. Ching a4bd8b9c5a [MRM-1212]
o move fixing of incorrect checksums to ArtifactMissingChecksumConsumer
o added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@798059 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 07:34:40 +00:00
Maria Odea B. Ching 71b644e878 cleanup unused variables
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@796149 13f79535-47bb-0310-9956-ffa450edef68
2009-07-21 05:21:17 +00:00
Maria Odea B. Ching 2db502dbfb [MRM-1171]
submitted by Gwen Harold Autencio

o fixed table for advanced search fields so that they appear in IE6 and IE7


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@795695 13f79535-47bb-0310-9956-ffa450edef68
2009-07-20 05:54:18 +00:00
Brett Porter 78cf76f801 [MRM-1220] disable Struts devMode for performance reasons
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@794940 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 01:40:35 +00:00
Brett Porter a73f0ccf31 [MRM-1219] correct log4j configuration, consolidate logging APIs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@794572 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 07:45:17 +00:00
Brett Porter 1ef459b78e [MRM-1217] Switch to Jetty 6.1.19
[MRM-1218] Upgrade to JSP 2.1


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@794554 13f79535-47bb-0310-9956-ffa450edef68
2009-07-16 06:57:47 +00:00
Brett Porter 7aa245a59d make parameters configurable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@790035 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 04:39:58 +00:00
Wendy Smoak 3a06b49407 [MRM-1164] Add Selenium tests for virtual repositories and capture screen shots of failing tests.
Submitted by: Marecor Baclay 


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@785892 13f79535-47bb-0310-9956-ffa450edef68
2009-06-18 04:06:33 +00:00