Commit Graph

3153 Commits

Author SHA1 Message Date
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
Jevica Arianne B. Zurbano 94647f519e [MRM-1251] - Update documentation - Artifacts not displayed in Archiva GUI after release
Submitted by: Gwen Harold Autencio



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@823011 13f79535-47bb-0310-9956-ffa450edef68
2009-10-08 03:29:41 +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 372aaae288 [MRM-1249] Archiva does not respect configuration of the index directory
o added index directory field with description in docs for Archiva repositories


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@816099 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 08:53:35 +00:00
Maria Odea B. Ching cbd23225cc [MRM-1056] Option to force scanning of an artifact/repository regardless of file dates
o update docs when scanning repositories and upgrading archiva to newer versions



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@816092 13f79535-47bb-0310-9956-ffa450edef68
2009-09-17 08:27:31 +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
Maria Odea B. Ching 8ee59dc910 update upgrade docs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@815246 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 10:04:29 +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 1593c57ef9 upgrade to 4-SNAPSHOT parent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@810754 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 01:26:16 +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 5101274ec0 update release notes for 1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808330 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:02:54 +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
Maria Odea B. Ching 7ba3b7caf7 fixed format
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807059 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 03:26:53 +00:00
Maria Odea B. Ching e3335a5e72 update site.xml and release notes for 1.2.2 release
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807058 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 03:22:11 +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
Maria Odea B. Ching 83eedac57d removed codehaus repo, redback artifacts already synced in central
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@806911 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 00:09:06 +00:00
Maria Odea B. Ching f94f2745b6 added codehaus repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@806812 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 08:50:25 +00:00
Maria Odea B. Ching 858712d13a upgrade to redback 1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@806792 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 06:05:57 +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
Maria Odea B. Ching 51ece6699a [MRM-1085] CLONE -Failing to startup due to invalid bean definition
o updated documentation for setting appserver.base and appserver.home in Windows
o added more troubleshooting tips for startup errors


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@804899 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 08:35:34 +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 06ac3284ec [MRM-1141] archiva-cli no longer works
o merge content of all spring-context.xml files
o include commons-io in shaded jar, this is needed for repository scan


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@799177 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 06:15:04 +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