357 Commits

Author SHA1 Message Date
Olivier Lamy
01c3aee959 preserve stack trace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1374660 13f79535-47bb-0310-9956-ffa450edef68
2012-08-18 21:33:10 +00:00
skygo
2284bc1635 Skip tests if module is installed in a path with space. (Repository will be invalid)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1371207 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 13:37:38 +00:00
Olivier Lamy
0bda5f0465 no more need of jaxb-api we are now 1.6 required
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1370410 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 18:12:39 +00:00
Olivier Lamy
2d64002185 remove dependency on maven tree component
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369472 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 21:28:22 +00:00
Olivier Lamy
3d344fa1df fix osgi metadata
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369274 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 07:25:57 +00:00
Olivier Lamy
664eea9e41 dependency tree with aether move beans to a separate new module to be able to reuse beans
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1369269 13f79535-47bb-0310-9956-ffa450edef68
2012-08-04 06:56:52 +00:00
Olivier Lamy
c2aa60f68f lot of code cleanup for dependency tree
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368580 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:23:04 +00:00
Olivier Lamy
4c24639c91 use directly aether api to get dependency tree rather than passing tru maven resolution mechanism
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1368579 13f79535-47bb-0310-9956-ffa450edef68
2012-08-02 16:22:37 +00:00
Olivier Lamy
b7eecb18c1 avoid multiple slf4j binding in test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1367184 13f79535-47bb-0310-9956-ffa450edef68
2012-07-30 17:27:33 +00:00
Olivier Lamy
35c58406a8 correctly close jarFile in a finally block
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1358773 13f79535-47bb-0310-9956-ffa450edef68
2012-07-08 16:16:01 +00:00
Olivier Lamy
dbe5a525d6 [MRM-1583] fix license headers
Submitted by Adrien Lecharpentier.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1358154 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 12:19:40 +00:00
Olivier Lamy
1c999934de fix osgi imports
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357947 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 21:42:19 +00:00
Olivier Lamy
20d2ba964e remove all @version $Id$
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357898 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:49:18 +00:00
Olivier Lamy
c7165afad7 oups missed some add files
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357890 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:43:58 +00:00
Olivier Lamy
707cdb193a [MRM-1583] ui rewrite: rewrite reports page
Submitted by Adrien Lecharpentier.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357889 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:43:37 +00:00
Olivier Lamy
17d1f944e0 [MRM-1640] With the new Fest Assert version, some imports/methods call have to be changed
Submitted by Adrien Lecharpentier.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357608 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 13:55:20 +00:00
Olivier Lamy
dd386202d6 use fest assert 2.0
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1357005 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 23:11:27 +00:00
Olivier Lamy
a116e45603 fix some issues reported by rat check
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1356459 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 20:25:06 +00:00
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
e3885c59da avoid jackrabbit failure on deleting a test repo
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1355375 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 13:29:57 +00:00
Olivier Lamy
21ad158d57 avoid failing on cleaning test repo in unit tests: jackrabbit fail if deleting a repo with stale items
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1355247 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 06:58:39 +00:00
Olivier Lamy
fc03351de7 cache size in kb rather than bytes
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354561 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 14:58:01 +00:00
Olivier Lamy
dead89634c display inMemorySize for cache
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354560 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 14:57:43 +00:00
Olivier Lamy
29b2179854 help a bit memory allocation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353653 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 16:54:59 +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
2296e073bf ensure we use correct lucene artifacts.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1353617 13f79535-47bb-0310-9956-ffa450edef68
2012-06-25 15:54:21 +00:00
Olivier Lamy
69ff5ca81c take of version when we delete a timestamped snapshot
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1352873 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 13:10:41 +00:00
Olivier Lamy
c68f1c3154 correctly update metadata after deletion
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1351896 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:56:42 +00:00
Olivier Lamy
74077123a7 fix deletion of snapshot artifact
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1351877 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 22:02:38 +00:00
Olivier Lamy
904b86e395 use tomcat embeded for unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1350799 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 21:09:19 +00:00
Olivier Lamy
f2809251dc restore backward comp for the struts webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1350773 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 20:10:08 +00:00
Olivier Lamy
235030c2bd fix download link in jsp webapp
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1349787 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 12:16:24 +00:00
Olivier Lamy
0db6c1faa2 fix unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1349786 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 12:15:50 +00:00
Olivier Lamy
710489fc72 implement service to delete groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346651 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 23:17:23 +00:00
Olivier Lamy
0af5a819d9 when deleting an artifact md5 and sha1 must be deleted too
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1346611 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:43:53 +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
0c42d87da1 fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345591 13f79535-47bb-0310-9956-ffa450edef68
2012-06-02 21:41:16 +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
4f25bfb612 fix download url with setting correctly file extension.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345394 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:46:40 +00:00
Olivier Lamy
9375a7c4db improve test
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345393 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 23:46:25 +00:00
Olivier Lamy
fb7b1842b3 fix junit
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1344324 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 16:05:53 +00:00
Olivier Lamy
bbadcdcf91 start work on deleting artifacts tru the ui
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1344323 13f79535-47bb-0310-9956-ffa450edef68
2012-05-30 16:05:28 +00:00
Olivier Lamy
b310f597df remove non needed parameters
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343831 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 16:35:48 +00:00
Olivier Lamy
d91a07b77b this is fixed now
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343830 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 16:35:33 +00:00
Olivier Lamy
cc2d715e54 [MRM-1621] add download box in artifact detail for new ui.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343828 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 16:35:00 +00:00
Olivier Lamy
62895209c3 return url for ArtifactDownloadInfos service
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343827 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 16:34:39 +00:00
Olivier Lamy
5cdaedb142 simplify by reusing an existing class
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343826 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 16:34:21 +00:00
Olivier Lamy
315aa8b18f use hsql for unit tests
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1343714 13f79535-47bb-0310-9956-ffa450edef68
2012-05-29 13:29:06 +00:00