Commit Graph

135 Commits

Author SHA1 Message Date
Olivier Lamy d6fa8f7ad8 [MRM-1562]Update to Archiva as OSGi compliant application
turn xmlrpc, some plugins as OSGi bundles.
Submitted by Jean Baptiste Onofre.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1207904 13f79535-47bb-0310-9956-ffa450edef68
2011-11-29 15:15:40 +00:00
Olivier Lamy 14b5f5d731 remove a deprecated class ArchivaRoleConstants from archiva-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199736 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 13:14:32 +00:00
Olivier Lamy f21e64d0c9 [MRM-815] aggregate indices for repository groups.
add a unit for this feature.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199337 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 16:48:35 +00:00
Olivier Lamy cef293cf57 move jdbc test url and jdbc test driver to properties to be able to change that in one place
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198646 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:29:35 +00:00
Olivier Lamy 64e1d8c81a use derby only in memory for testing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197665 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 16:59:20 +00:00
Olivier Lamy 159806983d use an artifact with test resources from redback to avoid too much file duplication redback-core.xml
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197359 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 23:46:59 +00:00
Olivier Lamy 3504307447 fix archiva-xmlrpc-services unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197142 13f79535-47bb-0310-9956-ffa450edef68
2011-11-03 14:31:06 +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
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
Brett Porter 4573dd8420 avoid derby.log in root
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177912 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 05:00:11 +00:00
Olivier Lamy 3c247ba1f8 add a lot of missing eol-style native
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176606 13f79535-47bb-0310-9956-ffa450edef68
2011-09-27 20:40:36 +00:00
Olivier Lamy 33850774a4 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-configuration module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171539 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 13:18:21 +00:00
Olivier Lamy 353936a74f [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-model module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171458 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 09:06:08 +00:00
Olivier Lamy 58b11bca24 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-consumer-api module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171453 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:54:07 +00:00
Olivier Lamy e41ad31bf9 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-repository-layer module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171447 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:41:33 +00:00
Olivier Lamy 44ebf70e2d [MRM-1520] remove duplicate beans : fix for ManagedRepositoryAdmin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171190 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 17:37:35 +00:00
Olivier Lamy c8ef0abdec [MRM-1520] remove duplicate beans : move model beans to a single package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171188 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 17:36:22 +00:00
Olivier Lamy 4325788c50 [MRM-1509] change xmlrpc to use new repository administration management api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171102 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 14:00:51 +00:00
Olivier Lamy d29c648c8f fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170889 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 23:03:52 +00:00
Olivier Lamy 919a5ac3eb [MRM-1504] Add a new module for repository administration management
split the repo admin in two modules : api and default implementation (to be able to more easily change the impl).
Use the repo admin api consumers and indexing modules.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170135 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:12:39 +00:00
Olivier Lamy 7961aeb46a [MRM-1509] change xmlrpc to use new repository administration management api : switch for remote repositories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165281 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 13:44:04 +00:00
Olivier Lamy 77287dbb1c [MRM-1506] api to configure RemoteRepository : extract code from ManagedRepo admin for validation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164931 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 21:22:56 +00:00
Olivier Lamy c7e5fea75a get RID of org.apache.maven.archiva packages : security package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164822 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:15:36 +00:00
Olivier Lamy d9b6ddeba1 [MRM-1505] api to configure ManagedRepository : use it in webapp instead of directly archiva model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 14:53:15 +00:00
Olivier Lamy 75f7fab6d4 [MRM-1509] change xmlrpc to use new repository administration management api
use new api for ManagedRepository

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164392 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 08:18:38 +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 fd94d9c6ec [MRM-1490] Expose Archiva services trough REST
start adding some services :
* search
* administration

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159529 13f79535-47bb-0310-9956-ffa450edef68
2011-08-19 07:52:52 +00:00
Maria Odea B. Ching 8a665bdbbd [MRM-1484] set timezone
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1154110 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 07:54:39 +00:00
Maria Odea B. Ching 8391b7c4d7 [MRM-1484] Upgrade Atlassian XMLRPC binder to 0.11 to get fix for multi-threading issue in Aapache XMLRPC 3.1.1+
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1153002 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 02:35:47 +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 478506f9ef add dependency to oro as it's optionnal in commons-validator
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140237 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 16:49:42 +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 690f450cc7 remove of plexus-spring : fix archiva-xmlrpc-services/
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131365 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 10:21:34 +00:00
Olivier Lamy b917e73f39 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1131364 13f79535-47bb-0310-9956-ffa450edef68
2011-06-04 10:21:09 +00:00
Olivier Lamy b9f10d6e9b remove plexus-spring fix archiva-xmlrpc-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130305 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 21:11:59 +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
Maria Odea B. Ching 29fae1ed8d [MRM-1468] added validation for adding a managed repository via xmlrpc + unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1100956 13f79535-47bb-0310-9956-ffa450edef68
2011-05-09 11:00:12 +00:00
Jevica Arianne B. Zurbano d72ee0c68b [MRM-1470] Ability to add a repository relative to Archiva's appserver.base without knowing it's filesystem location
* applied patch

Submitted by: Maria Catherine Tan



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1097776 13f79535-47bb-0310-9956-ffa450edef68
2011-04-29 11:30:08 +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
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
Maria Odea B. Ching fc3b5a9fa1 [MRM-1452] add ability to delete contents of a repository via xml-rpc
submitted by Maria Catherine Tan


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064444 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 03:19:09 +00:00
Jevica Arianne B. Zurbano 55d4b5c3af [MRM-1451] NPE when merging through XMLRPC
* applied patch

Patch Submitted by: Maria Catherine Tan
* passed metadataRepository instead of null during merge



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1064082 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 11:17:18 +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 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 0452f87c94 slight logging adjustment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1038916 13f79535-47bb-0310-9956-ffa450edef68
2010-11-25 04:23:21 +00:00
Maria Odea B. Ching 421229b886 o fix bug when checking for conflicting artifacts, compare managed repo & staging repo instead of both staging repo
o added debug logs
o removed alwaysmatcher for test so we can catch the specific values of passed params


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1022813 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 02:58:49 +00:00
Maria Odea B. Ching e01a96d5f4 [MRM-1424] Implement WS for creating stage repository
submitted by Warner Pinero


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1006162 13f79535-47bb-0310-9956-ffa450edef68
2010-10-09 13:48:48 +00:00