Commit Graph

155 Commits

Author SHA1 Message Date
Brett Leslie Porter bc048ca9cc [MNG-1908] rollback the change on trunk since it degrades performance significantly at present
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@390765 13f79535-47bb-0310-9956-ffa450edef68
2006-04-02 00:32:42 +00:00
John Dennis Casey 1710fdcfa3 [MNG-2083] Added new exception, MultipleArtifactsNotFoundException, to account for cases where multiple artifacts are missing during transitive resolution. This will handle formatting, including downloadUrl and install instructions, for each missing artifact.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@379369 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 06:23:57 +00:00
Brett Leslie Porter cc507307b8 [MNG-1908] correct error introduced in last rev with locally installed snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@375497 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 05:51:14 +00:00
Brett Leslie Porter 83c9eadb09 [MNG-1908] force an update check if there are legacy snapshots within the updatePolicy window
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@375485 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 04:52:06 +00:00
Carlos Sanchez Gonzalez 622cf49886 Make site deploy to maven.apache.org/ref/version with jxr and javadocs reports
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@373970 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 02:39:10 +00:00
Brett Leslie Porter cc20bf6402 merge from branch maven-2.0.x @ rev 367900
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@367902 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 03:45:10 +00:00
Vincent Massol c9a00782d8 Error while deploying when using scpexe protocol with non-default scp/ssh executables
PR: MNG-1900
Submitted By: Brett Porter


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@360120 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 17:14:54 +00:00
Brett Leslie Porter 9ae0914694 flip trunk to 2.1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356316 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 18:22:06 +00:00
John Dennis Casey 8a5fa61b17 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356099 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 01:41:09 +00:00
John Dennis Casey 9cf94e34f2 [maven-release-plugin] prepare release maven-2.0.1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@356093 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 01:34:03 +00:00
Brett Leslie Porter 65acc94926 implement lax parsing of repository metadata XML files
PR: MNG-1788


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@355404 13f79535-47bb-0310-9956-ffa450edef68
2005-12-09 07:58:04 +00:00
John Dennis Casey 790f8f8fed PR: MNG-1443
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied the patch, which changes the ArtifactResolutionException to ArtifactNotFoundException for a missing POM when the system is offline.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354640 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 01:08:02 +00:00
John Dennis Casey 4097d7ae0f PR: MNG-1550
Submitted By: Edwin Punzalan
Reviewed By: John Casey

Applied patch, with small change. This patch will save the checksums in the local repo, once they've transferred safely. The change I made was to pass in the "real" destination to the verifyChecksum method, rather than only the temp destination. This will allow the checksums to actually persist in the local repo, rather than a temporary directory.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@354631 13f79535-47bb-0310-9956-ffa450edef68
2005-12-07 00:26:09 +00:00
John Dennis Casey 6f562d4c87 PR: MNG-1320
o Modified private resolveAlways(..) method to throw TransferFailedException, after blacklisting the repository.

o Added handling for the new TransferFailedException as it's thrown from resolveAlways(..). In two cases, where it's not essential that the metadata be non-empty, this exception is ignored. I'm anticipating this will change for 2.1, but for now it's just marked TODO. In the final case (the one that prompted this MNG), the exception is used to inhibit writing of the empty metadata to the local repository when the transfer fails. NOTE: The metadata is still handled the same as before when the system encounters ResourceDoesNotExistException, to prevent re-checking the remote repo on every build.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@331836 13f79535-47bb-0310-9956-ffa450edef68
2005-11-08 16:25:20 +00:00
Jason van Zyl 7f736625f5 o the artifact resolver should continue with the next artifact in the
resolution group even after it could not find one, and throw an exception at
  the end that lists all the artifacts that could not be found.

  http://jira.codehaus.org/browse/MNG-1198



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@328782 13f79535-47bb-0310-9956-ffa450edef68
2005-10-27 04:00:18 +00:00
Brett Leslie Porter 99ed67e747 apply changes from tag maven 2.0 rev 326649
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326654 13f79535-47bb-0310-9956-ffa450edef68
2005-10-19 19:13:44 +00:00
Brett Leslie Porter f9e025dba8 merge from tag maven-2.0 up to rev 326624
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326633 13f79535-47bb-0310-9956-ffa450edef68
2005-10-19 18:31:30 +00:00
John Dennis Casey 0fd68fb754 Ant support is working. I want to revisit the testing before I let it go, though.
o Added maven-script-ant to wrapper Ant-based Plexus components in a Mojo-compliant shell

o Added maven-plugin-tools-ant to extract plugin descriptor metadata from Ant-based plugin sources

o Revised the maven-plugin-tools-model, which can be used as a generic companion metadata file for things like Ant-based mojos. It now includes an analogy to @parameter default-value=""

o Added javadoc format for DefaultWagonManager, correcting the name of an exception thrown by the configureWagon() method.

o Changed the required version of maven-plugin-tools-api in the plugin-plugin to 2.0.1-SNAPSHOT, to accommodate changes in the script-based mojo descriptor extractor API. This allows companion metadata files for mojo scripts, as in the case of Ant.

