Commit Graph

778 Commits

Author SHA1 Message Date
Brett Porter 7a8e06fa3c fix the version where blockRedeployments was introduced
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177939 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 07:59:12 +00:00
Brett Porter fc6b251359 fix properties to avoid putting test data in JAR
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177935 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 07:10:32 +00:00
Brett Porter 0fa1fa6ac2 change configuration base to org.apache.archiva instead of org.apache.maven.archiva, update "upgrading" document accordingly
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177933 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 06:56:48 +00:00
Brett Porter 77e42c692f make RAT report pass
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177919 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 05:17:00 +00:00
Brett Porter 9c40ca597b formatting
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177911 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:59:20 +00:00
Brett Porter 03c0f466c7 fix properties to avoid putting test data in JAR and remove derby.log from top
directory


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177908 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:53:04 +00:00
Brett Porter 09187669bb avoid derby.log in the current directory and adding incorrect information to
target/classes and the eventual JAR


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177904 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:46:20 +00:00
Brett Porter b1e349b85a avoid derby.log in the current directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177903 13f79535-47bb-0310-9956-ffa450edef68
2011-10-01 04:40:58 +00:00
Olivier Lamy 05191844ba add some materials to be able to use REST services in a gwt based application
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177666 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 14:00:23 +00:00
Olivier Lamy 0aedd14607 [MRM-1526] configure http connection pool values for wagon http : configure wagon on Archiva start
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177655 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:37:30 +00:00
Olivier Lamy e42e26c8e1 [MRM-1526] configure http connection pool values for wagon http.
add basic services.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177654 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 13:36:56 +00:00
Olivier Lamy 1b44321088 [MRM-1527] remove http://download.java.net/maven/2/ from default remote repositories (now sync with central) .
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177595 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 11:09:56 +00:00
Olivier Lamy 3e6842504a add a wagon transfert listener for debugging purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177571 13f79535-47bb-0310-9956-ffa450edef68
2011-09-30 09:41:47 +00:00
Olivier Lamy e442d48741 fix url calculation for artifacts found in remote repositoires
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177074 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:37:57 +00:00
Olivier Lamy ddb8a0a595 small hack for packaging maven-plugin in artifact url calculation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177073 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:37:38 +00:00
Olivier Lamy 6b77912095 move maven url calculation to NexusRepositorySearch rest services will just add baseUrl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177072 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:37:22 +00:00
Olivier Lamy bcf81e82ac rest search service must provide the real url artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1177069 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 21:34:34 +00:00
Olivier Lamy 1e6934261c [MRM-1393] Commons configuration bug causes build to fail on Windows 7
I have changed a unit which IMHO was wrong as didn't take care about managed repo coming from old configuration format: ArchivaConfigurationTest#testConfigurationUpgradeFrom09

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176791 13f79535-47bb-0310-9956-ffa450edef68
2011-09-28 09:06:32 +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 276eaf0b5d [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : include remote repos when searching
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176110 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 22:48:28 +00:00
Olivier Lamy 506abf01c8 [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : add a download remote time out field as file are more important and can take more time.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176036 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:34:24 +00:00
Olivier Lamy ff06852acd [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : setup a default weekly schedule for download remote index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176035 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 20:33:46 +00:00
Olivier Lamy 4c507b7beb [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results : fix configuration of the network proxy to use for download remote index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1176008 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 19:30:14 +00:00
Olivier Lamy d1a54e99e8 [MRM-1524] downloading (optionnaly) remote index to display remote artifacts in search results
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175928 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:07:16 +00:00
Olivier Lamy fcfd86cf53 [MRM-1519] api to configure webappconfiguration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1175919 13f79535-47bb-0310-9956-ffa450edef68
2011-09-26 16:02:23 +00:00
Olivier Lamy e23376ad2a [MRM-1129] web applications are not indexed for java source code : add a unit test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1174827 13f79535-47bb-0310-9956-ffa450edef68
2011-09-23 15:16:56 +00:00
Olivier Lamy 67c3409c6e add more OSGI search fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171622 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 15:24:54 +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 3c42d0834e fix test compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171467 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 09:23:31 +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 d5366b9a91 [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-policies module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171444 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:34:11 +00:00
Olivier Lamy e4e35de0fa [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-proxy module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171440 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 08:21:12 +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 6561a250ed [MRM-1003] Repackage sources from org.apache.maven.archiva.. to org.apache.archiva.. : archiva-cli module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171413 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:32:43 +00:00
Olivier Lamy 259220f867 code formatting : NO CODE CHANGE
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171407 13f79535-47bb-0310-9956-ffa450edef68
2011-09-16 07:16:06 +00:00
Olivier Lamy de35618128 [MRM-1520] remove duplicate beans : fix for RemoteRepository service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171243 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 19:52:44 +00:00
Olivier Lamy e7a28da297 fix for jdk1.5 build jaxb api is not included
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171206 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 18:17:53 +00:00
Olivier Lamy d59216a4f1 [MRM-1520] remove duplicate beans : model beans jaxrs capable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171204 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 18:16:34 +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 4579f684aa fix quick search which returns artifacts with classifier too : hackhish solution currently as I can't find a way to say in a Lucene query this field must empty or null
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171151 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 15:45:49 +00:00
Olivier Lamy 979fee6e57 [MRM-1490] REST services : search now returns classifier : fix new services based on this
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171015 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 08:59:28 +00:00
Olivier Lamy 7b51409788 [MRM-1490] REST services add missing fields when creating a managed repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1171014 13f79535-47bb-0310-9956-ffa450edef68
2011-09-15 08:58:52 +00:00
Olivier Lamy 1aa85c7d7e fix typo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170892 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 23:05:13 +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 6e252d9a2d -fix unit : lucene sometimes has pain to flush...
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170884 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 22:52:52 +00:00
Olivier Lamy ae4ff95a87 more tests on search rest services
prevent copying files for test in archiva-indexer : with scan activated some results were false

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170883 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 22:52:22 +00:00
Olivier Lamy 039b587b7e [MRM-1003] get RID of org.apache.maven package : artifact-converter module : test packages too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170639 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:25:24 +00:00
Olivier Lamy 1904684d12 [MRM-1003] get RID of org.apache.maven package : artifact-converter module : fix test compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170633 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:04:12 +00:00
Olivier Lamy 63e9988bb5 [MRM-1003] get RID of org.apache.maven package : artifact-converter module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170632 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 14:02:57 +00:00
Olivier Lamy 32eddecfda [MRM-1003] get RID of org.apache.maven package : fix previous : never do such move with an ide !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170626 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 13:54:26 +00:00
Olivier Lamy ae7f816a4f [MRM-1003] get RID of org.apache.maven package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170591 13f79535-47bb-0310-9956-ffa450edef68
2011-09-14 13:06:08 +00:00
Olivier Lamy ebac483742 more cleanup of direct use of archiva-configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170352 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 21:10:05 +00:00
Olivier Lamy 0ce164d106 fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170263 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:31:51 +00:00
Olivier Lamy 3d29a9d3f4 [MRM-1490] Expose Archiva services trough REST : search service more impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170261 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:31:27 +00:00
Olivier Lamy cd57d56fe9 remove IndexingContext when deleting a managed repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170259 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 17:30:51 +00:00
Olivier Lamy 0dacf0cb79 not used anymore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170207 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 15:17:34 +00:00
Olivier Lamy a71e2b06ec get RID of file ~/.m2/archiva.xml created during tests with a new sysprops to use for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170189 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 14:07:24 +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 b4959a42f5 during ManagedRepository update save only once as it cause some issues on RegistryListener (repo not found at the first save after removing the updated repo)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1170130 13f79535-47bb-0310-9956-ffa450edef68
2011-09-13 12:02:18 +00:00
Olivier Lamy 1f05224168 [MRM-1490] REST services : organisation configuration methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167473 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 07:34:10 +00:00
Olivier Lamy 3c92bc1b40 [MRM-1514] api to configure OrganisationInfo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167472 13f79535-47bb-0310-9956-ffa450edef68
2011-09-10 07:33:38 +00:00
Olivier Lamy 2e2934ff94 remove no more use beans : see previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167225 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:41:48 +00:00
Olivier Lamy b31467ae8d [MRM-1512] api to configure RepositoryScanningConfiguration : refactor to remove full access to bean with a large tree of nesteed beans. use simple methods to update fields of RepositoryScanningConfiguration.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167224 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:41:04 +00:00
Olivier Lamy 97de6d3118 [MRM-1490] REST services : more unit test for LegacyArtifactPath and LegacyArtifactPath
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167223 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 14:40:15 +00:00
Olivier Lamy 8566f7a26c [MRM-1512] api to configure RepositoryScanningConfiguration : more test auditlistener call for consumers modification
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167037 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:34:17 +00:00
Olivier Lamy 18d67e6fa8 [MRM-1512] api to configure RepositoryScanningConfiguration : use it in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167036 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:33:55 +00:00
Olivier Lamy ff43de7a65 trigger audit event for file pattern actions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167035 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:33:15 +00:00
Olivier Lamy 9a7ab73755 [MRM-1512] api to configure RepositoryScanningConfiguration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1167034 13f79535-47bb-0310-9956-ffa450edef68
2011-09-09 08:32:59 +00:00
Olivier Lamy 5b7476e8d6 [MRM-1490] REST services : configure legacy paths tru rest services
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166884 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 20:17:04 +00:00
Olivier Lamy 1bb10ee01e [MRM-1511] api to configure LegacyArtifactPath create services
and add some beans for other archiva admin service

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166882 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 20:15:23 +00:00
Olivier Lamy cd10c1cde8 [MRM-1513] Remove DatabaseScanningConfiguration fields
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166734 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 15:13:58 +00:00
Olivier Lamy b3f0fb7937 reoder modules
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166588 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 09:36:24 +00:00
Olivier Lamy 07ae616d7e add @since
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166558 13f79535-47bb-0310-9956-ffa450edef68
2011-09-08 08:08:03 +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 d9d5b0d710 [MRM-1490] REST services : proxyconnector service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166426 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 21:48:21 +00:00
Olivier Lamy 9acde9b594 MRM-1507 : api to configure ProxyConnector : use it in the webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166392 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 20:35:00 +00:00
Olivier Lamy a2dd1fd1a4 use beanlib for wrappers constructions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166391 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 20:33:48 +00:00
Olivier Lamy 06a1782dcd copy Collection to avoid ConcurrentModificationException
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166163 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 13:15:20 +00:00
Olivier Lamy 2a795aa6bf MRM-1507 : api to configure ProxyConnector : oops missed to add some files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1166131 13f79535-47bb-0310-9956-ffa450edef68
2011-09-07 11:41:47 +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 cd252dc729 [MRM-1508] api to managed repository group : use it in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165847 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:07:07 +00:00
Olivier Lamy 0f4fdab10d implements hashCode/equals for Collections
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165845 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:06:31 +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 8b54c2ee99 [MRM-1504] new repository admin : more use of new api in webapp : in the repositories index action
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165842 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 21:05:02 +00:00
Olivier Lamy 9799b541ab formatting : no code changed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165560 13f79535-47bb-0310-9956-ffa450edef68
2011-09-06 08:18:43 +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 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 15ce0477fe [MRM-1506] api to configure RemoteRepository : implementation of update method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165210 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:53:47 +00:00
Olivier Lamy a79716d2eb add missing license header and align name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165205 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:32:05 +00:00
Olivier Lamy 4f42feb44f [MRM-1504] Add a new module for repository administration management : move redback configuration and role constants to a new module in archiva-base called archiva-security-common
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165203 13f79535-47bb-0310-9956-ffa450edef68
2011-09-05 08:31:35 +00:00
Olivier Lamy 0a1b1d317f [MRM-1506] api to configure RemoteRepository : add auditListener call
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165044 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:54:52 +00:00
Olivier Lamy 9b2e294e8c [MRM-1506] api to configure RemoteRepository : move some common methods to a common abstract class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165043 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:54:10 +00:00
Olivier Lamy 77eaae1d01 [MRM-1506] api to configure RemoteRepository : implementation of add and delete
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165041 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:53:33 +00:00
Olivier Lamy 8269936883 [MRM-1506] api to configure RemoteRepository : start adding unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1165040 13f79535-47bb-0310-9956-ffa450edef68
2011-09-04 14:53:03 +00:00
Olivier Lamy a782dbfd5b [MRM-1506] api to configure RemoteRepository : extract code from ManagedRepo admin for validation : missed to add a file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164932 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 21:23:31 +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 72a5da6643 get RID of org.apache.maven.archiva packages : transaction package
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164829 13f79535-47bb-0310-9956-ffa450edef68
2011-09-03 08:27:41 +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 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 9bd413340e [MRM-1506] api to configure RemoteRepository : implement get methods missed to add impl
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164592 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:54:57 +00:00
Olivier Lamy 472c72d85c [MRM-1506] api to configure RemoteRepository : implement get methods
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164590 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:54:35 +00:00
Olivier Lamy ac051c8acd [MRM-1506] api to configure RemoteRepository : move common attributes in an AbstractRepository class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164589 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 15:53:58 +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 3ac3a4133f prevent creating ~/.m2/archiva.xml during unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164397 13f79535-47bb-0310-9956-ffa450edef68
2011-09-02 08:30:24 +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
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 3629e72ab3 throw exception when id or cron expression are empty
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164154 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 16:43:14 +00:00
Olivier Lamy e6ce81d425 add unit for issue fixed in the previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164151 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 16:42:17 +00:00
Olivier Lamy 9be7bece75 fix missing value in a bean constructor
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1164150 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 16:41:50 +00:00
Olivier Lamy 745243b347 remove some logic methods not anymore used as move to repo admin api
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163946 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 08:49:08 +00:00
Olivier Lamy 75b97f7c21 [MRM-1505] api to configure ManagedRepository : use it for EditAction in webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163914 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 06:03:05 +00:00
Olivier Lamy b88c2f5107 [MRM-1505] api to configure ManagedRepository
fix update with staged repo .

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163912 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 06:01:58 +00:00
Olivier Lamy d111b2f894 fix unit tests while implementing [MRM-1505] in rev 1163444
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163565 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 10:30:09 +00:00
Olivier Lamy 4f0ccd3020 [MRM-1505] api to configure ManagedRepository
fix delete of staged repo too.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163510 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 07:12:47 +00:00
Olivier Lamy d12d5d853a extract common test methods,add unit test for staged repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163509 13f79535-47bb-0310-9956-ffa450edef68
2011-08-31 07:12:22 +00:00
Olivier Lamy 0887d40cd8 [MRM-1505] api to configure ManagedRepositories : integrate it in webapp for delete action.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163444 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 22:49:42 +00:00
Olivier Lamy 8b766739ad oups olamy failed the build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163271 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 16:11:21 +00:00
Olivier Lamy 0faa26af80 take care of symlink for asf jenkins
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163264 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 15:37:51 +00:00
Olivier Lamy 415ba43b68 [MRM-1504] new repository admin module : start using it in webapp module for add.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163258 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 15:23:55 +00:00
Olivier Lamy c23eed84a3 add more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163200 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 13:19:26 +00:00
Olivier Lamy f38d60d26f ensure roles for repositories are correclty added/removed
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163199 13f79535-47bb-0310-9956-ffa450edef68
2011-08-30 13:19:07 +00:00
Olivier Lamy 67cfeeab8f trigger audit event listeners call in repo admin api when add/delete a managed repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163030 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:43:33 +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
Olivier Lamy 48ef3f20f2 introduce an AuditInformation bean to have more easily extensible audit mechanism
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163027 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:42:38 +00:00
Olivier Lamy 8eba376fb8 [MRM-1504] repository admin module : implements update ManagedRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163025 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:42:14 +00:00
Olivier Lamy 8015b813c2 [MRM-1504] repository admin module : implements delete ManagedRepository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1163024 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 21:41:34 +00:00
Olivier Lamy f2dbfdf0a8 use location rather than url : better naming
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162819 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 14:02:39 +00:00
Olivier Lamy 6f4e720378 [MRM-1504] repository admin module : add unit test for add repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162818 13f79535-47bb-0310-9956-ffa450edef68
2011-08-29 14:02:09 +00:00
Olivier Lamy 66d063c736 oups fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162443 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 21:02:16 +00:00
Olivier Lamy f7c3341a98 remove unused import which fail compilation on 1.5
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162370 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 15:06:57 +00:00
Olivier Lamy 0d10fd3a9f [MRM-1504] api for repository admin
start some jobs

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1162369 13f79535-47bb-0310-9956-ffa450edef68
2011-08-27 15:06:42 +00:00
Olivier Lamy eb52fe82f7 delete plexus descriptor files : not anymore used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161464 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 09:31:57 +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 1f730953af remove generated test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1161427 13f79535-47bb-0310-9956-ffa450edef68
2011-08-25 07:56:59 +00:00
Olivier Lamy 95e2f5b636 [MRM-1503] use wagon-http instead of wagon-http-lightweight (as it change proxy network system properties)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160694 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 13:55:11 +00:00
Olivier Lamy 97f001e967 write methods for interface RemoteRepositoryAdmin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160658 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:30:26 +00:00
Olivier Lamy 0f0a3486c9 start working on interfaces for module archiva-repository-admin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160654 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:20:00 +00:00
Olivier Lamy d27077404a desactivate animal sniffer plugin as it fail in module archiva-modules/metadata/test-repository/
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160653 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:19:36 +00:00
Olivier Lamy 1b3e593825 missing license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160648 13f79535-47bb-0310-9956-ffa450edef68
2011-08-23 12:18:35 +00:00
Olivier Lamy 1f9b928264 add maven layout for the new module to managed repo : archiva-repository-admin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160297 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:13:34 +00:00
Olivier Lamy 957679528e oups fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160295 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 15:12:08 +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
Olivier Lamy 0c7626a137 update changed name in maven indexer
add more rest service to update managed repository

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1160252 13f79535-47bb-0310-9956-ffa450edef68
2011-08-22 13:03:54 +00:00
Olivier Lamy dc319ae9f9 when adding a new file tru the lucene consummer no need to scan the full repo : so using the new flag introduced in previous commit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1159078 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:20:27 +00:00
Olivier Lamy 9357da09d3 upgrade to last versions of quartz and ehcache
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158469 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 23:03:30 +00:00
Olivier Lamy fb8ff53c01 doh ensure we scan repository to index datas for the first scan, ensure we are not searching on all index
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158468 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 23:03:05 +00:00
Olivier Lamy 70bd4e3ede fix compilation issues :my bad !!
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158332 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 15:50:54 +00:00
Olivier Lamy 7a2b07b118 oups fix compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158299 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 14:42:28 +00:00
Olivier Lamy eceef01319 fix typo and use lookup rather than empty constructor for components coming from maven-indexer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158274 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:51:48 +00:00
Olivier Lamy b39ba2f6c5 add an other hack when using tomcat maven plugin and issue with TCCL not URLClassLoader with sisu
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158273 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:51:25 +00:00
Olivier Lamy c7607a63e5 a little hackhish but fix use with tomcat maven plugin, sisu need a URLClassLoader as TCL to be able to use lookupList
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158272 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 13:50:45 +00:00
Olivier Lamy 5c5c959a14 improve toString for debuging purpose
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158135 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 07:16:56 +00:00
Olivier Lamy 1776b31a4b cleanup creation of IndexCreator with using the container rather than using default constructors
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158035 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 22:17:08 +00:00
Olivier Lamy 7a354f09ed [MRM-1501] search on artifacts with OSGI Metadatas fields
modify SearchResultSearchResultHitSearchResultHit to return osgi metadata

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158023 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 21:28:13 +00:00
Olivier Lamy c1abddcaf9 [MRM-1501] add unit for searching with osgi query
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158021 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 21:27:48 +00:00
Olivier Lamy f8aa5f9e78 add OSGI index creator to the the list of indexors used by archiva
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1158020 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 21:27:13 +00:00
Brett Porter 23e2f88dfb [MRM-1344] multiple versions appear in search results
Submitted by: Greg Michael Meneses

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140464 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 07:31:13 +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 23d74d0956 only pass tru NexusIndexer to create IndexingContext, this entry point take care of lucene locks : still some changes to do in junit to prevent lock
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1140035 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 07:45:16 +00:00
Olivier Lamy e9e681546a [MRM-1345] update use of Nexus indexer to use Maven indexer, fix archiva-lucene-consumers compilation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139944 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:55:31 +00:00
Olivier Lamy a4dd3b2ff6 [MRM-1345] update use of Nexus indexer to use Maven indexer
fix junits

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139941 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:54:44 +00:00
Olivier Lamy a20d601f8e [MRM-1345] update use of Nexus indexer to use Maven indexer
remove the per-lookup component
refactor test to use only NexusIndexer facade

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1139940 13f79535-47bb-0310-9956-ffa450edef68
2011-06-26 20:54:21 +00:00
Olivier Lamy 8ae8adccb9 NexusRepositorySearch is not thread safe so use scope prototype
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138211 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:14:17 +00:00
Olivier Lamy 8095a5ff97 continue work on selenium test with id rather than label
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138210 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:13:49 +00:00
Olivier Lamy 1666960349 debug optim
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1138209 13f79535-47bb-0310-9956-ffa450edef68
2011-06-21 22:13:17 +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
Brett Porter 77cd9fc264 remove no longer used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136311 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 07:49:34 +00:00
Brett Porter ca05dcc62c use JUnit 4 API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136309 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 07:44:28 +00:00
Brett Porter 9b41c21838 use JUnit 4 API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136303 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 07:32:22 +00:00
Brett Porter 9ae8d172b2 use JUnit 4 API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136302 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 07:27:51 +00:00
Brett Porter af8d62f38f fix tests that are order-dependant
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136289 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 05:13:19 +00:00
Maria Odea B. Ching 57071cbb00 added spring-context as dependency to prevent compilation failure for @Service annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136272 13f79535-47bb-0310-9956-ffa450edef68
2011-06-16 02:22:00 +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 1af82ff7d8 use getBasedir() in FileUtil in archiva-common
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135993 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:03:10 +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 45a61ecfa3 fix 1.5 build with reintroducing javax.annotation:jsr250-api dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135428 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 09:20:01 +00:00
Olivier Lamy 9b167a0934 use StringBuilder rather than + in a loop
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135411 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:49:51 +00:00
Olivier Lamy 0ad81d8bc6 use slf4j feature to optimise debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134715 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:52 +00:00
Olivier Lamy 8098934b2f no more need of plexus-component-metadata plugin
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134589 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:21:52 +00:00
Olivier Lamy 0587fafcfe fix now missing legacy repo layout with maven3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134389 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 17:02:32 +00:00
Olivier Lamy e3561e6c8e no more needed plexus annotations
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134383 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:42:13 +00:00
Olivier Lamy e6a1d209a2 use sisu container classloader as tccl during lookup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134376 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 16:35:45 +00:00
Olivier Lamy 3529204995 cannot use @Inject for old plexus components'
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134352 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:38:52 +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 0cb8cf2879 I think I'm back to figth again with classLoader and this sisu
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133962 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 16:23:01 +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 c82abad170 no more used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133474 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 17:27:04 +00:00
Olivier Lamy 797e4a403b no more used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133471 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 17:21:21 +00:00
Olivier Lamy 5cba2ae53e oups too much deleted files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133469 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 17:04:39 +00:00
Olivier Lamy 02cb57fa7d no more used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133468 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 16:59:49 +00:00
Olivier Lamy 76807b535e no more used plexus test configuration files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133467 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 16:55:51 +00:00
Olivier Lamy de7890f4a3 fix more unit tests in archiva-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133448 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 15:59:41 +00:00
Olivier Lamy 217ae16282 fix unit test in archiva-proxy cache url failure clear between tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133396 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 13:32:25 +00:00
Olivier Lamy 95dde31389 fix spring configuration for junit and force default-lazy-init="true"
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133165 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 21:12:24 +00:00
Olivier Lamy 9c55823b96 fix main compilation in webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133091 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 16:44:27 +00:00
Olivier Lamy 0cc1e8563e remove of plexus-spring : fix more tests and lucene consumers module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130245 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 17:49:01 +00:00
Olivier Lamy b84ecb96f7 fix use of applicationContext.getBeansOfType instead of the old lookupMap.
The key is now interface#hint whereas was only hint with plexus



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130206 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 16:13:52 +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 aaebb5d534 optimize use of debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130091 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 10:38:27 +00:00
Olivier Lamy 498a6c57cd optimize use of debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1130088 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 10:33:12 +00:00
Olivier Lamy 8a68012d12 fix more spring test configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129801 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 17:01:09 +00:00
Olivier Lamy 206b66a2be fixing some test spring configuration : still some tests fail and puzzle me ! :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129792 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 16:39:20 +00:00
Olivier Lamy 39ecc7836c remove plexus-spring use : archiva-scheduler-indexing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129386 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 21:36:05 +00:00
Olivier Lamy 949cb108d8 take care about performance for debug log
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129385 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 21:35:23 +00:00
Olivier Lamy 6fad90714a help windauze to not fail on file creation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129237 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 16:07:59 +00:00
Olivier Lamy 61f2c22c0d fix more tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129231 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:54:42 +00:00
Olivier Lamy 073aad6bf8 fix some tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129226 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:46:55 +00:00
Olivier Lamy 235ceb3c04 no need to concat String if debug not activated : so use slf4j {}
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129178 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 14:04:08 +00:00
Olivier Lamy 5d9fbb8fdf no need to concat String if debug not activated : so use slf4j {}
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129177 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 13:59:16 +00:00
Olivier Lamy f0a771edc3 replace StringBuffer with StringBuilder
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129176 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 13:57:32 +00:00
Olivier Lamy 7e78123c09 fix unit tests with adding some names for injected beans
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129122 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:54:47 +00:00
Olivier Lamy 188f5fbd05 miss to add @PostConstruct annotation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129116 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:24:51 +00:00
Olivier Lamy 10ec1d90ee missed to add files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129115 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:21:57 +00:00
Olivier Lamy 4abee3dd55 [MRM-1473] remove use of plexus-spring
start working on archiva-core-consumers


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1129114 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 10:20:18 +00:00
Olivier Lamy 81656ad269 missing license header
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128957 13f79535-47bb-0310-9956-ffa450edef68
2011-05-29 21:20:02 +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 cc963c71da fix MetadataTransferTest units
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128784 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 22:15:13 +00:00
Olivier Lamy 67af3bcb6a cleanup configuration before test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128783 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 22:14:57 +00:00
Olivier Lamy 26c1c11252 no need of this configuration as it s done in setup and avoid null in directory as unit tests use getName for directories
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128782 13f79535-47bb-0310-9956-ffa450edef68
2011-05-28 22:14:41 +00:00
Olivier Lamy 7abf32f317 fix use of delegate wagon in unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128463 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 21:24:52 +00:00
Olivier Lamy 59fddac27f fix case typo in bean name
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128445 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 20:28:48 +00:00
Olivier Lamy 80d2a640e8 add missing license headers
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128444 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 20:28:30 +00:00
Olivier Lamy 9c81940d21 oups missed to add files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128406 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 17:30:30 +00:00
Olivier Lamy 789083836c [MRM-1473] remove plexus-spring use
replace plexus-quartz with spring-quartz



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128404 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 17:26:26 +00:00
Olivier Lamy a9b50a0fe0 no need of svn:executable for xml file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128214 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 09:38:14 +00:00
Olivier Lamy 7eebed1423 fix unit tests spring configuration in archiva-indexer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128212 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 09:34:43 +00:00
Olivier Lamy 63af39fba0 fix unit tests spring configuration in archiva-scheduler-repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128204 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 08:59:03 +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 84f7fdad79 [MRM-1473] remove of plexus-spring : fix archiva converter
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128081 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:54:42 +00:00
Olivier Lamy 22961f8dc4 [MRM-1473] remove use of plexus-spring
ok for archiva-artifact-converter
introduce a new bridge tru sisu-guice to be able to use maven apis components

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128078 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:53:32 +00:00
Olivier Lamy 2fdf7359b3 fix tests in archiva-transaction
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1128076 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:52:33 +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 16714e5e4d clean imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127737 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 23:58:48 +00:00
Olivier Lamy a3c891b60d correctly use basedir for configuration and tests : pass it tru sysprops via surefire
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127584 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 16:58:08 +00:00
Olivier Lamy 1736600c3c no need of svn:executable = * for xml files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127564 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:43:08 +00:00
Olivier Lamy 2fa80445c8 gloups I missed some svn add
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127561 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:37:15 +00:00
Olivier Lamy 971dcc2f35 [MRM-1473] remove use of plexus-spring
move archiva-repository-layer to full spring



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127555 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 15:31:30 +00:00
Olivier Lamy b0a37ac386 move archiva-dependency-tree-consumer to sandbox
see thread http://mail-archives.apache.org/mod_mbox/archiva-dev/201105.mbox/%3CBANLkTim_wR6nGMCae=TH1tFhNKGf0c1Zgw@mail.gmail.com%3E



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127071 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 14:19:24 +00:00
Olivier Lamy e10c8a7635 move archiva-dependency-tree-consumer to sandbox
see thread here http://mail-archives.apache.org/mod_mbox/archiva-dev/201105.mbox/%3CBANLkTim_wR6nGMCae=TH1tFhNKGf0c1Zgw@mail.gmail.com%3E



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1127070 13f79535-47bb-0310-9956-ffa450edef68
2011-05-24 14:17:56 +00:00
Olivier Lamy eead981577 fix archiva-dependency-tree-consumer build : moving this full spring will need some more jobs as it depends on some maven/plexus api (so at least make it not fail
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1126533 13f79535-47bb-0310-9956-ffa450edef68
2011-05-23 15:12:10 +00:00
Olivier Lamy 3f8c66c3f4 fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125756 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 17:57:55 +00:00
Olivier Lamy dc33d46ce9 fix some spring bean name in archiva-policies
move archiva-repository-scanner to full spring

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125755 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 17:57:38 +00:00
Olivier Lamy ed51549ed7 fix bad merge
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125685 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 12:33:03 +00:00
Olivier Lamy facd5173ce [MRM-1473] removing plexus-spring use
fix unit tests in archiva-repository-scanner (not yet moved in full spring)

Conflicts:
	archiva-modules/archiva-base/archiva-configuration/src/main/resources/META-INF/spring-context.xml

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1125648 13f79535-47bb-0310-9956-ffa450edef68
2011-05-21 08:45:49 +00:00