Commit Graph

377 Commits

Author SHA1 Message Date
John Dennis Casey eb0a46b6bb Fixing flaw from previous commit, where artifacts provided by the maven distro are excluded from the plugin artifact list.
Now, we're using all artifacts referenced by the plugin in the artifacts list for that PluginDescriptor...the only drawback is since we're not using a repository layout for the maven /lib, there is no good way to include the artifact-path from /lib...we're using the artifact-file from the local repo for those deps. This SHOULDN'T cause a problem, but it's possible...




git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190414 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 15:05:28 +00:00
Brett Leslie Porter 2a8ed2f339 PR: MNG-154
Define the lifecycle according to packaging.
Some more work on the structure of this is required.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189871 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 00:57:19 +00:00
Trygve Laugstol db347aab21 o Adding handler for Plexus applications.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188848 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 19:14:34 +00:00
Brett Leslie Porter 7523cdb03a PR: MNG-453
Submitted by: Andreas Hoheneder
Reviewed by:  Brett Porter
Add support for generic artifact types, mapping the type to an extension


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188806 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 16:06:14 +00:00
Brett Leslie Porter d6d65fc75a add quick support for exclusions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188779 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 14:22:38 +00:00
Brett Leslie Porter 420d9a5fca remove old cvs ignore files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188697 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 05:24:51 +00:00
Brett Leslie Porter 3db9b6cd55 PR: MNG-446
snapshot file should always be written on install of a snapshot


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@180217 13f79535-47bb-0310-9956-ffa450edef68
2005-06-06 04:39:09 +00:00
Brett Leslie Porter 075932b36d PR: MNG-447
ensure the checksums don't get overwritten by the extra put commands


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@180072 13f79535-47bb-0310-9956-ffa450edef68
2005-06-05 05:54:48 +00:00
John Dennis Casey 23f82d0199 o Added runtime exception to construction of DefaultArtifact, when one or more of the four attributes required for object identity are null
o Created corresponding runtime exception: InvalidArtifactRTException
o Added error diagnoser for InvalidArtifactRTException
o Changed logError() in DefaultMaven to use error diagnosers (even the devs could use a hand!)
o Added unit test for InvalidArtifactDiagnoser.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179265 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 19:31:58 +00:00
Jason van Zyl 0221f23157 o improving error report so that you know what the g:a is if the version and
type are null.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179232 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 16:13:01 +00:00
Emmanuel Venisse 4e6b33d359 o upgrade plexus-container to alpha-4-SNAPSHOT
o upgrade plexus-utils to alpha-3 until xpp stuff is fix in 1.0.0

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179122 13f79535-47bb-0310-9956-ffa450edef68
2005-05-30 18:24:32 +00:00
John Dennis Casey d942cfe550 added null checks for everything that's in the hashCode() method, to try to avoid cryptic errors, at least until the xml validation improves.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178691 13f79535-47bb-0310-9956-ffa450edef68
2005-05-26 21:12:06 +00:00
Brett Leslie Porter 48cf14a656 PR: MNG-378
Only deploy the release information at the point of release

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177934 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 06:43:12 +00:00
Emmanuel Venisse 6b51866a77 Clean imports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170989 13f79535-47bb-0310-9956-ffa450edef68
2005-05-19 20:23:45 +00:00
Emmanuel Venisse 8b6052bbc6 Start of release plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170406 13f79535-47bb-0310-9956-ffa450edef68
2005-05-16 16:27:51 +00:00
Brett Leslie Porter 7ed8a746d3 update to released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169961 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 07:01:57 +00:00
Brett Leslie Porter fec33b1885 always touch the file if updates are checked
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169840 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 16:15:26 +00:00
Brett Leslie Porter 0299978e27 set the site deployment to the live environment, and use the wagon manager to get the authentication credentials
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169781 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 06:51:55 +00:00
Brett Leslie Porter c334dfaf2a PR: MNG-344
correctly render exceptions for initial project retrieval failure

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169591 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 05:58:03 +00:00
Brett Leslie Porter 8fc3e7a305 PR: MNG-338
Helpful error message for non-redistributable JARs, eg jdbc

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169577 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 04:29:44 +00:00
Brett Leslie Porter d64970af4d propogate more ArtifactResolutionExceptions directly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169557 13f79535-47bb-0310-9956-ffa450edef68
2005-05-11 02:13:18 +00:00
Brett Leslie Porter 14b9e9f347 remove default plugin versions from super POM, rely on discovery of releases. Write out the current version during bootstrap to force its usage (unfortunately enforcing it on other installs, however...)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169484 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 15:04:06 +00:00
Brett Leslie Porter a53624b4b4 correct bug that caused certain snapshot files to never be updated
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169397 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 02:52:37 +00:00
Brett Leslie Porter 637c0f815b fix bug in compareTo when metadata.version is null
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169306 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 12:42:04 +00:00
Brett Leslie Porter 05affa0a65 PR: MNG-192
Add "RELEASE" notation so that plugins without a version can be discovered

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169303 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 12:30:10 +00:00
Brett Leslie Porter b31e42b511 fix problem with snapshots being repeatedly checked, recently introduced.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168545 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 07:06:28 +00:00
Brett Leslie Porter 7363dbc843 PR: MNG-145
Implement and document repository download mirrors

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168292 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 07:16:07 +00:00
Brett Leslie Porter 5a40c40754 only write local metadata if an update was found, avoids assuming a SNAPSHOT file that might not exist and getting stuck with it
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168142 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 16:37:43 +00:00
Brett Leslie Porter 650f14e2bb war plugin is not required explicitly here - it is implied
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168039 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 01:19:42 +00:00
Brett Leslie Porter 742a8e7037 more helpful error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165173 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 18:41:07 +00:00
Brett Leslie Porter 350d51ce5c fix error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164797 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 14:34:47 +00:00
John Dennis Casey 05aeb0daeb Added createArtifactWithClassifier(..) (see DefaultArtifactFactory, where this is already a public method).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164702 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 01:25:33 +00:00
Brett Leslie Porter 23835350c8 fixes related to changing the path of parent poms, though the actual functionality is not implemented
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164346 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 06:24:08 +00:00
Brett Leslie Porter e313416d63 separate maven-project code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164217 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 11:01:33 +00:00
Brett Leslie Porter a803fc26b4 move artifact repository factory into maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164201 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 08:48:41 +00:00
Brett Leslie Porter d43cfef170 decouple auth info from repository, allows removing settings from project code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164189 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 07:55:32 +00:00
Brett Leslie Porter c98b557ac8 move artifact factory to maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164178 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 06:16:25 +00:00
Brett Leslie Porter 082bda52a0 ignore dud checksums... the repository ones are whacked
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164067 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 14:26:44 +00:00
Brett Leslie Porter 804e18cac0 improved error handling for failed downloads
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164065 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 14:17:14 +00:00
Brett Leslie Porter a0b2d27b38 add comment for later
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164057 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:44:57 +00:00
Brett Leslie Porter 3aea101d3c turn on md5 checksum tests on download
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164054 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 13:19:29 +00:00
Brett Leslie Porter 26c968d770 upload checksums
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164029 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 10:40:58 +00:00
Brett Leslie Porter c435539656 improve download/upload monitors
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164024 13f79535-47bb-0310-9956-ffa450edef68
2005-04-21 10:11:08 +00:00
John Dennis Casey 0e5b4e565c o Improved support for classifier parsing and added test artifact to the test repository for this.
o Fixed issue in createXXX(..) method for constructing an artifact with a classifier...it was not actually calling the constructor that passes in the classifier.

