Commit Graph

230 Commits

Author SHA1 Message Date
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
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 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 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
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
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
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 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 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 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 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
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
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
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 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 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
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
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 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
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 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 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
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
Maria Odea B. Ching 3fea67fafd [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778166 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:50:05 +00:00
Maria Odea B. Ching 2d00ba7504 [maven-release-plugin] prepare release archiva-1.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778164 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:46:45 +00:00
Maria Odea B. Ching 4f50f5722e revert to 1.2.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778156 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:17:53 +00:00
Maria Odea B. Ching f2a299be93 [maven-release-plugin] prepare release archiva-1.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778151 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 13:58:14 +00:00
Maria Odea B. Ching b704d37229 oops, forgot to remove debug logs..
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778121 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 11:04:35 +00:00
Maria Odea B. Ching af0109d90f [MRM-1157] and [MRM-1176] (also related to MRM-836)
o added new column for Organization, IssueManagement, CiManagement and Individual tables to hold the actual values


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778118 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 10:58:49 +00:00
Maria Odea B. Ching fa24587f89 [MRM-1188]
o put all indexing tasks (add, update and remove) into one queue; tasks added by NexusIndexerConsumer and LuceneCleanupRemoveIndexedConsumers
o all index updates are performed by ArchivaIndexingTaskExecutor
o added and updated tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778093 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 06:11:19 +00:00
Maria Odea B. Ching 4f792bf59e remove unused test dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@777831 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 08:09:09 +00:00
Maria Odea B. Ching 02a22f45a5 [MRM-1161], [MRM-1179], [MRM-1143] and [MRM-1160]
o upgraded nexus indexer to 2.0.0
o queue all indexing tasks to avoid interrupting a current indexing task being executed
o cleaned up nexus indexer and index cleanup consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@777816 13f79535-47bb-0310-9956-ffa450edef68
2009-05-23 07:28:12 +00:00