Commit Graph

111 Commits

Author SHA1 Message Date
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
Olivier Lamy b781d2f5f7 update plexus-spring groupId
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1103898 13f79535-47bb-0310-9956-ffa450edef68
2011-05-16 21:26:24 +00:00
Brett Porter 86ed5afc5c [MRM-1111] upgrade to Struts 2.1.8.1
Applied patch and made some additional modifications
Submitted by: Julien Henry, Gwen Harold Autencio

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1091398 13f79535-47bb-0310-9956-ffa450edef68
2011-04-12 13:23:24 +00:00
Brett Porter 076a33f877 [MRM-1327] fix 'used by' to work under JCR store. Remove updateProjectReferences API
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1086569 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 12:42:47 +00:00
Brett Porter 23a09c2024 [MRM-1443, MRM-1327] allow repository-statistics module to optimise statistics generation if JCR store is available
- updates to other mock repositories

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053826 13f79535-47bb-0310-9956-ffa450edef68
2010-12-30 08:54:16 +00:00
Brett Porter 6ff9147139 [MRM-1327] hook save()/close()/revert() methods to the repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053630 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 13:02:59 +00:00
Brett Porter f56609efad [MRM-1330] refactor access around the concept of a "repository session". See Javadoc for some notes. This should be a single entry point for application users of either the metadata repository, resolution, or storage access. The session needs to be explicitly closed (and modifications saved) to facilitate some storage mechanisms.
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1053542 13f79535-47bb-0310-9956-ffa450edef68
2010-12-29 06:14:04 +00:00
Brett Porter c63e2a3f77 [MRM-1327] refactor the repository API to make each concern clearer. Storage, resolver and metadata repository are separate interfaces. Rename methods on the resolver and the storage to be clearer of their intent
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051788 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 08:31:56 +00:00
Brett Porter badcc9e925 [MRM-1327] add exception handling to the metadata repository implementation
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1051732 13f79535-47bb-0310-9956-ffa450edef68
2010-12-22 01:53:10 +00:00
Maria Odea B. Ching e82ce0f0b5 merged MRM-980 branch to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1002059 13f79535-47bb-0310-9956-ffa450edef68
2010-09-28 09:09:32 +00:00
Carlos Sanchez Gonzalez 887786e059 Seconds difference could make test fail, compare date differences
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@983755 13f79535-47bb-0310-9956-ffa450edef68
2010-08-09 18:05:55 +00:00
Brett Porter 2e9c35d4aa [MRM-1329] Start to revise Javadoc of APIs
- additionally, add projectVersion to the ArtifactMetadata so that the full coordinate is available.

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@923520 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 00:21:13 +00:00
Brett Porter 606c82cbca merged recent changes from trunk, and reimplemented incoming audit log functionality as a plugin using the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@900664 13f79535-47bb-0310-9956-ffa450edef68
2010-01-19 06:15:09 +00:00
Brett Porter fb9ad3f771 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898618 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 02:07:00 +00:00
Brett Porter d3fede7d5d [maven-release-plugin] prepare release archiva-1.3
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@898616 13f79535-47bb-0310-9956-ffa450edef68
2010-01-13 02:05:50 +00:00
Brett Porter 0960c24cfb [MRM-1301] add back summary statistics for various counts
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@891102 13f79535-47bb-0310-9956-ffa450edef68
2009-12-16 02:25:42 +00:00
Brett Porter 99765460e0 [MRM-1299] migrate RSS from the database to the metadata repository
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888723 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 08:08:21 +00:00
Brett Porter 4ea422a9d1 remove unnecessary dependency on commons-lang
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@888603 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 22:31:37 +00:00
Brett Porter e89326d687 [MRM-1025] merge -r721944:723577 from former MRM-1025 branch, now aligned to trunk
git-svn-id: https://svn.apache.org/repos/asf/archiva/branches/MRM-1025@825867 13f79535-47bb-0310-9956-ffa450edef68
2009-10-16 12:35:38 +00:00
Brett Porter eb9383c0a4 some POM clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@822640 13f79535-47bb-0310-9956-ffa450edef68
2009-10-07 10:12:41 +00:00
Maria Odea B. Ching 6ad5da6f8d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808338 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:34:26 +00:00
Maria Odea B. Ching 924e33b562 [maven-release-plugin] prepare release archiva-1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@808336 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 09:30:51 +00:00
Maria Odea B. Ching 81aa36aa09 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807091 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:14:31 +00:00
Maria Odea B. Ching 03aae7ee6a [maven-release-plugin] prepare release archiva-1.2.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@807087 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 06:12:10 +00:00
Maria Odea B. Ching 3fea67fafd [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778166 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:50:05 +00:00
Maria Odea B. Ching 2d00ba7504 [maven-release-plugin] prepare release archiva-1.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778164 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:46:45 +00:00
Maria Odea B. Ching 4f50f5722e revert to 1.2.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778156 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 14:17:53 +00:00
Maria Odea B. Ching f2a299be93 [maven-release-plugin] prepare release archiva-1.2.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@778151 13f79535-47bb-0310-9956-ffa450edef68
2009-05-24 13:58:14 +00:00
Maria Odea B. Ching 8dc8cd536a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757124 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:19:24 +00:00
Maria Odea B. Ching d811b1f00d [maven-release-plugin] prepare release archiva-1.2
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@757122 13f79535-47bb-0310-9956-ffa450edef68
2009-03-22 03:15:29 +00:00
Brett Porter 6952e5a90e warnings in RSS
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@755297 13f79535-47bb-0310-9956-ffa450edef68
2009-03-17 16:14:27 +00:00
Brett Porter 537ff689e7 [MRM-1140] centralise logging through slf4j
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@753590 13f79535-47bb-0310-9956-ffa450edef68
2009-03-14 02:33:57 +00:00
James William Dumay 6267a21d29 MRM-1081 - Archiva model should be updated so that the ARTIFACT table includes repositoryId as a primary key
* Updated so that repositoryId is part of the primary key for an artifact
* removed old search API classes as they needed to be brought over to the new API and doing so would be a waste of time



git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@742859 13f79535-47bb-0310-9956-ffa450edef68
2009-02-10 05:35:05 +00:00
Brett Porter f578399872 remove @author tags as agreed on list: http://markmail.org/message/mtycwzotzosbywzr
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@718864 13f79535-47bb-0310-9956-ffa450edef68
2008-11-19 06:33:35 +00:00
Maria Odea B. Ching db96d2d7f2 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@712168 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 15:44:29 +00:00
Maria Odea B. Ching 4cd3872031 [maven-release-plugin] prepare release archiva-1.2-M1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@712154 13f79535-47bb-0310-9956-ffa450edef68
2008-11-07 15:15:14 +00:00
Maria Odea B. Ching 5cdf0b8fa4 [MRM-84]
-added statistics report in reports UI
-added statistics report generator with tests
-added new fields (totalProjectCount, totalGroupCount, totalArtifactCount and totalSize) to RepositoryContentStatistics table


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@700729 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 10:27:16 +00:00
Brett Porter 442f4a8749 [MRM-948] remove direct use of database and indexer from the core consumers, trim database related dependencies
Merged from: r694625


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@695101 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 02:10:59 +00:00
Maria Odea B. Ching 4aa6c9bab0 [MRM-883]
-do not generate feed if there are no information available
-return 204 if no information/update available


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@679754 13f79535-47bb-0310-9956-ffa450edef68
2008-07-25 10:47:53 +00:00
Maria Odea B. Ching 0d580b48c1 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@677215 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 09:43:54 +00:00
Maria Odea B. Ching ef3b578f91 [maven-release-plugin] prepare release archiva-1.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@677213 13f79535-47bb-0310-9956-ffa450edef68
2008-07-16 09:41:07 +00:00
Maria Odea B. Ching c5b51473ba [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674706 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 02:04:28 +00:00
Maria Odea B. Ching 84c614d09a [maven-release-plugin] prepare release archiva-1.1
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@674704 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 02:01:17 +00:00
Maria Odea B. Ching f3f9a85b3f removed commented assertions
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@672128 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 06:56:49 +00:00
Maria Odea B. Ching 207111bebc cleanup some of the rss code
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@671856 13f79535-47bb-0310-9956-ffa450edef68
2008-06-26 11:12:47 +00:00
Brett Porter 6d84f3a0a5 POM clean up
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@667751 13f79535-47bb-0310-9956-ffa450edef68
2008-06-14 06:27:11 +00:00
Maria Odea B. Ching c65b10563e [MRM-773]
-query only versions of artifacts with whenGathered != null
-created test


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656552 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 08:46:12 +00:00
Maria Odea B. Ching 65a63b95ec [MRM-773]
-fix the publish date of the rss entries
-remove if condition in RepositoryContentConsumers.getStartDate()


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@656516 13f79535-47bb-0310-9956-ffa450edef68
2008-05-15 06:20:45 +00:00
Maria Odea B. Ching e85deb992e [MRM-773]
-set limit date of artifacts to be included in the feed (new artifacts in repo)
-created test for ArtifactsByRepositoryConstraint


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@653303 13f79535-47bb-0310-9956-ffa450edef68
2008-05-05 06:24:29 +00:00
Maria Odea B. Ching ce8c8a06a2 [MRM-773]
fixed where condition for querying new versions of a specific artifact


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652241 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 03:29:34 +00:00
Maria Odea B. Ching a8bc40dbd4 [MRM-773]
-added the servlet that would handle the rss feed requests
-created tests for the servlet
-removed thrown exception in getSpringConfigLocation() that is being overridden in PlexusInStringTestCase
-updated jsps to the new rss feed urls


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@652230 13f79535-47bb-0310-9956-ffa450edef68
2008-04-30 02:18:43 +00:00
Maria Odea B. Ching 36562a6696 [MRM-773]
-get feed contents from the database
-generate the feed without writing to a file


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@651956 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 14:04:28 +00:00
Maria Odea B. Ching 3ad24bfa31 -added check to not generate rss feed if there are no new artifacts
-do not set the link for the feed entries


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@648913 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 01:03:01 +00:00
Maria Odea B. Ching 5920685d00 -added additional test case for RssFeedGenerator
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@648105 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 03:06:55 +00:00
Maria Odea B. Ching 328422ab73 -reverted exclusions of plexus-container in plexus-spring dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@648097 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 02:14:25 +00:00
Maria Odea B. Ching 32474f11ca -exclude plexus container in plexus-spring dependency
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@647784 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 13:03:47 +00:00
Brett Porter db51c1b590 remove all traces of the Plexus container
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@647663 13f79535-47bb-0310-9956-ffa450edef68
2008-04-14 04:58:17 +00:00
Maria Odea B. Ching 66612a985f [MRM-123]
-configure host and port of the links in the rss feeds


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645833 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 10:36:50 +00:00
Maria Odea B. Ching d346a91845 [MRM-123]
-generate/update rss feeds after repository scan
-add rss feed icon in repositories (for new artifacts in repo feed) and in browse artifact (for new versions of artifact feed)


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645576 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 15:50:57 +00:00
Maria Odea B. Ching ede408e255 [MRM-123]
-generate feeds for new artifacts in the repo and new versions of artifacts
-added tests


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@645347 13f79535-47bb-0310-9956-ffa450edef68
2008-04-07 02:56:58 +00:00
Maria Odea B. Ching ff44aa71b4 [MRM-123]
-move the rss classes to it's own module


git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@644151 13f79535-47bb-0310-9956-ffa450edef68
2008-04-03 03:42:59 +00:00