PR: MNG-312


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163989 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 23:06:04 +00:00
Brett Leslie Porter 4b0f51b9a1 fix error reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163986 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:52:32 +00:00
Brett Leslie Porter a40f1eff93 artifact implements comparable
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163984 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:49:24 +00:00
Brett Leslie Porter d23c299e0f correct problem where anything with a modified finalName was not installed/deployed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163980 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:44:36 +00:00
Brett Leslie Porter a75e7d2577 improved error handling and other clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163979 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:41:36 +00:00
Brett Leslie Porter ea9b59e3ea use latest container
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163977 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 02:13:25 +00:00
Brett Leslie Porter bc6f49bafd reinstate error handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163976 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 01:55:24 +00:00
John Dennis Casey 33f0431b59 Commented out unnecessary try/catch to get the CI build running again.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163973 13f79535-47bb-0310-9956-ffa450edef68
2005-04-19 17:15:35 +00:00
Brett Leslie Porter 32c12bd7c2 start some wagon clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163971 13f79535-47bb-0310-9956-ffa450edef68
2005-04-19 02:46:08 +00:00
Brett Leslie Porter e054a2fa5a resolve outstanding issues with scoping regarding tests. Algorithm to be documented in user's guide.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163953 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 07:31:40 +00:00
Brett Leslie Porter 55d33da355 move artifact filters to maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163923 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 04:29:25 +00:00
Brett Leslie Porter ce944b2a40 PR: MNG-287
publish MD5 and SHA1 checksums with all artifacts


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163918 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 00:05:42 +00:00
Brett Leslie Porter f86ee59771 PR: MNG-297
Make sure that the base version is correctly set to -SNAPSHOT instead of a resolved timestamp when appropriate


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163916 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 23:51:21 +00:00
Brett Leslie Porter ccfdf7af42 PR: MNG-260
Make sure the local repository is consistent after a snapshot deployment


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163913 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 06:14:52 +00:00
Brett Leslie Porter f83ce754d9 fix formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163891 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 03:01:20 +00:00
Brett Leslie Porter cd9f2972af allow an empty extension
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163890 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 01:24:43 +00:00
Brett Leslie Porter e62f087f24 some POM enhancements
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163862 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 07:50:53 +00:00
Brett Leslie Porter 31fbfc32ac snapshotPolicy must not be null
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163833 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 14:59:26 +00:00
Brett Leslie Porter 70a510917c PR: MNG-255
recognise versions in the timestamp format and set the correct base version for resolution


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163822 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 02:28:25 +00:00
Brett Leslie Porter a91be5bc51 use new name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163789 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 16:30:55 +00:00
Brett Leslie Porter 8e1d7e3885 quick way to share a snapshot version per JVM instance
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163787 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 14:17:55 +00:00
Brett Leslie Porter b3b831ec31 gone back to test dependencies not being transitive at all, as reversed in rev1.3 of ProjectClasspathTest. This enables the execution of "m2 test" not to pull in all and sundry test dependencies, eg from wagon. Find a valid use case before re-instating, and look into alternatives for the download issues.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163783 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:43:32 +00:00
Brett Leslie Porter 9d6fad725a change @requiresDependencyResolution to take a scope (default is "runtime" if no scope specified, none if tag not specified at all).
This still means ALL tests get the test dependencies of their compile time dependencies. Check if there is really a valid use case for that.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163780 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:17:28 +00:00
Brett Leslie Porter ddeee6f1d4 fix bug - if timestamp is null, then the local metadata is NOT considered newer
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163779 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 07:01:06 +00:00
Brett Leslie Porter 935cda15da clean up dependencies.
Still need to clean up ~/maven2/lib and some large dependencies from marmalade that
shouldn't be needed in general - but down to about a 3Mb repository.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163775 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 04:11:03 +00:00
Brett Leslie Porter a90fdae557 use a local snapshot if its file timestamp is newer than the remote timestamp inside the version file. This opens us back up to clock skew again, but should be preferential to local snapshots and less confusing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163773 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 01:58:33 +00:00
Brett Leslie Porter ba288cee61 use a regex to parse for more consistency
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163768 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 16:02:48 +00:00
Brett Leslie Porter 2e3e41fddf transitive deps in mboot. Will now proceed to trim up the POMs. Still need to trim ~/maven2/lib also.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163764 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 14:35:06 +00:00
Brett Leslie Porter 49593155d0 update poms for releases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163741 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 16:03:43 +00:00
Brett Leslie Porter dd05b8a93e remove unneeded code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163738 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 04:09:37 +00:00
John Dennis Casey 5b5a124caa o Updated the repo layout classes to use direct string concatenation rather than StringUtils.replace() which is not useful because the layout is non-varying.
o Repoclean still not working with the new artifact/artifactmetadata stuff...the above modifications to the repo layout classes was primarily meant to improve performance when using repoclean.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163736 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 02:45:05 +00:00
John Dennis Casey 2eed725153 o Reworked the artifact parsing code for the legacy artifact discoverer.
o Getting OutOfMemoryError when running against ibiblio-v1.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163732 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 00:24:45 +00:00
Brett Leslie Porter a185b72aeb handle invalid format file
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163730 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 11:31:12 +00:00
Brett Leslie Porter eeef193577 save a version of the file if it did not exist - this prevents an older snapshot blowing an installed one away on a clean repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163723 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 07:04:10 +00:00
Brett Leslie Porter 6f8b171aaf correct resolution bug when a new snapshot is downloaded
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163720 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 14:56:32 +00:00
Brett Leslie Porter d47767f88d make sure local repository directory exists
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163714 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 05:34:50 +00:00
Brett Leslie Porter e622d5e323 honour an installed SNAPSHOT in favour of the remote version, until a newer remote version is deployed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163713 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 05:24:50 +00:00
Brett Leslie Porter 8fc9b6db13 make the offline switch set a global snapshot policy of "never" for now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163712 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 04:52:01 +00:00
Brett Leslie Porter eabafcc093 implement snapshot policies: default is to only check once a day (after crossing midnight), or if --update-snapshots (-U) is specified on the command line
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163711 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 03:30:08 +00:00
Brett Leslie Porter b03435f9e1 improve reporting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163710 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 01:17:34 +00:00
Brett Leslie Porter d3781103e8 change resolve() methods to not return Artifact - but instead modify the original. Artifact is immutable except for version so it is safe - but will it cost flexibility later. Currently, this makes it much simpler as less copying vigilance is required.
This has ironed out most wrinkles. Still need to implement the snapshot checking cache, and special case the use of installed snapshots over deployed ones.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163706 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 16:41:13 +00:00
Brett Leslie Porter 16ea34c8c1 snapshot resolution working, with glitches. committing working copy that is only enabled by a sys property until other features are in place.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163705 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 15:44:28 +00:00
Brett Leslie Porter ff261cd131 more bug fixes for artifact cloning
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163694 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 16:08:48 +00:00
Brett Leslie Porter b529deb2df bug fixes, but still not completely fixed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163693 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 16:03:51 +00:00
Brett Leslie Porter 004c6cbdf3 snapshot resolution. commented out due to issues surrounding pom/artifact pairing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163692 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 14:52:25 +00:00
Brett Leslie Porter a3d1a624be remove testing setting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163690 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 12:23:35 +00:00
Brett Leslie Porter 5db2c4cf56 rewrite POM with new version on deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163689 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 12:22:05 +00:00
Brett Leslie Porter b9de151229 fix deploy/install os standalone POMs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163688 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 11:57:47 +00:00
Brett Leslie Porter e697f5bd8c deploy/install POMs as a type of metadata so they are done atomically
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163687 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 10:30:58 +00:00
Brett Leslie Porter b5e30a6ed5 allow file:// deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163685 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 08:46:02 +00:00
Brett Leslie Porter 3f0f786e67 transform deployment of SNAPSHOT.
Currently, the POM and artifact are deployed separately, causing an inconsistent version to be written out.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163684 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 08:45:37 +00:00
Brett Leslie Porter 4ba9fbcc33 correct placement of transformations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163682 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 05:18:41 +00:00
Brett Leslie Porter ee15019eb8 refactor maven-artifact: first pass, reduce the usage of setPath()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163681 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 05:01:06 +00:00
Brett Leslie Porter b7290449e2 add notes on current limitations
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163678 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 15:10:38 +00:00
Brett Leslie Porter 701911f219 scaffolding for remote transformation
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163677 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 15:03:39 +00:00
Brett Leslie Porter 2727721b11 add artifact metadata on installation of snapshot in a local repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163676 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 14:55:15 +00:00
Brett Leslie Porter 5e2caf89c7 o put all of the path functions back into the artifact handler manager - that class likely needs a rename.
o Removed AbstractArtifactComponent as it was simply delegating to the class and prevented other inheritence for the resolver which seems more appropriate.
o fixed test failure in ProjectClasspathTest due to incorrectly constructed component - using plexus even though still working around the problem with a hack


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163675 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 08:42:57 +00:00
Brett Leslie Porter 7c82aceb35 make method signatures consistent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163674 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 07:43:38 +00:00
Brett Leslie Porter 2b85350558 o a little refactoring
o hook in snapshot transformation, though it isn't used


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163673 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 07:41:39 +00:00
Brett Leslie Porter 14acea5e3f move artifact transformations out of the resolver so they can be used on any artifact component
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163672 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 07:23:23 +00:00
Brett Leslie Porter 14bb2c805a change the maven group ID
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163670 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 06:52:55 +00:00
John Dennis Casey 80880d071e o Fixed a configuration issue for the DefaultRepositoryLayout in components.xml...it needed a requirement on the ArtifactHandlerManager.
o Fixed a formatting issue for the layout in DefaultRepositoryLayout relating to groupId's.
o Revamped the repoclean tool to use an Artifact-centric approach to converting, cleaning, and reporting on repositories.
o Added the ability for repoclean to report on the health of an existing v3 or v4 repository, using a DefaultArtifactDiscoverer (Default* being the prefix given to the new repo layout going forward) and a V4PomRewriter implementation.
o Tested repoclean by converting my local m1 repository to a m2 repository.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163669 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 04:53:30 +00:00
Brett Leslie Porter 5b29c8a7dd update licenses and reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163668 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 03:40:13 +00:00
Brett Leslie Porter 297f542553 remove extension from artifact - it is the sole reponsibility of the artifact handler. This prevents the error of plugins getting the extension "maven-plugin"
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163647 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 07:23:17 +00:00
Brett Leslie Porter f07d86f311 clean up artifact handler a little - fields are all final
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163645 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 06:51:16 +00:00
John Dennis Casey 52d4ebc8fe o Added artifact resolver test that uses the new repository layout.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163641 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 03:51:56 +00:00
John Dennis Casey eec84bb41e o Correcting violation to the conflictId: this shouldn't include $classifier, according to the documentation on the repository layout.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163639 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 08:45:44 +00:00
John Dennis Casey 590e952f02 CHANGES
------------------------

