Commit Graph

141 Commits

Author SHA1 Message Date
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
Brett Leslie Porter 5404045229 PR: MNG-230
create a local copy of the snapshot

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292401 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 07:36:55 +00:00
Brett Leslie Porter 5d4c8f0aa9 merge fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292384 13f79535-47bb-0310-9956-ffa450edef68
2005-09-29 03:48:30 +00:00
Jason van Zyl aa4344bae0 o adding the name to the deploy plugin metadata so that i can pull it down
and display it in an IDE


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292339 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 22:56:41 +00:00
Brett Leslie Porter 826f3e2a86 PR: MNG-916
ensure RELEASE is not selected as is

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292172 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 13:07:53 +00:00
Brett Leslie Porter eb1c5b5fb2 don't ever ping to local repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292169 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 12:58:13 +00:00
Brett Leslie Porter 3c8a171004 remove legacy metadata handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292155 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 09:57:10 +00:00
Brett Leslie Porter 7773aa4d40 misread this change, thought it was incorporated into isSnapshot but that is what we are trying to avoid
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292154 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 09:18:40 +00:00
Brett Leslie Porter b94672b9e4 PR: MNG-913
don't attempt to re-resolve a snapshot of the form 1.0-yyyyMMdd.HHmmss-B

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292152 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 09:00:52 +00:00
Brett Leslie Porter 31a4d8ea41 PR: MNG-951
timestamp the metadata so that it can be merged correctly

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@292139 13f79535-47bb-0310-9956-ffa450edef68
2005-09-28 08:08:45 +00:00
Brett Leslie Porter 27bc0aea4d [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291643 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 15:30:36 +00:00
Brett Leslie Porter 80c8e188b8 [maven-release-plugin] prepare release maven-2.0-beta-2
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291641 13f79535-47bb-0310-9956-ffa450edef68
2005-09-26 15:18:55 +00:00
John Dennis Casey 24a108a674 Resolving: MNG-767, MNG-768
o We should have a viable offline mode now. Plugin sensitivity updates to follow.

o See it0069 and it1014 for offline mode tests.

o Brett, building maven-plugins in offline mode with org/apache/maven/plugin/* removed will now give a nice error message. :)



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291124 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 14:23:08 +00:00
John Dennis Casey 2ebee0b9c8 Resolving: MNG-900
Applied Hiram's patch, with small formatting changes, and a relocation of the logic setting the artifact repository to null (it was being done on the condition that getLogger().isDebugEnabled() == true, just a minor oversight).

There may be a deeper issue here with missing metadata on all repositories...I've annotated what I believe is the root causebut I'm not sure how to fix it, or that it should be fixed.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290815 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 20:01:41 +00:00
Brett Leslie Porter 3af4a18f48 PR: MNG-575
Submitted by: Jesse McConnell
Reviewed by:  Brett Porter
Add a way to configure permissions on deployed files

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290660 13f79535-47bb-0310-9956-ffa450edef68
2005-09-21 08:53:46 +00:00