Commit Graph

313 Commits

Author SHA1 Message Date
Olivier Lamy 59210d3d38 complete javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1485204 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 13:19:38 +00:00
Olivier Lamy 30ffee5718 complete javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1485203 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 13:19:17 +00:00
Olivier Lamy 3b27e9f4a0 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1485144 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 10:42:47 +00:00
Olivier Lamy e9fdacd902 fix osgi metadatas
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484775 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 12:29:16 +00:00
Olivier Lamy 45d7acc03e simple javadoc as this property value was not very clear with the name :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484752 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 10:56:33 +00:00
Olivier Lamy 5c8bc953b6 fix osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484746 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 10:47:41 +00:00
Olivier Lamy 8998f91942 add @Entity annotation to ease cassandra impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484745 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 10:44:20 +00:00
Olivier Lamy 491aeb849d make those classes serializable for cassandra impl tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484735 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 10:29:55 +00:00
Olivier Lamy cfaf9559dd use generics
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1484362 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 22:28:52 +00:00
Olivier Lamy 2955db481a remove redundant version element
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1480559 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 08:34:00 +00:00
skygo 40c462af88 fix imports and minors warning sonar.
remove a space in transactions name pom.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1456696 13f79535-47bb-0310-9956-ffa450edef68
2013-03-14 22:12:24 +00:00
Olivier Lamy 8a34bce31c add javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447104 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 23:51:24 +00:00
Olivier Lamy b9c19ce3c2 add closeQuietly method for repository session when only reading we can ignore this error.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1447103 13f79535-47bb-0310-9956-ffa450edef68
2013-02-17 23:51:08 +00:00
Olivier Lamy 58afcb1114 [MRM-1729] add MetadataRepository#hasMetadataFacet to prevent slow startup time.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1423878 13f79535-47bb-0310-9956-ffa450edef68
2012-12-19 15:19:53 +00:00
Olivier Lamy a586d56df2 [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403491 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:42:12 +00:00
Olivier Lamy 632257925a [MRM-1704] Refactor to remove maven specific part from various repository/metadata apis
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1403489 13f79535-47bb-0310-9956-ffa450edef68
2012-10-29 20:41:00 +00:00
Olivier Lamy 037754de67 align names
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1402890 13f79535-47bb-0310-9956-ffa450edef68
2012-10-27 21:37:28 +00:00
Olivier Lamy 1f0f3766f3 use a better naming convention
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401299 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 14:03:06 +00:00
Olivier Lamy 1d46b329d2 use a better naming convention
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401298 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 14:02:33 +00:00
Olivier Lamy 0835fd6be4 use a new bean rather than a lot of params to ease futur enhancements better with adding the class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401290 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 13:29:38 +00:00
Olivier Lamy ef66c2d19f use a new bean rather than a lot of params to ease futur enhancements
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1401289 13f79535-47bb-0310-9956-ffa450edef68
2012-10-23 13:29:21 +00:00
Olivier Lamy ede0480333 [MRM-1703] Cannot delete project add unit test for metadata repository.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400904 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 14:51:12 +00:00
Olivier Lamy 0af1bd62e7 [MRM-1703] Cannot delete project with the ui.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1400901 13f79535-47bb-0310-9956-ffa450edef68
2012-10-22 14:49:23 +00:00
Olivier Lamy e7bc35db81 add unit test for new method in MetadataRepository and fix compilation for some impls/mocks
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397345 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 22:43:15 +00:00
Olivier Lamy 092a635e39 do some cleanup if metadatarepository still contains versions when deleting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1397342 13f79535-47bb-0310-9956-ffa450edef68
2012-10-11 22:42:00 +00:00
Olivier Lamy d856df8196 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1393506 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 14:23:47 +00:00
Olivier Lamy ca17b63c3e [maven-release-plugin] prepare release archiva-1.4-M3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1393504 13f79535-47bb-0310-9956-ffa450edef68
2012-10-03 14:23:19 +00:00
Olivier Lamy 94229a4411 add a mergerepositories service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1387378 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 21:58:21 +00:00
Olivier Lamy 9916e66996 fix parameter name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381580 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:38:10 +00:00
Olivier Lamy 5b39b426fc use fest assert: more human readable :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381577 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:37:42 +00:00
Olivier Lamy dd0bc763b3 add unit test for removeNamespace method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381576 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:37:28 +00:00
Olivier Lamy 911dd05b23 add a method to remove namespace(groupId) in MetadataRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1381575 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 12:37:14 +00:00
Olivier Lamy 0bda5f0465 no more need of jaxb-api we are now 1.6 required
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370410 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 18:12:39 +00:00
Olivier Lamy dd386202d6 use fest assert 2.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357005 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 23:11:27 +00:00
Olivier Lamy bf52af4760 change package for those test utils
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356101 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:49:49 +00:00
Olivier Lamy 6a9b1752e5 use a different artifactId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356096 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:40:05 +00:00
Olivier Lamy 1484a3316a [MRM-1638] Improve unit test for archiva build
Based on patch provided by Eric Barboni.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 07:36:23 +00:00
Olivier Lamy 9c6b8dba00 add javadoc
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354119 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 17:24:52 +00:00
Olivier Lamy 035a4704d5 add unit for deletion of timestamped snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354118 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 17:24:37 +00:00
Olivier Lamy 208ff50ae5 fix junit correctly delete timestamped snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353618 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:55:07 +00:00
Olivier Lamy 3c1be367cd remove animal sniffer we are now 1.6
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1350767 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 20:08:27 +00:00
Olivier Lamy 7720351a50 fix unit test if metadataFacet not available on update
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1349179 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 08:12:02 +00:00
Olivier Lamy ea5ddd0961 improve MetadataRepository api to be able to remove an artifact with MetadataFacet use case deleting a maven artifact with a classifier
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346609 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:42:02 +00:00
Olivier Lamy eeed20ed36 fix an issue with not removing project version when removing an artifact from Metadatarepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345397 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:48:01 +00:00
Olivier Lamy 823b816f52 take care of metadata files with id as maven-metadata-archiva-vm-all-public.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343415 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 22:52:23 +00:00
Olivier Lamy 5ff0f0ee14 managed repositories add link to do a directories scan immediate.
Take about correctly close jackrabbit session in case of exception and open session when it's closed.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299735 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 16:43:41 +00:00
Olivier Lamy 9ffa0353f1 [MRM-1607] maven model build failed when model have jdk profile activation.
add test metadatas

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293789 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 09:07:25 +00:00
Olivier Lamy a4544331a8 revert twoPhaseBuilding model building as it breaks maven inheritance resolution (for dependencies version)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293768 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:07:43 +00:00
Olivier Lamy 496920391c revert some changes to use a RuntimeException
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293719 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 22:53:45 +00:00
Olivier Lamy 691a0ab3e9 fix compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293704 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 22:11:47 +00:00
Olivier Lamy 578d4c9858 correctlt close jcr session in case of exception
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293682 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 20:45:46 +00:00
Olivier Lamy 31e5bf8148 fix osgi imports.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293681 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 20:45:31 +00:00
Olivier Lamy 374fc983ab restore 1.5 compile
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293424 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 21:18:49 +00:00
Olivier Lamy f1f0ceaf47 [MRM-1573] improve browse service with returning ProjectVersionMetadata (so add some annotation for REST exchange)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293423 13f79535-47bb-0310-9956-ffa450edef68
2012-02-24 21:18:34 +00:00
Olivier Lamy cc81e01722 [MRM-1599] NTLM proxy no longer works
change for metadata resolver too using ntlm proxy
take the opportunity to use repo admin api rather than archivaconfiguration directly/

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240625 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:14:00 +00:00
Olivier Lamy 5d6774f5f2 [MRM-1599] NTLM proxy no longer works
use a new wagon with spring bean http-ntlm if proxy use ntlm

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240623 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:08:28 +00:00
Brett Porter b78c1c6878 restore animal sniffer to the build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1234680 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 04:44:34 +00:00
Olivier Lamy f9ec184503 use the same path separator as RepositoryPathTranslator to prevent windauze issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214868 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 17:06:44 +00:00
Olivier Lamy 0642387135 fix version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213879 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 19:21:57 +00:00
Olivier Lamy 58b08d0094 bump to 1.4-M3-SNAPSHOT version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213816 13f79535-47bb-0310-9956-ffa450edef68
2011-12-13 18:18:37 +00:00
Olivier Lamy 9d3a719381 [MRM-1562] Update to Archiva as OSGi compliant application.
Submitted by Jean-Baptiste Onofre.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1205009 13f79535-47bb-0310-9956-ffa450edef68
2011-11-22 14:17:04 +00:00
Olivier Lamy 97c85abe24 [MRM-1542] missing classifier field in the delete artifact web page
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1188328 13f79535-47bb-0310-9956-ffa450edef68
2011-10-24 19:36:20 +00:00
Olivier Lamy 33776a4920 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1185622 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 12:26:11 +00:00
Olivier Lamy ccd7d803f7 [maven-release-plugin] prepare release archiva-1.4-M1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1185616 13f79535-47bb-0310-9956-ffa450edef68
2011-10-18 12:19:44 +00:00
Olivier Lamy 4e5ff7650c if equals is defined hashCode must be defined too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179998 13f79535-47bb-0310-9956-ffa450edef68
2011-10-07 10:57:02 +00:00
Olivier Lamy 9675668bcb remove unused private methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178734 13f79535-47bb-0310-9956-ffa450edef68
2011-10-04 09:11:36 +00:00
Brett Porter 3c20054f1d update version to 1.4-M1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1178021 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 15:38:32 +00:00
Olivier Lamy ac4dbb87e1 get RID of plexus.requirement annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:11:21 +00:00
Olivier Lamy f0c6ee5a71 get RID of plexus.component annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165527 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:26:05 +00:00
Olivier Lamy 0fdb6a722c align/magnify names :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164172 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 17:09:08 +00:00
Brett Porter 3445922612 update licenses and send in RAT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161440 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 08:42:50 +00:00
Olivier Lamy d27077404a desactivate animal sniffer plugin as it fail in module archiva-modules/metadata/test-repository/
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160653 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:19:36 +00:00
Olivier Lamy 30ebe43f59 simplify inject of bean list
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160293 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:11:34 +00:00
Olivier Lamy 2ec5d2ecd9 fix jdk1.5 unit test : HashMap doesn't guarantee order
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1137377 13f79535-47bb-0310-9956-ffa450edef68
2011-06-19 15:08:02 +00:00
Maria Odea B. Ching dab1e92990 [MRM-1411] project information is missing if a POM could not be read correctly
o proxy parent POM if not found in the repo when building the effective POM when creating metadata (also applied the same in dependency tree builder)
o added unit tests
o moved out wagonfactory classes into separate module so it can be used by maven2-repository w/o depending on archiva-proxy module (as it inroduces cyclic dependency)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135978 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 09:36:05 +00:00
Olivier Lamy 1bc0683d36 fix 1.5 build with reintroducing javax.annotation:jsr250-api dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135418 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:58:21 +00:00
Olivier Lamy f378a857eb [MRM-1473] remove use of plexus-spring
fix module metadata-store-jcr



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130164 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 14:37:32 +00:00
Olivier Lamy 1788eb54c4 [MRM-1473] remove use of plexus-spring
remove all dependencies to plexus-container
use of sisu-inject-plexus (version 2.2.2 with ASL license) for components using maven api components.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128075 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:13 +00:00
Olivier Lamy b781d2f5f7 update plexus-spring groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:24 +00:00
Brett Porter 86ed5afc5c [MRM-1111] upgrade to Struts 2.1.8.1
Applied patch and made some additional modifications
Submitted by: Julien Henry, Gwen Harold Autencio

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091398 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 13:23:24 +00:00
Brett Porter 076a33f877 [MRM-1327] fix 'used by' to work under JCR store. Remove updateProjectReferences API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086569 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 12:42:47 +00:00
Brett Porter bed7aa1b59 [MRM-1327] fix 'used by' to work under JCR store. This will still have problems under the file store at the moment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085722 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 14:00:06 +00:00
Brett Porter 95b297a2ae [MRM-1327] use nodes for dependencies, make several notes about fixes required to properly isolate maven2 pieces
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085704 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 11:54:11 +00:00
Brett Porter 479f10cb7f [MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053820 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:44:10 +00:00
Brett Porter ed717a4b5b [MRM-1327] assign node types to each different node so that they can be easily distinguished from each other when querying or traversing. Correct bug where projects would appear as namespaces and vice-versa.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 02:30:09 +00:00
Brett Porter 6673c15740 [MRM-1327] don't auto-save artifact updates - this was only there for testing purposes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053784 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:55:15 +00:00
Brett Porter de23f7ef3f [MRM-1327] make sure getArtifactsByDateRange and getArtifactsByChecksum query is restricted to the right repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053783 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:41:07 +00:00
Brett Porter e28ae522d1 [MRM-1327] make sure getArtifacts query is restricted to the right repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053780 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 01:29:50 +00:00
Brett Porter 201306c679 [MRM-1327] prevent facets being returned as artifact versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053767 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 23:23:28 +00:00
Brett Porter 6ff9147139 [MRM-1327] hook save()/close()/revert() methods to the repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053630 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 13:02:59 +00:00
Brett Porter f56609efad [MRM-1330] refactor access around the concept of a "repository session". See Javadoc for some notes. This should be a single entry point for application users of either the metadata repository, resolution, or storage access. The session needs to be explicitly closed (and modifications saved) to facilitate some storage mechanisms.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053542 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 06:14:04 +00:00
Brett Porter 34638d4e67 clean up the "TODO" list, and mark those that are more important as "FIXME"
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051810 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 10:20:14 +00:00
Brett Porter c63e2a3f77 [MRM-1327] refactor the repository API to make each concern clearer. Storage, resolver and metadata repository are separate interfaces. Rename methods on the resolver and the storage to be clearer of their intent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:31:56 +00:00
Brett Porter badcc9e925 [MRM-1327] add exception handling to the metadata repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051732 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 01:53:10 +00:00
Brett Porter 2a6a4e570f [MRM-1327] remove unnecessary facet node for project versions, and ensure artifact facet properties are correctly removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051444 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 10:16:04 +00:00
Brett Porter 5622b1c569 [MRM-1327] re-arrange utility methods, and use search for retrieving artifacts by date
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051396 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 07:21:44 +00:00
Brett Porter 4423d46b4f [MRM-1327] very rough prototype of a JCR based storage mechanism. Passes tests, but needs to be cleaned up and properly integrated, then tested for performance
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1050283 13f79535-47bb-0310-9956-ffa450edef68
2010-12-17 06:26:09 +00:00
Maria Odea B. Ching e82ce0f0b5 merged MRM-980 branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1002059 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 09:09:32 +00:00
Maria Odea B. Ching f4732a184a fixed formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952137 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 08:20:58 +00:00
Maria Odea B. Ching 8891e9fdd2 [MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
o removed project metadata custom tag
o enable delete of generic metadata properties
o added unit tests for adding and deleting properties
o clear facet properties read from file before doing the update so that removed facet properties are not retained when updating project version metadata


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@952127 13f79535-47bb-0310-9956-ffa450edef68
2010-06-07 07:40:26 +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
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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
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 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 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
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