o Factored the layout for a repository into a separate set of components in o.a.m.a.repository.layout

o Added new DefaultRepositoryLayout that uses the repo layout in http://docs.codehaus.org/pages/viewpage.action?pageId=22230 (it is not used by default until we get the repo1 conversion done)

o Added command-line switches to force legacy local-repo or new format (-a/-A, I know, but try to find something that makes more sense!)

o Added path formatting to the repository itself, which is now constructed with a ArtifactRepositoryLayout instance (since layout should be tied to the repository)

o Removed path formatting altogether from the DefaultArtifactHandlerManager.

o Changed the AbstractArtifactBasedComponent (or whatever it's called) to use the repository formatting in the path() and localPath() methods.

o Moved the plugin repo construction (still intact as a hard-coded singleton list) into the DefaultMavenProjectBuilder, where it will eventually build from POM info.

o Added a new method to build an artifact repository for a <distributionManagement/> section, if possible. This reduced the strain on mojos to construct an ArtifactRepository on demand.

o Refactored all *DeployMojo to use #project.distributionManagementArtifactRepository instead of the #settings, #component..ArtifactRepositoryFactory, ... that it used to require. This is a big simplifying step.

o Removed remote artifact repository construction from DefaultMaven, and changed the MavenSession to delegate to MavenProject for remoteArtifactRepositories, just as it does for pluginRepositories.

o Added remoteArtifactRepositories, pluginArtifactRepositories, distributionManagementArtifactRepository to MavenProject as a cache for the higher-level repos used throughout the system. This is project info, so it belongs here.

o Fixed all the tests in maven-core and maven-artifact which I broke. :)

