Commit Graph

3648 Commits

Author SHA1 Message Date
Olivier Lamy 26665cb8ea cleanup archivaConfiguration before new test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1136005 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 11:54:15 +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
Maria Odea B. Ching 90df2242ac added missing @Inject
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135973 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 09:25:15 +00:00
Olivier Lamy e75bb63a99 fix junit BrowseActionTest and RepositoriesActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135814 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 21:46:04 +00:00
Olivier Lamy 0ddd97bda1 fix junit RssFeedServletTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135766 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:58:02 +00:00
Olivier Lamy b65800bd86 fix junit DeleteArtifactActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135761 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 19:32:27 +00:00
Olivier Lamy 6080960325 fix junit BrowseActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135711 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 17:24:30 +00:00
Olivier Lamy e1d9dfbee5 fix junit GenerateReportActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135696 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 16:51:45 +00:00
Olivier Lamy d36818c0fe fix junit ShowArtifactActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135689 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 16:39:58 +00:00
Olivier Lamy 0f21fce9ac fix junit RepositoryGroupsActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135597 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:20:33 +00:00
Olivier Lamy ef36672d5f fix junit EditRemoteRepositoryActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135596 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:19:15 +00:00
Olivier Lamy 98f74f984a fix SortProxyConnectorsActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135589 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 14:15:52 +00:00
Olivier Lamy 2aa8c3c35a fix unit test EditOrganizationInfoActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135554 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 13:17:27 +00:00
Olivier Lamy c89214ef07 fix OrganizationInfoActionTest
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1135519 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 12:20:20 +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 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