Commit Graph

156 Commits

Author SHA1 Message Date
Brett Porter a658609b5c [MRM-456] permit having configuration in both sources as long as it doesn't contain any elements that might not save properly (lists)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@564135 13f79535-47bb-0310-9956-ffa450edef68
2007-08-09 08:24:40 +00:00
Maria Odea B. Ching d9ff71462a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563101 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 10:38:34 +00:00
Maria Odea B. Ching 72c28b496c [maven-release-plugin] prepare release 1.0-beta-1
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563098 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 10:35:55 +00:00
Maria Odea B. Ching bdf4db75a9 Commented out tests due to test failures (needed for release).
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563095 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 10:21:29 +00:00
Maria Odea B. Ching 26df7922cd Commented assert in MavenProjectInfoReportsPluginDependencyGraphTest because of test failure.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563082 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 09:59:05 +00:00
Maria Odea B. Ching 7db1bd8f9d [MRM-294]
- Changed DefaultCleanupReleasedSnapshots to CleanupReleasedSnapshotsRepositoryPurge
- Removed unneeded fields in RepositoryPurgeConsumer
- Added constructor for DaysOldRepositoryPurge, RetentionCountRepositoryPurge and CleanupReleasedSnapshotsRepositoryPurge
- Updated test classes and test resources



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563064 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 08:22:35 +00:00
Maria Odea B. Ching 45ad3a396b [MRM-275]
- Added days older, retention count and delete released snapshots fields in repository page.
- Updated RepositoryPurgeConsumer



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@563030 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 05:45:38 +00:00
Maria Odea B. Ching 1a7b107c06 [MRM-294] and [MRM-275]
- Added the test cases which were left out during the initial commit
- Added DefaultCleanupReleasedSnapshots (m2 implementation for cleaning up snapshots that were already released)
- Updated the following files: archiva-core-consumers/pom.xml, RepositoryPurgeConsumer, DaysOldRepositoryPurge, RetentionCountRepositoryPurge and 
AbstractRepositoryPurge



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562882 13f79535-47bb-0310-9956-ffa450edef68
2007-08-05 15:08:44 +00:00
Maria Odea B. Ching 9dda4d03d3 [MRM-294] Repository purge
- Added RepositoryPurgeConsumer
- Added these other classes used in repo purge: DaysOldRepositoryPurge, RetentionCountRepositoryPurge, ArtifactFilenameFilter and 
RepositoryPurgeException
- Added tests and test data
- Added new fields in configuration.mdo (daysOlder and retentionCount)
- Added repository-purge as a consumer in default-archiva.xml (but currently commented out)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562766 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 21:46:32 +00:00
Brett Porter 498d33c645 [MRM-451] correct regression in the change listener handling of the default configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562681 13f79535-47bb-0310-9956-ffa450edef68
2007-08-04 10:11:33 +00:00
Brett Porter 0dc2c29c92 [MRM-329] revised reporting actions
Submitted by: Teodoro Cue

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562511 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 16:02:00 +00:00
Brett Porter 19800f99da [MRM-430] revert configuration if it failed to save
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562488 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:48:18 +00:00
Joakim Erdfelt ad906608b7 * Updating my email address from joakim@erdfelt.com to my apache side email address at joakime@apache.org
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562485 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:44:15 +00:00
Joakim Erdfelt 419b6bd007 Fixing license header and adding statis serialVersionUID.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562482 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:37:47 +00:00
Joakim Erdfelt 480a2b7872 Correcting whitelist handling.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562477 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:33:35 +00:00
Joakim Erdfelt ded6d2666e Correcting whitelist handling.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562476 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:33:32 +00:00
Brett Porter 01350dc303 [MRM-430] configuration adjustments and tests
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562474 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 14:16:58 +00:00
Brett Porter b3f3de4a98 [MRM-347] locate the repositories under the data directory
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562370 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 07:39:18 +00:00
Brett Porter af94415b0e [MRM-347] prevent creating /${appserver.home} directory which is not populated under the appserver for some reason. The base directory is the appropriate location for data anyway - so these are the values that should have been used.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562369 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 07:36:53 +00:00
Brett Porter f8e12362f6 [MRM-412] support legacy layout requests
Submitted by: nicolas de loof

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562356 13f79535-47bb-0310-9956-ffa450edef68
2007-08-03 06:54:05 +00:00
Joakim Erdfelt 59cd555432 [MRM-329] The Reports link gives an HTTP 500
Patch by: Teodoro Cue Jr



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@562233 13f79535-47bb-0310-9956-ffa450edef68
2007-08-02 20:02:27 +00:00
Maria Odea B. Ching 488303a9e8 [MRM-425 and MRM-426]
- Added and modified code for handling snapshots (if the versions of a specific artifact snapshot are only timestamped versions, add a 
generic snapshot which is pointing to the latest timestamp version) in DefaultRepositoryBrowsing and ProjectModelToDatabaseConsumer.
- Updated pom validations in ProjectModelToDatabaseConsumer - handling of timestamped versions were considered
- Added isUniqueSnapshot(..) and isGenericSnapshot(..) in VersionUtil
- Added new attribute 'modelVersion' in DependencyTreeTag to get the in-pom version. Did not use the version attribute so as to retain the 
actual version being browsed. Also updated DependencyTree
- Updated the ff. pages for the version to be displayed: artifactInfo.jspf, showArtifact.jsp, dependencyTree.jsp and artifactDecorator.jsp
- Updated the version in SearchResultHit



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@558795 13f79535-47bb-0310-9956-ffa450edef68
2007-07-23 16:48:30 +00:00
Fabrice Bellingard b1652e7034 Various <version> fixes in POMs after 1.0-alpha-2 release
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550447 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 10:37:47 +00:00
Wendy Smoak c1ef06e2ab [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550128 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:22:30 +00:00
Wendy Smoak 2023b7ee64 [maven-release-plugin] prepare release archiva-parent-1.0-alpha-2
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550126 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 22:21:50 +00:00
Wendy Smoak 35123fcd01 MRM-421 Added a whitelist entry of '*' to the pre-configured internal -> central proxy connector so it will actually proxy. Without this, requests result in 'Failed pre-download policies' log messages.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550008 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 04:07:39 +00:00
Wendy Smoak d0f4612596 MRM-422 Fix the directory name for the snapshots repository in the default config
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@550007 13f79535-47bb-0310-9956-ffa450edef68
2007-06-23 03:41:48 +00:00
Fabrice Bellingard 0d205a2db8 [MRM-418] Remove the network proxy example from default archiva.xml
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@549497 13f79535-47bb-0310-9956-ffa450edef68
2007-06-21 14:37:48 +00:00
Maria Odea B. Ching 0c068d1f83 [MRM-409] Updated validation of poms.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@549048 13f79535-47bb-0310-9956-ffa450edef68
2007-06-20 10:21:47 +00:00
Joakim Erdfelt 0c58a1c253 Turning down the noise in the log.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548828 13f79535-47bb-0310-9956-ffa450edef68
2007-06-19 19:14:37 +00:00
Brett Porter ce3bd90a4a couple of small syntax fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548354 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 13:28:59 +00:00
Joakim Erdfelt 6405f2be6b [MRM-388] Unable to configure archiva if configuration file did not already exist
Correcting DatabaseUpgrade process that was causing the problem.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548151 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 00:54:16 +00:00
Joakim Erdfelt 8ee3af9fbf [MRM-415]: [MySQL] Specified key was too long; max key length is 765 bytes
Specifying a size for all keys in database. (missed one)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548149 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 00:51:02 +00:00
Joakim Erdfelt 2b3afd3d17 [MRM-415]: [MySQL] Specified key was too long; max key length is 765 bytes
Specifying a size for all keys in database.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548135 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 23:25:54 +00:00
Joakim Erdfelt e6fc266d61 [MRM-369]: [Repository Scanning] Exception on update to pre-existing artifact.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548120 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 21:44:25 +00:00
Joakim Erdfelt 17e3dd1d76 Fixing JDK 1.5 specific usage. (to use JDK 1.4 as minimum JDK)
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548113 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 21:13:55 +00:00
Joakim Erdfelt e7664898d6 [MRM-410] Dependency Tree is not shown in artifact details screen.
* Refactored project resolution into ProjectModelResolverFactory component.
* All resolution access points now use this factory.
* Created ResolverFactoryInit as plexus component load-on-start, to hookup database to resolver stack.
* Created archiva:dependency-tree taglib



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@548008 13f79535-47bb-0310-9956-ffa450edef68
2007-06-17 04:50:05 +00:00
Fabrice Bellingard 743213aaf3 [MRM-370] NPE when trying to proxy a request for a plugin
Patch submitted by Jens Mühlenhoff

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547590 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 09:33:41 +00:00
Jesse McConnell 68721e8607 flush the outputwriter so its all cleaned up
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547385 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 20:08:06 +00:00
Joakim Erdfelt 926610fc53 [MRM-410] Dependency Tree is not shown in artifact details screen.
Adding support libs.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547277 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 15:25:42 +00:00
Joakim Erdfelt 5d08631288 Creating VersionComparator for doing logical sorts of Lists of versions.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547259 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 14:41:19 +00:00
Maria Odea B. Ching 4d18f5723d MRM-409 and MRM-376
-Added pom validation in ProjectModelToDatabaseConsumer
-Added handling of ObjectNotFoundException in ShowArtifactAction
-Created a new class CorruptArtifactReport for corrupt/invalid pom or artifact repository problem (to be added in database)



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@547209 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 10:47:02 +00:00
Fabrice Bellingard 2cba9744f8 [MRM-413] maven2-repository.dev.java.net repository URL in not correct
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@544769 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 08:45:24 +00:00
Joakim Erdfelt 9bcbf0e482 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543535 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:10:47 +00:00
Joakim Erdfelt 582f8d5781 [maven-release-plugin] prepare release archiva-1.0-alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543533 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:10:13 +00:00
Fabrice Bellingard 6cc21f2daf [MRM-394] default remote repositories central, java.net are not available in remote repositories list
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543454 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 10:13:29 +00:00
Maria Odea B. Ching b22c2b33aa MRM-376 Added model.setOrigin("filesystem") in WrappedDatabaseProjectModelResolver. A null origin causes the project model not to be added in the database, thus when searched/browsed in repo results to JDOObjectNotFoundException.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@543115 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 11:31:19 +00:00
Fabrice Bellingard 4d8738d248 [MRM-405] Archiva can't connect to remote repositories if they are behind a network proxy
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542803 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 11:54:13 +00:00
Joakim Erdfelt 2ee0a9bc84 [MRM-380]: When trying to look at project with empty groupId
Update for exception on Roles and JDODetachedFieldException

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542634 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 19:47:26 +00:00
Joakim Erdfelt 188b3e45e5 [MRM-380]: When trying to look at project with empty groupId
Update for efficicency.  Save resolved project models to database as they are resolved.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@542631 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 19:24:48 +00:00