o Dropped what is probably a big format-bomb, since the Eclipse formatter doesn't really handle 'throws Exception' wrapping the right way.

o Added MavenProject to the MavenSession constructor, since there should always be a MavenProject associated with a build, even if it's just the super-pom.

TODO:
--------------------------

- Write an integration/unit test to ensure that the new repo format works with $classifier (was: $extra) and $groupId[0]/../$groupId[n]. This is a simple adaptation of the old layout, but still needs testing.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163638 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 08:18:34 +00:00
John Dennis Casey 10b55add40 o Created non-abstract base class for DefaultArtifactFactory to extend, called ArtifactConstructionSupport, which provides centralized means for constructing artifacts consistently without all the maven-core specific methods. These maven-core specifics not delegate to the generic methods provided in this new class.
o Adjusted the maven-archetype stuff to work with the new artifact creation/resolution/etc. methods in maven-artifact and maven-core.
o Removed all direct construction of DefaultArtifact and replaced with ArtifactConstructionSupport where it would have involved putting the DefaultArtifactFactory in the plexus.xml, and where the code doesn't need dependency-oriented methods.
o Archetype works now, using the example provided in plexus/plexus-site/src/site/apt/building-plexus-applications.apt


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163615 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 22:02:09 +00:00
Brett Leslie Porter 2628261b75 PR: MNG-207
fix scope issue in a conflict


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163587 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 00:17:26 +00:00
Brett Leslie Porter 38add00ed4 cleanup
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163570 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:43:09 +00:00
Brett Leslie Porter 5c1f5b1e57 PR: MNG-52
change type of maven plugins to "maven-plugin" instead of plugin.
This should allow other products to have different plugin types, if necessary.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163562 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 22:31:54 +00:00
John Dennis Casey 4d1ca8da33 o Removed AuthenticationInfoProvider stuff
o Added ArtifactRepositoryFactory stuff to construct with AuthenticationInfo if possible.
o Added UserModelBuilder stuff for componentizing UserModel construction.
  -> DefaultUserModelBuilder has a configuration point 'userModelPath' which can redirect where it reads user.xml from (${user.home} is substitutable here).
