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
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
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
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
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
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
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
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
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