Commit Graph

4148 Commits

Author SHA1 Message Date
Brett Porter 9b4e61dee7 alter again to store cache files in a different directory
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201601 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 05:01:18 +00:00
Brett Porter 292066e3bb avoid configuring archiva in full for tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201582 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 02:46:56 +00:00
Brett Porter a75e5d3977 create an empty temp directory rather than using a dummy file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201580 13f79535-47bb-0310-9956-ffa450edef68
2011-11-14 02:37:18 +00:00
Olivier Lamy e6710e3d80 upgrade selenium version
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201469 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 18:20:44 +00:00
Olivier Lamy 414d1e6266 default http error code for an exception should be 500 not 0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1201465 13f79535-47bb-0310-9956-ffa450edef68
2011-11-13 17:37:40 +00:00
Olivier Lamy bf52047b1f add classifier if exists in the response message
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200257 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 10:38:24 +00:00
Olivier Lamy 98bb578d21 fix typo in label
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200256 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 10:38:09 +00:00
Olivier Lamy 3f8665087a add an exception Mapper to customize reponse http status and response content
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200250 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 10:04:22 +00:00
Olivier Lamy d174bd2427 upgrade to cxf 2.4.4
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200249 13f79535-47bb-0310-9956-ffa450edef68
2011-11-10 10:03:46 +00:00
Olivier Lamy 8424699c98 fix junit due to previous changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200020 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 22:54:03 +00:00
Olivier Lamy 609cdaabe9 [MRM-1551] add rest method to delete artifact.
reuse service in webapp action to avoid too much duplicate code.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1200019 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 22:53:39 +00:00
Olivier Lamy 397e88dac8 add @since for new method
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199829 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:22:04 +00:00
Olivier Lamy f66adc650b [MRM-1551] add rest method to delete artifact.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199828 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:21:33 +00:00
Olivier Lamy 01af7c9bab reorder module to be able to use tomcat:run without building archiva docs
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199826 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:20:53 +00:00
Olivier Lamy f92d281874 fix formatting no functionnal changes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199825 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 16:20:20 +00:00
Olivier Lamy 14b5f5d731 remove a deprecated class ArchivaRoleConstants from archiva-security
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199736 13f79535-47bb-0310-9956-ffa450edef68
2011-11-09 13:14:32 +00:00
Olivier Lamy dd986c1a8b [MRM-1552] Perm-Gen space exception on MAC using the wrapper
add a default to  -XX:MaxPermSize=128m to wrapper.conf

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199338 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 16:49:07 +00:00
Olivier Lamy f21e64d0c9 [MRM-815] aggregate indices for repository groups.
add a unit for this feature.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199337 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 16:48:35 +00:00
Olivier Lamy 6a767ceb44 configure archetype test to run with an empty repo to ensure all artifacts are available
use archetype 2.2-SNAPSHOT which has those features.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199336 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 16:47:11 +00:00
Olivier Lamy e4ca7d18c0 move some test stuff in an Abstract class to be able to reuse it
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199335 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 16:46:50 +00:00
Olivier Lamy 430bfe6791 [MRM-1555] upgrade derby version to 10.8.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199162 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 09:22:18 +00:00
Olivier Lamy ec34863713 restore 1.5 build
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1199161 13f79535-47bb-0310-9956-ffa450edef68
2011-11-08 09:07:51 +00:00
Olivier Lamy 52b31a8ee9 m not needed for memory settings in wrapper.conf
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198794 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 16:16:29 +00:00
Olivier Lamy 1952006041 use new tld uri from redback
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198761 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 14:58:16 +00:00
Olivier Lamy 4521696d10 upgrade to jackrabbit 2.3.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198700 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 11:00:48 +00:00
Olivier Lamy e9f5d8bbde [MRM-815] aggregate indices for repository groups.
add a note on this new feature in virtual-repositories documentation.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198672 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 09:34:27 +00:00
Olivier Lamy 4c10128a3a [MRM-815] aggregate indices for repository groups.
add a sys props in wrapper.conf for ttl value.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198648 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:30:06 +00:00
Olivier Lamy 0f6f9dfa4a [MRM-1549] add some initial memory setup in wrapper.conf
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198647 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:29:53 +00:00
Olivier Lamy cef293cf57 move jdbc test url and jdbc test driver to properties to be able to change that in one place
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198646 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:29:35 +00:00
Olivier Lamy 9721429786 restore a good value, this value was here for testing: not a good production value :--
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198644 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:28:46 +00:00
Olivier Lamy 5dbee3276e add basic memory settings in jetty wrapper distrib
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198643 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 08:28:33 +00:00
Olivier Lamy 31d46f8f87 restore derby version 1.5 compat
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198595 13f79535-47bb-0310-9956-ffa450edef68
2011-11-07 00:05:40 +00:00
Olivier Lamy 7738486c1a maven indexer cleanup only directory content so cleanup manually directory too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198370 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 13:50:40 +00:00
Olivier Lamy 0da6ef6d8c [MRM-1548] configure a java.io.tmpdir in ./temp for jetty distrib
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198293 13f79535-47bb-0310-9956-ffa450edef68
2011-11-06 09:02:03 +00:00
Olivier Lamy 4693e534c1 use temp directory in ${project.build.directory} for tomcat7 run
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198015 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 18:56:57 +00:00
Olivier Lamy b3f0bc9730 gloups compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198014 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 18:56:43 +00:00
Olivier Lamy 7ad0e303a0 [MRM-815] aggregate indices for repository groups.
delete temporary on session end with a session listener
periodical taks to cleanup too old temp group index.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1198011 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 18:50:28 +00:00
Olivier Lamy e9d93aa21b fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197956 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 13:31:53 +00:00
Olivier Lamy ea0034cd8a fix test compilation issue
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197907 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 09:15:00 +00:00
Olivier Lamy 3332f36a12 [MRM-815] aggregate indices for repository groups.
correctlty returned various index files.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197906 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 09:08:42 +00:00
Olivier Lamy f0a3cbb416 check first if the request is .indexer browsing to not iterate over repositories (ie normal process)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197905 13f79535-47bb-0310-9956-ffa450edef68
2011-11-05 09:07:59 +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 6963879067 upgrade slf4j to 1.6.4
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197791 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 21:28:12 +00:00
Olivier Lamy 48314e4daa remove temporary indexes from indexer too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197703 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 18:29:41 +00:00
Olivier Lamy 392019d186 gloups missed to add the file
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197697 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 17:58:42 +00:00
Olivier Lamy 64e1d8c81a use derby only in memory for testing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197665 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 16:59:20 +00:00
Olivier Lamy 08be498ff3 fix unit tests in webapp those lucene locks kills me :-)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197664 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 16:58:51 +00:00
Olivier Lamy d1da0d0d20 fix compilation issue due to redback upgrade
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197635 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 16:33:15 +00:00
Olivier Lamy a383916c30 fix link returned by archiva during browsing
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197602 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 15:41:53 +00:00
Olivier Lamy 534334dd98 fix unit test in webdav weird issue with spring context not the same in servlet runner
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1197599 13f79535-47bb-0310-9956-ffa450edef68
2011-11-04 15:29:31 +00:00