o Added warning message to deployment plugin when deployment repo has no authentication info available.
o Added warning message for repos with null <id/> (auth info cannot be assigned here).
o Added a couple of debug-level messages for aid in debugging repo- and userModel-related problems.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163558 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 21:41:06 +00:00
Trygve Laugstol a82bda0aac o Adding a Plexus service handler.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163555 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 07:35:18 +00:00
Brett Leslie Porter f9c6aa0f9d missed a commit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163553 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 03:09:42 +00:00
Brett Leslie Porter ba06a10501 some clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163552 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 02:50:58 +00:00
Jason van Zyl 105288fee4 o change the signature of the filter so that the filter has full access to
the artifact for basing decisions.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163550 13f79535-47bb-0310-9956-ffa450edef68
2005-03-14 07:24:23 +00:00
Brett Leslie Porter 8e9febb5d5 minor error handling improvement
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163537 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 19:42:51 +00:00
Emmanuel Venisse 2ef5d9ad39 initial version of EJB plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163520 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 17:14:39 +00:00
Brett Leslie Porter a44b6f9726 flip pom format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163511 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 01:35:25 +00:00
John Dennis Casey 7f6f4452f2 o Changed Set to List for remote repo handling so that we can maintain declarative ordering in remote repos we use.
o Added UserModel support, integrated with maven-artifact and wagon via AuthenticationInfoProvider implementation.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163501 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 05:48:31 +00:00
Brett Leslie Porter 1fe8c76a3d move all artifact creation to artifact factory - further refactoring planned
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163499 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 02:39:10 +00:00
Brett Leslie Porter fecb4632b0 formatting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163498 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 21:08:10 +00:00
Brett Leslie Porter ba74921b31 formatting fix
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163489 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:05:50 +00:00
Brett Leslie Porter b31db60bff tests and repairs for scope
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163486 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 05:34:52 +00:00
Brett Leslie Porter 1d615cd239 turn on logging, resolve some issues surrounding test dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163473 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 23:02:43 +00:00
Brett Leslie Porter 47da41f68e refactor source roots to be lists
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163470 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 20:56:23 +00:00
Brett Leslie Porter 6c36fe6f71 add basic test dependency handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163466 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 09:41:55 +00:00
Jason van Zyl 0c42b64caf o moving artifact request transformation mechanism inside the resolver
package as they artifact transformations will be utilized from within
  the resolver.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163456 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 15:37:25 +00:00
