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
Olivier Lamy
3573e5a36e
test we pass in audit event listener
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163029 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:43:12 +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
Brett Porter
41d91f293a
clean up comments
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161088 13f79535-47bb-0310-9956-ffa450edef68
2011-08-24 13:17:52 +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
Brett Porter
1e8ff1265f
add some comments about areas that can be improved when proxy sits behind the repository API
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1151737 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 05:49:37 +00:00
Brett Porter
31e93bb1c9
some low hanging fruit in the quest to improve the staging repository implementation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1141002 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 08:41:07 +00:00
Brett Porter
1f68b697b7
clean up some tests and avoid creating bad ~/.m2/archiva.xml descriptor
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140961 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 04:17:55 +00:00
Brett Porter
a5c5d53fa1
[MRM-1335] improve the message appearing when an artifact's metadata is incomplete
...
Submitted by: Greg Michael Meneses
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140473 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 08:05:07 +00:00
Brett Porter
2db95ef56d
[MRM-1324] repository statistics report doesn't appear to be working correctly
...
Submitted by: Greg Michael Meneses
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140450 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 06:44:30 +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
969e7fb37f
[MRM-1411] project information is missing if a POM could not be read correctly
...
o for snapshot artifacts, get the timestamp and build number first from the metadata in the remote repo before proxying the actual parent pom
o added unit tests, removed checksums and other test files that are not necessarily used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136424 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 13:12:22 +00:00
Brett Porter
ea6a0644af
remove more old test files
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136335 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 09:13:01 +00:00
Olivier Lamy
d54c8ec3e0
fix DefaultDependencyTreeBuilder
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136094 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:50:48 +00:00
Olivier Lamy
b3603c5c43
back to maven2 api for dependency tree
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136082 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 15:30:53 +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
edbfd20066
one day probably won't miss to add files : nut not today :-)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134381 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:40:59 +00:00
Olivier Lamy
8d497e8555
move audit plugin to spring annotations : it looks now mvn tomcat:run -Pdev works !!
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134378 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:38:49 +00:00
Olivier Lamy
3d2bbcff6c
correctly set tccl during sisu init
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134351 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:38:09 +00:00
Olivier Lamy
45b308aab0
align maven api to use maven 3 version
...
temporary comment failing dependency tree
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134349 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:37:00 +00:00
Olivier Lamy
c90eea8f1c
remove use of plexus-spring all struts actions are spring beans now. Note still have issues with tomcat plugin and sisu bridge which need an urlclassloader
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133928 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:23:21 +00:00
Olivier Lamy
df2b9275e9
remove plexus-spring : fixed for stage-repository-merge
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130300 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 20:46:49 +00:00
Olivier Lamy
207e0997b4
cleanup pom
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130299 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 20:46: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
76386bfcb1
[MRM-1473] remove use of plexus-spring
...
fix module metadata-store-file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130154 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:48:32 +00:00
Olivier Lamy
ee78778213
fix use of applicationContext.getBeansOfType instead of the old lookupMap.
...
The key is now interface#hint whereas was only hint with plexus
arghh !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130140 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 13:07:26 +00:00
Olivier Lamy
8b19bfa43d
fix package
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128919 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 18:00:32 +00:00
Olivier Lamy
5b69ca4fd3
remove use of plexus api (Initializable phase)
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128918 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 18:00:17 +00:00
Olivier Lamy
c8f7c57c25
oups missed to add file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128085 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:56:37 +00:00
Olivier Lamy
abe408f63f
[MRM-1473] remove of plexus-spring : fix problem-reports module
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128084 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:56:19 +00:00
Olivier Lamy
5bc6009a39
fix repository-statistics compilation
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128083 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:55:58 +00:00
Olivier Lamy
4eb07f4a1c
don't use directly exception class from plexus bridge
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128082 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:55:31 +00:00
Olivier Lamy
992f6a96dd
miss to add a file
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128080 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:19 +00:00
Olivier Lamy
2816105cf3
[MRM-1473] remove plexus-spring
...
fix maven2-repository module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128079 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:05 +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
02b4b8d6af
[MRM-1473] remove use of plexus-spring
...
start with archiva-configuration and archiva-policies
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125538 13f79535-47bb-0310-9956-ffa450edef68
2011-05-20 20:08:12 +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
76289acb8d
rename metadata-repository-file to metadata-store-file for consistency
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086590 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 14:13:37 +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
522a7ac514
fix optional for dependencies in file metadata repository
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085707 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 12:07:15 +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
Maria Odea B. Ching
28a0b59676
[MRM-1461]
...
submitted by Maria Catherine Tan
o continue deleting contents of the repo even if it encountered a file that it couldn't delete then throw an IOException at the end
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1082160 13f79535-47bb-0310-9956-ffa450edef68
2011-03-16 14:53:40 +00:00
Brett Porter
f2b0885b53
ensure that it gets closed, even if close throws exception
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071608 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 13:31:17 +00:00
Maria Odea B. Ching
1460694de3
close streams from previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071145 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 04:51:03 +00:00
Maria Odea B. Ching
cb61344408
used IOUtils copy for merging so streams are buffered
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1071136 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 03:30:53 +00:00
Jevica Arianne B. Zurbano
13609a81fe
fixed typo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1063154 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 06:45:31 +00:00
Brett Porter
605c1db826
[MRM-1327] choose a better default for login
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1061114 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 04:20:21 +00:00
Brett Porter
91a012ebdd
[MRM-1448] additional '.' in the classifier & extension should be attributed to the extension instead of the classifier.
...
Note that existing records will not be updated - the repository may need to be re-scanned to reflect the change.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1054034 13f79535-47bb-0310-9956-ffa450edef68
2010-12-31 00:53:23 +00:00
Brett Porter
8aacc3cd0b
[MRM-1443, MRM-1327] change to JSR-170's SQL queries to avoid the problem in JackRabbit 2.2.0 with ISDESCENDANTNODE and a large number of nodes
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053857 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 11:38:35 +00:00
Brett Porter
6e782b161c
[MRM-1443, MRM-1327] properly restrict per repository and improve performance
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053840 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 10:03:44 +00:00
Brett Porter
23a09c2024
[MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
...
- updates to other mock repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053826 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:54:16 +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
e7c8bea2e6
[MRM-1330] update DuplicateArtifactsConsumer to the session-based API
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053554 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 07:06:17 +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
eff60e10de
[MRM-1327] instantiate the repository via Spring and avoid hard-coding
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051741 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 03:12:51 +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
1ff88d24fe
[MRM-1327] clean up path construction and method sorting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051466 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 11:40:08 +00:00
Brett Porter
7f610bca75
[MRM-1327] namespaces should be paths to avoid being too flat. Use queries for some other traversal methods.
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051458 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 11:21:57 +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
c82a0e6bc1
[MRM-1327] remove unnecessary facet node for artifacts
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051429 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 09:30:25 +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
Brett Porter
82485c9ed4
move mockito version to management section
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049376 13f79535-47bb-0310-9956-ffa450edef68
2010-12-15 01:28:22 +00:00
Brett Porter
deba382d42
[MRM-1436] better Map handling
...
Submitted by: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1040919 13f79535-47bb-0310-9956-ffa450edef68
2010-12-01 09:48:32 +00:00
Brett Porter
30f0ab2365
[MRM-1435] fix up useless boxing issues
...
Submitted by: Dave Brosius
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039994 13f79535-47bb-0310-9956-ffa450edef68
2010-11-29 00:39:43 +00:00
Maria Odea B. Ching
bc56d6353c
[MRM-1097]
...
o upgrade nexus indexer to 3.0.1 + added logger bean which is needed by NexusIndexer
o for deployments/proxied artifacts, create and close indexing context when indexing task is executed as compared to the original behavior where the indexing context is created
before it is queued (so as the indexing task queue builds up, more indexing contexts are being opened/created which might be causing the too many open files problem)
o updated unit tests with changes made
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1039004 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 11:20:47 +00:00
Maria Odea B. Ching
b719ecb818
check if metadata exists first before updating and copying to target repo
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1022822 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 05:15:51 +00:00
Maria Odea B. Ching
0d70a68dc6
remove versions since these are already set in parent
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1003740 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 03:37:58 +00:00
Maria Odea B. Ching
d35e740ca9
[MRM-1409] web services for repository merge
...
submitted by Gwen Harold Autencio
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1003378 13f79535-47bb-0310-9956-ffa450edef68
2010-10-01 03:50:04 +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
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
Maria Odea B. Ching
f51b049d51
fixed formatting
...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951241 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 02:16:24 +00:00
Maria Odea B. Ching
1794af3da5
[MRM-1362] Add simple 'CRUD' pages for project-level metadata along with a "generic metadata" plugin
...
o added new facet for generic properties
o display correct metadata in Metadata tab
o add new properties to metadata from UI
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@951239 13f79535-47bb-0310-9956-ffa450edef68
2010-06-04 02:11:25 +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
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
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
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
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
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
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