Commit Graph

187 Commits

Author SHA1 Message Date
Carlos Sanchez Gonzalez 44fd04893d Delete checksum temp file when no longer needed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@526503 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 01:21:56 +00:00
Jason van Zyl 2e719998ac MNG-2823 Silencing some annoying logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@522696 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 01:16:03 +00:00
Jason van Zyl dddd69dac1 MNG-2648 Silence irritating logging
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@522692 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 01:06:15 +00:00
Jason van Zyl ccb49439ee o fixing default perms for deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@521340 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 16:49:57 +00:00
Jason van Zyl 17a7a726c5 MNG-2868 The behavior in MNG-1577 is now available on the trunk
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@520923 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 16:00:17 +00:00
Andrew Williams d4cf333fc8 This impl needs a hint, as our cache-aware cousin has one
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@517040 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 23:03:29 +00:00
Jason van Zyl 6649cb1fd4 MNG-2793 Fix transformation ordering
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@516825 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 01:23:37 +00:00
Jason van Zyl f03d8d662f o testing repeatedly with an empty repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@516820 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 00:48:53 +00:00
Jason van Zyl 23b0464bd7 missing files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@516732 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 15:37:15 +00:00
Jason van Zyl badcd2287f o roll back to wagon beta-2 to fix the rash of problems with m2eclipse plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@516654 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 05:38:50 +00:00
Kenney Westerhof 7ddabf5a2d Remove svn:executable from pom and java files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513701 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 10:55:05 +00:00
Jason van Zyl d07ef1ddc0 updating license headers
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@513023 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 22:47:31 +00:00
Jason van Zyl fb03e03672 o optimizing imports, trying to clean up settings use so i can track them down and purge them
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@512775 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 14:47:51 +00:00
John Dennis Casey 2b95701a5c Rearranging project-builder caching so it's done externally and available for use in the model-lineage builder and during artifact resolution as well.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@509692 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 18:09:53 +00:00
Joakim Erdfelt 33f23db7de * Migrating to wagon-manager 1.0-beta-3-SNAPSHOT
* Created org.apache.maven.artifact.manager.ArtifactManager
* Deprecated org.apache.maven.artifact.manager.WagonManager in favor of new ArtifactManager
* Updated the rest of maven to utilize this new ArtifactManager.
* The default wagon providers list is now managed from within wagon-manager's dependency list.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@505520 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 21:53:27 +00:00
Jason van Zyl 43112103d6 o updating locations of the mdo files for the bootstrap
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@498757 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 19:24:50 +00:00
Brett Leslie Porter 72f6f6d29e [MNG-2780] snapshots are not updated based on metadata deployed with uniqueVersion = false
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@496972 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 09:17:30 +00:00
Jason van Zyl 6d9caff89f o check to make sure that system scoped artifacts are not null before checking if they exist.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@495103 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 03:41:08 +00:00
Brett Leslie Porter ad045aaa88 [MNG-1908] fix regression with LATEST metadata
Merged from: c492153 on maven-2.0.x


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492154 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 14:06:56 +00:00
Brett Leslie Porter 3d073bd7d3 [MNG-2228] put extensions in a child container. This guarantees separation avoiding root classloader pollution that was causing plugins such as the release plugin to fail when using wagon-webdav.
Merged from: r492068, maven-2.0.x branch


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@492071 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 07:59:08 +00:00
Kenney Westerhof 06090da486 PR: MNG-2712
Fix honoring of updatePolicy=daily - create a metadata file even if the remote repo doesn't
have one. The following day the repo will again be checked.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@489724 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 19:01:58 +00:00
Brett Leslie Porter d846d0d8aa [MNG-1908] fix the performance problem with this particular fix
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@486484 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 04:13:15 +00:00
Brett Leslie Porter 013435e2cf [MNG-1908] recommitting fix for SNAPSHOT handling. As far as I can tell, this doesn't incur the performance penalty it used to.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@469040 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 01:06:00 +00:00
Fabrizio Giustina 817a758098 add test scope to easymock (scope in dependencyManagement doesn't work)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@440287 13f79535-47bb-0310-9956-ffa450edef68
2006-09-05 07:39:44 +00:00
Fabrizio Giustina 3eefdc885f make continuum stop complaining about a missing version for easymock for now... could anybody make it build the parent pom?
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@440170 13f79535-47bb-0310-9956-ffa450edef68
2006-09-04 20:24:31 +00:00
John Dennis Casey ff0e85a2f5 Ignore **/testutils/** for unit tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@439362 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 16:07:59 +00:00
John Dennis Casey b92af0e49f [MNG-2408] Modification to keep metadata files from writing when the main version is LATEST or RELEASE (these are meta-versions).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@439352 13f79535-47bb-0310-9956-ffa450edef68
2006-09-01 15:29:52 +00:00
Carlos Sanchez Gonzalez f7a33ca068 POM cleanup, remove inherited fields, added license and xsd
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@419880 13f79535-47bb-0310-9956-ffa450edef68
2006-07-07 12:23:28 +00:00
Carlos Sanchez Gonzalez 78813d2640 Checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@418480 13f79535-47bb-0310-9956-ffa450edef68
2006-07-01 14:27:10 +00:00
Brett Leslie Porter 83ce614cec add '*' as a valid mirrorOf setting, to easily force all repositories to one address
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@417253 13f79535-47bb-0310-9956-ffa450edef68
2006-06-26 17:41:35 +00:00
Carlos Sanchez Gonzalez 1eccba0026 [MNG-2324] Added getWagon( Repository ) to WagonManager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@409806 13f79535-47bb-0310-9956-ffa450edef68
2006-05-27 03:27:04 +00:00
Kenney Westerhof 65b412ea17 PR: MNG-2282
Also catch TransferFailedException, which occurs when java.net.ConnectException
or java.net.UnknownHostException occur.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@406673 13f79535-47bb-0310-9956-ffa450edef68
2006-05-15 16:40:48 +00:00
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