Brett Leslie Porter defeadfd09 activate the whole war plugin, not just the war:war goal
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163454 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 11:43:00 +00:00
Emmanuel Venisse c7f03630d9 Add war handler
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163447 13f79535-47bb-0310-9956-ffa450edef68
2005-03-02 13:36:16 +00:00
Brett Leslie Porter 11e305e84f clean up exceptions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163444 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 07:05:33 +00:00
Brett Leslie Porter 99219164fa clean up exceptions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163442 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 06:28:57 +00:00
Brett Leslie Porter 73576d5bec some clean up from inspections
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163441 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 06:20:30 +00:00
Brett Leslie Porter d4396153d0 start to push the lifecycle definition towards the type handlers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163439 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 04:35:54 +00:00
Brett Leslie Porter ee0fe536a3 reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163438 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 04:04:25 +00:00
Brett Leslie Porter c31bc6b7ce clean up some artifact related code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163406 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 05:33:18 +00:00
Brett Leslie Porter 8ad0f8f745 *very* quick download monitor. Instantiation and output to be reviewed later
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163348 13f79535-47bb-0310-9956-ffa450edef68
2005-02-10 07:09:57 +00:00
Brett Leslie Porter 54222773a9 ability to set a proxy for a wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163343 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 07:48:08 +00:00
Brett Leslie Porter 440cb8d559 left behind an old reference
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163340 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 04:30:30 +00:00
Brett Leslie Porter d783d9ce98 reduce number of classes holding on to localRepository unnecessarily
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163339 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 04:12:58 +00:00
Brett Leslie Porter 797291178f cleanup: remove the remote repository list from the MavenMetadataSource as it was only used in retrieve(), and the equivalent list can be passed directly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163338 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 03:26:06 +00:00
Jason van Zyl b4e6c5b907 {issue:MNG-73}
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163318 13f79535-47bb-0310-9956-ffa450edef68
2005-01-27 08:09:40 +00:00
Trygve Laugstol 2520812edf o Overriding hashCode() and equals().
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163306 13f79535-47bb-0310-9956-ffa450edef68
2005-01-13 09:37:44 +00:00
Carlos Sanchez Gonzalez 91c2856267 Added javadoc and war handlers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163304 13f79535-47bb-0310-9956-ffa450edef68
2005-01-10 21:45:00 +00:00
Jason van Zyl d89b6de961 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163283 13f79535-47bb-0310-9956-ffa450edef68
2004-12-29 06:59:23 +00:00
Jason van Zyl cd21e94926 o leave the setting of the path to the artifactResolver
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163269 13f79535-47bb-0310-9956-ffa450edef68
2004-12-27 05:11:29 +00:00
Jason van Zyl e3d6106465 o add a factory method to the wagonManager which creates an artifact as the artifact handler is required to correctly create the path for the artifact and this should all be handled internally.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163268 13f79535-47bb-0310-9956-ffa450edef68
2004-12-27 04:51:48 +00:00
Trygve Laugstol aa438b8137 o Adding a artifact handler for sources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163235 13f79535-47bb-0310-9956-ffa450edef68
2004-11-22 12:46:55 +00:00
Jason van Zyl 6c955f6009 o updating wagon dep
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163222 13f79535-47bb-0310-9956-ffa450edef68
2004-10-26 00:48:14 +00:00
Jason van Zyl 275f002ac9 o updating to the latest wagon snapshots
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163221 13f79535-47bb-0310-9956-ffa450edef68
2004-10-26 00:42:32 +00:00
Jason van Zyl 0c72d1fb06 o remove the use of the deprecated basedir field in PlexusTestCase and use
the getBasedir() method.