o Removed maven-plugin-tools-beanshell from the plugin-plugin's dependencies. It can be included as a plugin-dependency in the plugin projects that need it, in similar fashion to Ant's extractors.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@326372 13f79535-47bb-0310-9956-ffa450edef68
2005-10-19 04:14:13 +00:00
Brett Leslie Porter b4c041a567 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321042 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 07:26:39 +00:00
Brett Leslie Porter d783c5fc41 [maven-release-plugin] prepare release maven-2.0
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321040 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 07:15:39 +00:00
Brett Leslie Porter 1c7c34f027 more error diagnostics improvements
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320869 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 18:49:19 +00:00
John Dennis Casey 937d0d933f Forgot to add the new exception type.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320856 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 18:21:25 +00:00
John Dennis Casey 62149297e4 Resolving: MNG-1150
Applied patch for configuring Wagon instances via DefaultWagonManager. I reworked the configuration exception to be a derivative of TransferFailedException, since it pertains to the WagonManager usage of maven-wagon.

Thanks to Juan Codagnone for the patch.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320827 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 17:49:41 +00:00
Brett Leslie Porter 1499b5dcd3 PR: MNG-122
finish cleanup of resolution exceptions

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320748 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 12:16:43 +00:00
Brett Leslie Porter 04e02209b1 PR: MNG-122
use real exceptions for repository metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320683 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 08:04:27 +00:00
Brett Leslie Porter 5de6418c69 PR: MNG-122
exception clean up phase 1

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@320668 13f79535-47bb-0310-9956-ffa450edef68
2005-10-13 05:30:22 +00:00
Brett Leslie Porter 10a8e05df6 clean up project exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314994 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 18:49:01 +00:00
Brett Leslie Porter 80bcf484b1 use consistent version of wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314928 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 14:28:09 +00:00
Brett Leslie Porter 2fd4fb9918 fix blacklisting handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@314759 13f79535-47bb-0310-9956-ffa450edef68
2005-10-12 03:09:02 +00:00
Brett Leslie Porter 750d4f8768 restore code accidentally committed previously
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312888 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 14:06:43 +00:00
Brett Leslie Porter 9ad08679f8 PR: MNG-829
Submitted by: Johnny R. Ruiz III
Reviewed by:  Brett Porter
use File for basedir aligned parameters in various plugins

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312877 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 13:35:24 +00:00
Brett Leslie Porter 0ebf10aa03 avoid NPE when there is no cause
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312830 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 07:50:24 +00:00
Brett Leslie Porter bc9f623a81 enable batch mode on the wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312818 13f79535-47bb-0310-9956-ffa450edef68
2005-10-11 06:42:21 +00:00
Brett Leslie Porter af3b144fc5 update to latest wagon
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@312584 13f79535-47bb-0310-9956-ffa450edef68
2005-10-10 08:27:52 +00:00
Brett Leslie Porter 3a601de20d - ensure we only blacklist a repository on resolve, not deploy
- fail if offline when attempting to deploy or retrieve essential metadata

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307317 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 17:37:55 +00:00
Brett Leslie Porter f8cbb08498 PR: MNG-616
improve version logging, use artifact.toString for textual logging

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307309 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 16:30:28 +00:00
Brett Leslie Porter 510de4fe54 upgrade plexus utils to 1.0.4-SNAPSHOT.
The group ID has changed, so add a bunch of exclusions to ensure the old is not picked up
fix bugs in mboot that wasn't honoring excludes.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307294 13f79535-47bb-0310-9956-ffa450edef68
2005-10-08 14:13:31 +00:00
Brett Leslie Porter 2bbd09083f PR: MNG-1127
ensure file is set to the snapshot version

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307219 13f79535-47bb-0310-9956-ffa450edef68
2005-10-07 23:38:25 +00:00
Brett Leslie Porter 245d512c4a PR: MNG-1110
differentiate between an artifact that is not found, and failure to obtain an artifact

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307034 13f79535-47bb-0310-9956-ffa450edef68
2005-10-07 06:44:59 +00:00
Brett Leslie Porter e4a3f7dd23 PR: MNG-1107
don't look to the wrong repository for a POM when it's metadata couldn't be retrieved

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@306562 13f79535-47bb-0310-9956-ffa450edef68
2005-10-06 09:42:08 +00:00
Brett Leslie Porter 1d42338bb7 PR: MNG-1109
better handling for timeout and other transfer failed exceptions that are recoverable (ie metadata), and then blacklist the repository for performance.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@306560 13f79535-47bb-0310-9956-ffa450edef68
2005-10-06 09:40:13 +00:00
Brett Leslie Porter 192de6841a [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293588 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 11:13:52 +00:00
Brett Leslie Porter b4e4a1f375 [maven-release-plugin] prepare release maven-2.0-beta-3
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293584 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 11:02:48 +00:00
Brett Leslie Porter ba94b208d7 PR: MNG-922
allow the disablement of timestamping snapshots, reusing the same file in the remote repo


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293570 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 08:43:36 +00:00
Brett Leslie Porter 71625bbd82 PR: MNG-1048
make sure the scope in the current POM wins over all

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293514 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 04:02:46 +00:00
Brett Leslie Porter 0eb43da1bb PR: MNG-644
remove use of deprecated artifact method (retain signature for backwards compat until next release of install/deploy plugins)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293493 13f79535-47bb-0310-9956-ffa450edef68
2005-10-04 02:26:25 +00:00
Brett Leslie Porter f328ad0f63 PR: MNG-644
remove unused method

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293347 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 13:36:30 +00:00
Brett Leslie Porter 21350c840b PR: MNG-644
remove deprecated settings and profile settings

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293326 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 12:49:40 +00:00
Brett Leslie Porter c5acaded88 upgrade to plexus 1.0-alpha-7 container, switching to new group ID
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293193 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 00:54:01 +00:00
Brett Leslie Porter 9e39d6537f retain prior public API to avoid busting plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292431 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 13:43:15 +00:00