Joakim Erdfelt
f4b5bbc447
Removing unused imports.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637540 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 04:48:58 +00:00
Joakim Erdfelt
cea8a7f707
Adding apache header, fixing javadocs.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637499 13f79535-47bb-0310-9956-ffa450edef68
2008-03-16 01:11:40 +00:00
Brett Porter
d410cff584
merge the archiva-spring branch
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@637056 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 11:13:29 +00:00
Joakim Erdfelt
97bffde52d
MRM-710: Use commons-lang instead of Plexus Utils
...
Replacing plexus utils StringUtils with FilenameUtils.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@636997 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 05:39:17 +00:00
Joakim Erdfelt
adb4a8a7e4
MRM-731 - variable in url pom are not replaced.
...
Applying same fix as in branch/archiva-1.0.x
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@635795 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 03:59:04 +00:00
Brett Porter
dcaeec7ff7
[MRM-731] fix failure introduced by previous commit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630844 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 13:44:23 +00:00
Brett Porter
63555143b2
guard against NPE
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630842 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 13:32:12 +00:00
Brett Porter
e61bcfea4c
[MRM-713] extensionPattern in FilenameParser is incorrect
...
Submitted by: james ahlborn
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630811 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 11:23:28 +00:00
Maria Odea B. Ching
79947feead
-merge changes from archiva-1.0.x branch -r630722
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630750 13f79535-47bb-0310-9956-ffa450edef68
2008-02-25 07:38:31 +00:00
Brett Porter
ee66759481
[MRM-674] correct problems with test-sources classifier and alternate version approaches
...
Merged from: r630092,r630094 on archiva-1.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@630098 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 05:50:14 +00:00
Joakim Erdfelt
5f27f502ff
MRM-708 - Migrate from Plexus Logging to Slf4J
...
* Finishing up AbstractLogEnabled conversions to Slf4J.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@629704 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 07:31:33 +00:00
Joakim Erdfelt
45fca34ec2
MRM-708 - Migrate from Plexus Logging to Slf4J
...
* Changing AbstractLogEnabled for consumers.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@629703 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 07:28:33 +00:00
Joakim Erdfelt
23203d1a11
MRM-708 - Migrate from Plexus Logging to Slf4J
...
* Fixing dependencies for slf4j
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@629701 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 07:25:33 +00:00
Brett Porter
a13e30feb5
[MRM-703] Artifacts with extensions longer than fours characters breaks repository scanning
...
Submitted by: Jim Jackson
Merged from: r629020 on archiva-1.0.x branch
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@629023 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 08:35:55 +00:00
Maria Odea B. Ching
8dbb5ad8c0
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@612722 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 05:55:30 +00:00
Maria Odea B. Ching
720b5f60c1
[maven-release-plugin] prepare release archiva-1.0.1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@612720 13f79535-47bb-0310-9956-ffa450edef68
2008-01-17 05:52:31 +00:00
Nicolas De Loof
75a2efd2dd
remove dependency between archiva-configuration and archiva-model
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@610753 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 10:54:32 +00:00
Nicolas De Loof
e25c4643a5
fix missing "@since 1.1"
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@603932 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 15:02:22 +00:00
Nicolas De Loof
678173ca42
MRM-594 convert PathParsers to a plexus component, so that it can access the archivaConfiguration and read custom legacyPath 2 artifact references.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@602922 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 14:58:14 +00:00
Maria Odea B. Ching
54da9df2b8
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@597643 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 11:19:29 +00:00
Maria Odea B. Ching
dad43cc047
[maven-release-plugin] prepare release archiva-1.0
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@597641 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 11:16:46 +00:00
Maria Odea B. Ching
c6024956a9
-added missing ArtifactClassifierMapping which got left out from yesterday's commit
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@596922 13f79535-47bb-0310-9956-ffa450edef68
2007-11-21 03:37:20 +00:00
Maria Odea B. Ching
9cc410a27c
[MRM-596]
...
applied patch submitted by nicolas de loof
- remove the assertion that legacy path have no classifier. Simply have no way to support unstandard classifiers.
- automatically use "-javadoc" and "-sources" classifiers for path with types "javadoc.jars" and "java-sources". Check for the classifier to
be detected in the version string and remove it.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@596620 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 11:12:47 +00:00
Maria Odea B. Ching
46fbfa0fd1
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593451 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:32:31 +00:00
Maria Odea B. Ching
68ec920cd9
[maven-release-plugin] prepare release archiva-1.0-beta-4
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593449 13f79535-47bb-0310-9956-ffa450edef68
2007-11-09 08:30:01 +00:00
Joakim Erdfelt
729ad246d2
[MRM-564] Audit log is not populated when artifacts are deployed.
...
Expanded Audit concepts into listener / event / log.
Using log4j for audit log (for consistency with other logging)
Moved AuditLog from webapp to repository-layer.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@593246 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 18:36:12 +00:00
Joakim Erdfelt
baf4c89435
[MRM-547] proxy connectors: cache failures options are confusing
...
[MRM-549] proxy connectors: no "always" option for releases and snapshots policies
Applying changes to policy naming per decisions made in dev@archiva mailing list.
Updating DefaultArchivaConfiguration.load() to automatically adjust old configuration settings to new values.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@590908 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 06:21:26 +00:00
Maria Odea B. Ching
76ca3a6797
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589972 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:18:56 +00:00
Maria Odea B. Ching
7cde1cdf00
[maven-release-plugin] prepare release archiva-1.0-beta-3
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589970 13f79535-47bb-0310-9956-ffa450edef68
2007-10-30 06:16:21 +00:00
Brett Porter
b2c335626a
[MRM-528] must only use the enabled consumers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@589542 13f79535-47bb-0310-9956-ffa450edef68
2007-10-29 08:24:12 +00:00
Joakim Erdfelt
76aabf37a0
[MRM-481] Artifact requests with a .xml.zip extension fail with a 404 Error
...
Fixed parsing of filenames to look for "." or "-" after the version to help determine if this artifact has a classifier or just a double-extension.
Added unit tests to repository.content.* classes for double extension.
Added unit test to RepositoryServlet for GET of artifact with double extension.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588732 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 18:16:43 +00:00
Maria Odea B. Ching
c5f4e5079b
-Reverted version to 1.0-beta-3-SNAPSHOT
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@588567 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 08:54:24 +00:00
Joakim Erdfelt
89079a2684
Adding some tests for invalid request paths.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587701 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 00:00:30 +00:00
Joakim Erdfelt
ac7babe5a1
[MRM-565] Archiva 1.0-beta-3 fails in 404 on all legacy request.
...
Preparing RepositoryRequest for support needed to detect ...
* Support Files
* Maven Metadata
* Artifacts
And translate to a native path for the managed repository.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587623 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 19:21:19 +00:00
Joakim Erdfelt
1c0f8cd18e
[MRM-562] Artifact type "maven-plugin" is not detected correctly in .toArtifactReference() methods.
...
Added ability in default and legacy layouts to detect the 'maven-plugin' type.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@587224 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 20:00:55 +00:00
Maria Odea B. Ching
d2ceac7b0b
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586989 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 02:56:59 +00:00
Maria Odea B. Ching
44c44aa4f1
[maven-release-plugin] prepare release archiva-1.0-beta-3
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586987 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 02:54:10 +00:00
Brett Porter
d271660cc6
[MRM-555] scanner checks timestamps, but some consumers will want to consume artifacts regardless
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586827 13f79535-47bb-0310-9956-ffa450edef68
2007-10-21 02:43:26 +00:00
Joakim Erdfelt
8d22aca37f
Beefing up tests for RepositoryContentConsumers.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586524 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:40:05 +00:00
Joakim Erdfelt
53b29620d5
Updating javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586517 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 16:13:49 +00:00
Brett Porter
cc605be65b
run the correct consumers
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586514 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 15:59:35 +00:00
Joakim Erdfelt
5242d36ec9
Cleaning up potential multi-threading issues with use of static SimpleDateFormat.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@586472 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 14:21:13 +00:00
Joakim Erdfelt
0427f685c7
Remove unused classes.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585588 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 17:30:18 +00:00
Joakim Erdfelt
568312aa1f
Updating from bidirlayout to RepoContent techniques.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585569 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:47:33 +00:00
Joakim Erdfelt
f3d43d4d4d
Setting deprecations on interfaces / classes not to use.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@585564 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 16:39:06 +00:00
Joakim Erdfelt
0ef85fe69c
[MRM-535] metadata-updater is changing lastUpdating timestamp when it shouldn't
...
Correcting logic in snapshot metadata to only update on the following conditions.
* Last Updated exist in original metadata.xml or ...
* Last Updated timestamp as found in unique (timestamped) snapshots is newer.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584994 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 01:31:40 +00:00
Joakim Erdfelt
4914303c3d
[MRM-398] configure guest access by default for pre-configured repositories
...
Reverted partially r584279. (some good fixes for related bugs in place)
Introduced ArchivaConfiguration.isDefaulted() to aide SecuritySynchronization (startup task in archiva-webapp) to add guest user read-only roles if the configuration was set to default for some reason.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584905 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 20:39:39 +00:00
Joakim Erdfelt
baacf6e15f
Adding ManagedRepositoryContent.toFile( ArchivaArtifact ) and ManagedRepositoryContent.toPath( ArchivaArtifact )
...
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@584215 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 17:53:59 +00:00
Joakim Erdfelt
a4f2841522
[MRM-533] Checksum files (sha1/md5) are not kept up to date on maven-metadata.xml files.
...
Grabbed checksum check/update logic out of ChecksumPolicy into standalone Checksums component.
Using new component in ChecksumPolicy and MetadatTools.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583875 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 16:43:13 +00:00
Joakim Erdfelt
857156936a
[MRM-534] Test failure in RepositoryContentConsumerUtilTest
...
Fixed OS specific validation in mock object to be OS neutral.
git-svn-id: https://svn.apache.org/repos/asf/maven/archiva/trunk@583632 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 22:23:04 +00:00