Commit Graph

337 Commits

Author SHA1 Message Date
Olivier Lamy 994e72b018 artifact content view: display snapshot versions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343416 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 22:52:58 +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 8f828f3728 extract comparator to an external class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1340478 13f79535-47bb-0310-9956-ffa450edef68
2012-05-19 13:32:35 +00:00
Olivier Lamy 87e09e5ca3 use private static inner class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1338244 13f79535-47bb-0310-9956-ffa450edef68
2012-05-14 15:08:53 +00:00
Olivier Lamy c0ec48e2a8 avoid too much log when an artifact is not available in a remote repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325498 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 20:41:52 +00:00
Olivier Lamy 6f7d3ac0a8 fix repackaging of spring-registry to a new package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325313 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:09:01 +00:00
Olivier Lamy ac5be1730c use o.a.a package namespace for spring-registry-api component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1325311 13f79535-47bb-0310-9956-ffa450edef68
2012-04-12 15:08:39 +00:00
Olivier Lamy 01fd2d285a avoid creating temp directory in repository directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1308376 13f79535-47bb-0310-9956-ffa450edef68
2012-04-02 15:02:12 +00:00
Olivier Lamy 3e389d5e5f add debug log
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1301788 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 22:07:20 +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 b91790c532 code comment
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299624 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 11:01:57 +00:00
Olivier Lamy d4b081c74d fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299623 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 11:01:16 +00:00
Olivier Lamy 214b0b0d55 osgi import fix again :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299585 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 08:52:50 +00:00
Olivier Lamy 89dbc0561f extract code to an internal method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299577 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 08:30:40 +00:00
Olivier Lamy 038fbdadf8 cleanup duplicated classes used classes from model
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299575 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 08:11:08 +00:00
Olivier Lamy 6a46674535 remove deprecated class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299574 13f79535-47bb-0310-9956-ffa450edef68
2012-03-12 08:10:38 +00:00
Olivier Lamy 6d61596e3f add missing osgi import
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299492 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 23:58:32 +00:00
Olivier Lamy cf74f31f83 [MRM-1567] Artifact data incomplete.
move MavenMetadataReader to a new module to avoid cyclic dependency.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1299489 13f79535-47bb-0310-9956-ffa450edef68
2012-03-11 23:58:01 +00:00
Olivier Lamy 4974097379 [MRM-1607] maven model build failed when model have jdk profile activation.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293788 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 09:07:03 +00:00
Olivier Lamy 5fbb07bdb4 compilation failure
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293774 13f79535-47bb-0310-9956-ffa450edef68
2012-02-26 08:31:53 +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 57b5334aef avoid failing on java profile or other profiles by using a TwoPhaseBuiling maven build model request
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1293680 13f79535-47bb-0310-9956-ffa450edef68
2012-02-25 20:45:18 +00:00
Olivier Lamy 99a93d57f0 fix wagon 2.2 upgrade
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245590 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 14:58:24 +00:00
Olivier Lamy 63964ffef4 [MRM-1606] Upgrade to wagon 2.2.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1245404 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 11:36:20 +00:00
Olivier Lamy 68365364e3 add wagon-http-lightweight as dependency to prevent CNFE in tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240629 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:17:53 +00:00
Olivier Lamy 983e4abba7 fix osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1240628 13f79535-47bb-0310-9956-ffa450edef68
2012-02-04 22:14:42 +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
Olivier Lamy 291c161228 fix stage-repository-merge unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235683 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 08:39:03 +00:00
Olivier Lamy 37382ef788 avoid using plexus-sisu bridge to get wagon instances: use now spring
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1235559 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 23:42:53 +00:00
Olivier Lamy 4f6ab06673 [MRM-1562] Update to Archiva as OSGi compliant application
Patch on features descriptor cleanup.
Submitted by Jean-Baptiste Onofre.



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1226052 13f79535-47bb-0310-9956-ffa450edef68
2011-12-31 09:28:02 +00:00
Olivier Lamy f5183ff08b try to fix again windauze issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214954 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 20:47:37 +00:00
Olivier Lamy 2739ced315 restore @Test annotation which was not here
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214953 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 20:47:21 +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 6ec95cb805 add some debug to see what happened on the windauze jenkins node
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214823 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 16:01:22 +00:00
Olivier Lamy c73cb26c0f should fix unit tests on windauze
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1214693 13f79535-47bb-0310-9956-ffa450edef68
2011-12-15 10:31:52 +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 7354da04d4 try a better fix for unit failure on windauze
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1213120 13f79535-47bb-0310-9956-ffa450edef68
2011-12-12 00:25:27 +00:00
Olivier Lamy 732b694243 try to fix unit test on windauze
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1212821 13f79535-47bb-0310-9956-ffa450edef68
2011-12-10 16:25:26 +00:00
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 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 1c437a85fb fix consumer archetype
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197792 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 21:28:51 +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 a6a448659f fix list of consumers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179624 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 13:43:07 +00:00
Olivier Lamy b351e202b5 add snippet for use it in documentation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179621 13f79535-47bb-0310-9956-ffa450edef68
2011-10-06 13:36:49 +00:00
Olivier Lamy 621a98296f move jcr related classes to store-jcr module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179311 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 16:44:02 +00:00
Olivier Lamy f260414f76 [MRM-1327] implement alternative or improve repository metadata storage: jcr is now default storage mode.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1179142 13f79535-47bb-0310-9956-ffa450edef68
2011-10-05 10:23:09 +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 cd104567e6 [MRM-1361] align types to NPanday 1.4.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177895 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 03:44:02 +00:00
Olivier Lamy 3c8c0b8554 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176111 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:49:15 +00:00
Olivier Lamy b42ae3b997 fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175927 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:05:02 +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 7a01a324d6 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-common module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171418 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:42:25 +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 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 81b2b9cf7e [MRM-1510] api to configure NetworkProxy
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166556 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 08:05:01 +00:00
Olivier Lamy 281092c41a MRM-1507 : api to configure ProxyConnector
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166130 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 11:41:15 +00:00
Olivier Lamy 64bf00a031 [MRM-1508] api to managed repository group
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165844 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:06:11 +00:00
Olivier Lamy ed36598016 get RID of plexus.configuration annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165559 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:13: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 05962b6b42 add missing spring context files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165529 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 07:27:22 +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 021495050a get RID of org.apache.maven.archiva packages : xml package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164824 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:21:42 +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
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