o use the getBasedir() method in any test helpers that construct paths.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163201 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 13:33:59 +00:00
Jason van Zyl fa9735291f o putting into play the use of the artifact filter during the transitive
collection of artifacts.

  -> I was previously using a an exclude list but that was only taking into
     account the top-level pass of the artifacts so what was happening was
     things like maven-core weren't going in repeatedly but all of
     maven-core's deps were going in repeatedly. So by using the filter
     in the collector that sort of behaviour is stopped and now I can
     make the filter do anything I want to account for any weirdisms
     I subsequently encounter.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163185 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 14:30:00 +00:00
Jason van Zyl cf8d34fe69 o simple interface that will be used inside the resolver to allow artifacts to be filtered out from the result list.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163184 13f79535-47bb-0310-9956-ffa450edef68
2004-10-06 01:57:59 +00:00
Emmanuel Venisse b1b7930761 Fix artifact handling for unsupported artifact type.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163166 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 11:20:38 +00:00
Emmanuel Venisse a3374e3e8d Tes if handler exist before use it in path method.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163165 13f79535-47bb-0310-9956-ffa450edef68
2004-09-29 10:21:22 +00:00
Jason van Zyl ef61424a93 o my changes in plexus caused some nasty problems so i've backed
them out until tomorrow when i can take another shot.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163112 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 06:08:18 +00:00
Jason van Zyl a37f880493 o the assembly of the maven runtime more closely resembles what the
plexus runtime generator produces so that i may attempt to use it
  some point in the near future

