Commit Graph

3382 Commits

Author SHA1 Message Date
Olivier Lamy 1bc0683d36 fix 1.5 build with reintroducing javax.annotation:jsr250-api dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135418 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:58:21 +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 80c3274cd3 fix sonar issue : Inefficient use of keySet iterator instead of entrySet iterator
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135410 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:48:36 +00:00
Olivier Lamy 413d9e641b fix sonar issue : Double assignment of field
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135408 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 08:46:07 +00:00
Olivier Lamy c19e95ffc1 fix more tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135332 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:35:36 +00:00
Olivier Lamy 4db8075bc6 fix more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135326 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:23:33 +00:00
Olivier Lamy 44629e35f6 fix more unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135325 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 22:23:14 +00:00
Olivier Lamy fcf4879734 fix more test in webapp module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135307 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:50:10 +00:00
Olivier Lamy 3f982d838d update .gitignore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135305 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:49:42 +00:00
Olivier Lamy 1638ae466c fix junit ProxyConnectorsActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135304 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 21:49:32 +00:00
Olivier Lamy 48ba62c363 simplify/boost unit tests with loading a smaller container
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135266 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:55 +00:00
Olivier Lamy 9bc2b8ae00 fix junit : cleanup ProxyConnectors before each tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135265 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:37 +00:00
Olivier Lamy e318df26fc fix junit : ensure file from previous test is deleted, cleanup connectors before/after each tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135264 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 20:33:20 +00:00
Olivier Lamy 748a97c62f fix junit for RepositoryServletProxiedMetadataLocalOnlyTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135187 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 17:27:17 +00:00
Olivier Lamy 1a5b1ab654 forkMode always in webdav module to fix a lot of unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135169 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 16:48:37 +00:00
Olivier Lamy 1d66415cae fix unit test for RepositoryServletProxiedTimestampedSnapshotPolicyTest : call setup and tearDown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135142 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:21:11 +00:00
Olivier Lamy 51abcfbcbb fix unit test for RepositoryServletProxiedPassthroughTest : call setup and tearDown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135141 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:20:54 +00:00
Olivier Lamy 22ae2288b1 fix unit test for RepositoryServletProxiedMetadataRemoteOnlyTest : call setup and tearDown
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135140 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:20:37 +00:00
Olivier Lamy c97525b3b6 fix archiva configuration duplicate remote repos during unit tests for RepositoryServletProxiedPluginSnapshotPolicyTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135113 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:22:15 +00:00
Olivier Lamy 1eacae0de2 fix spring configuration for unit test RepositoryServletSecurityTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135112 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 14:21:55 +00:00
Olivier Lamy cd73ad4d78 fix junit spring configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135064 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 09:00:36 +00:00
Olivier Lamy b55ef5058a fix junit spring configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135059 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 08:24:17 +00:00
Olivier Lamy 4ebc70a0e6 ensure we save the configuration for restarting applicationcontext with httpunit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134960 13f79535-47bb-0310-9956-ffa450edef68
2011-06-12 19:15:17 +00:00
Olivier Lamy 27b5c1a52b fix cli module
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134775 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 21:31:07 +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 877d1d76b4 simplify debug with using slf4j feature with {}
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134713 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:28 +00:00
Olivier Lamy cd0f9ad6a7 prefer StringBuilder to StringBuffer
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134712 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 17:55:03 +00:00
Olivier Lamy 2cd4113c6d upgrade sitemesh struts plugin now tomcat:run works
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134679 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 16:01:52 +00:00
Olivier Lamy f9e6895b42 fix unit tets configuration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134603 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:45:41 +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 a7981baef0 more in .gitignore
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134585 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:17:44 +00:00
Olivier Lamy c6b5ed4818 fix some test compilation issues in webapp module : will fix unit later, must compile at least !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134584 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:17:34 +00:00
Olivier Lamy 75ac09e5b5 fix some test compilation issues in webapp module : will fix unit later, must compile at least !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134582 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:16:55 +00:00
Olivier Lamy 90eed34339 fix some test compilation issues in webapp module : will fix unit later, must compile at least !
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134581 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:16:27 +00:00
Olivier Lamy 040d582980 upgrade struts2 version to 2.2.3 to align with redback
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134580 13f79535-47bb-0310-9956-ffa450edef68
2011-06-11 12:16:02 +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 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 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 d9ba2b6814 force spring-jdo version to be used
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1134348 13f79535-47bb-0310-9956-ffa450edef68
2011-06-10 15:35:58 +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 03accd4ffd oups miss to add a file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133953 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:55:58 +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 013b9914d8 fix some unit tests setup in archiva-webdav
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133581 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 22:12:21 +00:00
Olivier Lamy 1fb61463c8 ensure cleanup datas for other tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1133543 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 20:12:23 +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