Commit Graph

251 Commits

Author SHA1 Message Date
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 f68a05a499 implements the method with metadata-store-file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354120 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 17:25:08 +00:00
Olivier Lamy d4caedfafb remove commented code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354117 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 17:24:21 +00:00
Olivier Lamy cbfc4aa789 fix compilation of impls
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353620 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:56:28 +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 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 a1230dc9e7 fix test mock compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346610 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:43:29 +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 297bb0fcff fix an issue with not removing project version when removing an artifact from Metadatarepository with metadata-store-file.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345578 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 21:14:37 +00:00
Olivier Lamy e02d0cdc8b avoid using printStackTrace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345577 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 21:14:22 +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 096a4c0ed1 prevent NPE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345396 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:47:14 +00:00
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