o flipped back to 0.9-S of wagon until I run this on beaver to
  verify

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163110 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 04:22:07 +00:00
Jason van Zyl cb09fe8b9a updating to a-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163108 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 02:47:10 +00:00
Jason van Zyl 5f37d77a2c *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163106 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 01:59:21 +00:00
Brett Leslie Porter c13e8c7629 PR: MNG-74
remove maven.properties use everywhere except classworlds conf


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163024 13f79535-47bb-0310-9956-ffa450edef68
2004-09-02 12:34:19 +00:00
John Dennis Casey a949eb66de o Removed GoalDecorationPhase, since goal decoration is now a part of the model
o Removed PluginDownloadPhase, since plugin resolution/download has to be a part of the prereq and pre/postGoal resolution, too
o Changed DefaultMaven to execute the session lifecycle, and the component wiring to likewise wire the DefaultMaven with a session lifecycle manager
o Removed the org.apache.maven.decoration package and its contents, since this is all in the model now
o Fixed the GoalResolutionPhase to verify each goal's plugin in turn as it resolves prereqs, preGoals and postGoals
o Fixed the GoalResolutionPhaseTest to work with the new resolution model
o Added a new createGoalExecutionContext to the MavenTestCase base class, to allow me to inject a MavenProject directly rather than a pom file
o Fixed the MavenLifecycleManagerTest to only expect 4 lifecycle phases, now than the plugin resolution and goal decoration phases are obsoleted
o All builds on local machine, but will depend on plexus-0.17.jar/pom and plexus-artifact-container-1.0-alpha-1.jar/pom to build on beaver
o I uploaded plexus-artifact-container-1.0-alpha-1.jar to ${plexus.home}/dist, but cannot upload POMs due to priveleges problem in poms dir.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163007 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 04:40:02 +00:00
John Dennis Casey 24ce8263d9 o Changed to depend on plexus-0.17 instead of -0.16
o Changed the embedder/container used to be the new artifact-aware container (plexus-artifact-container-1.0-alpha-1)
o Added new dependency to maven-core for artifact-container.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163006 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 01:18:19 +00:00
Brett Leslie Porter 48498cea35 fix typo in warning
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162994 13f79535-47bb-0310-9956-ffa450edef68
2004-08-21 00:15:53 +00:00
Brett Leslie Porter 36f1e02099 enhance/fix tests, and make resolver work correctly when at least one repo is good out of a list
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162989 13f79535-47bb-0310-9956-ffa450edef68
2004-08-17 20:58:29 +00:00
Brett Leslie Porter 0f706f5102 fix error message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162977 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 04:30:31 +00:00
Jason van Zyl f7d630577d no message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162965 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 20:14:14 +00:00
Jason van Zyl d0be8d9bf8 o changing the strategy for downloading to make File.renameTo workable.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162964 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 19:47:49 +00:00
Jason van Zyl 00ed8a3213 o when we can't find artifacts we hold that thought until all the repositories
are queried, if the artifact is not found in any repo then we complain.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162955 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 18:01:31 +00:00
Jason van Zyl c50fff6d0e o improve message reporting artifact resolution failure.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162947 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 12:51:37 +00:00
Jason van Zyl 8b4d55e55d *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162939 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 00:30:25 +00:00
Jason van Zyl 5812befc4d o renaming exception
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162938 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 00:29:44 +00:00
Jason van Zyl 91cb097ae3 plexus 0.16
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162931 13f79535-47bb-0310-9956-ffa450edef68
2004-08-09 19:38:15 +00:00
Jason van Zyl 15a7eb7ef2 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162914 13f79535-47bb-0310-9956-ffa450edef68
2004-08-09 18:37:31 +00:00