Commit Graph

24 Commits

Author SHA1 Message Date
Joakim Erdfelt 0d3707a11b Overhauling download link.
* Adding <archiva:downloadArtifact /> taglib.
* Adding ability to download sources, javadoc, and client jars too.
* Adding ActiveManagedRepositories class to aide in anonymous artifact handling.
* Adding test-repository for maven 2.x j2ee artifacts with sources / javadoc / client jars.
* Adding ManagedArtifact class to track this relationship between main artifact and attached artifacts.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@503520 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 00:30:59 +00:00
Brett Porter 0b54f729ab Update license, reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@489860 13f79535-47bb-0310-9956-ffa450edef68
2006-12-23 06:39:46 +00:00
Henri Yandell 24c1960dcb Moved to using Commons IO. Just a package name change.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@484829 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 22:33:49 +00:00
Henri Yandell 8f58ff7664 Moved from Plexus-Util StringUtils to Lang StringUtils. replace, split and join should just have had performance improvements (probably won't be noticed). isEmpty no longer trims, but usually people don't expect that so that's a semi bugfix. I've also switched a couple of \!isEmpty's to isNotEmpty.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@481446 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 23:44:12 +00:00
Joakim Erdfelt d839be48a7 * Correcting LocationArtifactReportProcessor to not throw IllegalStateException as it halts the discovery and indexing.
* Catching InvalidArtifactRTException in DefaultReportExecutor to allow discovery and indexing to proceed to next artifact unhindered.
* Catching InvalidArtifactRTException in StandardArtifactIndexRecordFactory to allow discovery and indexeing to proceed to next artifact unhindered.



git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@480817 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 03:32:08 +00:00
Brett Porter cc7b9cb6a7 set native property
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@469650 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 20:56:37 +00:00
Emmanuel Venisse 949ae6337a Remove old archiva-utils module
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@469496 13f79535-47bb-0310-9956-ffa450edef68
2006-10-31 14:18:51 +00:00
Joakim Erdfelt 0cb280cd5f Moving from internal Digest routines to plexus-digest.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@469245 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 19:32:43 +00:00
Edwin L. Punzalan 2b1e907f10 - verified copyright headers
- optimized imports
- ran code formatting

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@467926 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 09:15:23 +00:00
Henri Yandell b77cfe9b67 Improving the exception messages so they include some more contextual information
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@466210 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 17:09:52 +00:00
Brett Porter d221e70b91 set correct line endings
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@446573 13f79535-47bb-0310-9956-ffa450edef68
2006-09-15 11:03:30 +00:00
Brett Porter 90f0dddc43 [MRM-161] introduce a model for storing reports in the repository, and wire them up on the back of the indexer.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@441377 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 05:16:51 +00:00
Brett Porter c0e84cdce7 [MRM-161] add the reporter scheduled task
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@440244 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 04:08:15 +00:00
Brett Porter d875b6a478 [MRM-136] fix caching so that it changes when the index does
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@440211 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 01:13:31 +00:00
Brett Porter 1fa628623b [MRM-136] make the browse interface perform acceptably on large repositories
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@439966 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 07:31:52 +00:00
Brett Porter 0d7b2b158b [MRM-142, MRM-134] remove timestamp handling and instead simply index records that aren't previously indexed. We can add timestamp checking for updating records later, but this removes the problems associated with relying on filesystem timestamps and a single tracking timestamp.
Included in this fix is some refactoring to reduce memory usage, including a hack to flush the project cache periodically. This hack can be removed when the project cache is configurable (see MRM-142).
This now indexes the ibiblio repository from scratch in ~23 minutes, and incremental indexing takes 30-60 seconds.

git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@439935 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 05:34:42 +00:00
John Dennis Casey 16465609af Sorting dependencies before comparison or hashCode calculation to side-step a bug that was fixed in maven 2.0.5 dealing with the sorting of dependencies as they are declared in the POM. Sorting will be restricted to temp variables in those methods to avoid changing behavior.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@439314 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 13:30:13 +00:00
Brett Porter f8dd7d4c5d [MRM-144] improve the search tests and handling of tokens
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437984 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 06:36:57 +00:00
Brett Porter 4abbe9f5ca [MRM-151] test dependency index, fix tokenization
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437192 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 17:49:46 +00:00
Brett Porter 90b48267d7 [MRM-151] index developers and dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437165 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 13:39:54 +00:00
Brett Porter 87fef8ad23 [MRM-145] index skins
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437144 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 11:25:57 +00:00
Brett Porter c5a3a9035f rename package indexing -> indexer
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437117 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 07:42:37 +00:00
Brett Porter ce6b82aa75 rename java packages to archiva
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437105 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 07:22:22 +00:00
Brett Porter 209ef5ca84 rename archiva artifacts
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@437088 13f79535-47bb-0310-9956-ffa450edef68
2006-08-26 05:47:59 +00:00