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
Brett Leslie Porter
9cae224e0c
don't fail when legacy metadata can't be found due to an error with the repository
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@290082 13f79535-47bb-0310-9956-ffa450edef68
2005-09-19 07:50:33 +00:00
Brett Leslie Porter
06ab86cb54
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289368 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 02:57:16 +00:00
Brett Leslie Porter
5632e45815
[maven-release-plugin] prepare release maven-2.0-beta-1
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289366 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 02:50:12 +00:00
Brett Leslie Porter
e9f55ae5f4
PR: MNG-874
...
don't interfere with the metadata while it is being processed - post-process it all. Set repository to correct metadata.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289254 13f79535-47bb-0310-9956-ffa450edef68
2005-09-15 15:01:55 +00:00
Brett Leslie Porter
be460f201a
use repository that provides the metadata
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280506 13f79535-47bb-0310-9956-ffa450edef68
2005-09-13 05:26:06 +00:00
Brett Leslie Porter
935dcdf0f7
PR: MNG-613
...
revert previous flushing of metadata as not all metadata is attached during transformation
instead fix the problem of setting of local copy directly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280349 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 14:58:31 +00:00
Brett Leslie Porter
a4e6dffe49
flush metadata, ensuring local copy only set on install
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280340 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 13:45:11 +00:00
Brett Leslie Porter
319f1f20ca
make sure to select the first repository, in the same way that first wins from the configuration
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280277 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 07:14:06 +00:00
Brett Leslie Porter
40738a5a86
PR: MNG-613
...
clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280241 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 03:13:50 +00:00
Brett Leslie Porter
6d41274595
clean up unused code
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280237 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 02:11:12 +00:00
Brett Leslie Porter
ff877b345d
make sure to check all repositories
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280236 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 01:55:46 +00:00
Brett Leslie Porter
3a4b91b310
PR: MNG-613
...
push shared code into metadata manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280232 13f79535-47bb-0310-9956-ffa450edef68
2005-09-12 01:23:23 +00:00
Brett Leslie Porter
02cc158420
PR: MNG-613
...
fix the location of the metadata update check
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280191 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 22:37:26 +00:00
Brett Leslie Porter
27ad44e116
PR: MNG-613
...
refactoring to a more consistent interface for metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280186 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 22:01:47 +00:00
Brett Leslie Porter
f0a666a43d
don't assign base version to early, or legacy metadata is not checked
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280094 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 08:14:20 +00:00
Brett Leslie Porter
285d97d93c
PR: MNG-847
...
merge metadata if it is duplicated
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280086 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 07:08:55 +00:00
Brett Leslie Porter
c585793b40
make sure locally installed snapshots are recognised
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280078 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 05:10:07 +00:00
Brett Leslie Porter
ed0b352c9a
PR: MNG-861
...
make sure build number gets updated when updating metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280073 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 04:38:39 +00:00
Brett Leslie Porter
9c060b192a
PR: MNG-613
...
Completion of the version selection from a range.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@279720 13f79535-47bb-0310-9956-ffa450edef68
2005-09-09 06:49:59 +00:00
Brett Leslie Porter
e1a3311062
isSnapshot is true for latest, but we don't want that metadata
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278988 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 12:44:30 +00:00
Brett Leslie Porter
3a4efa1029
PR: MNG-613
...
make sure versions are aggregated
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278961 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 09:52:37 +00:00
Brett Leslie Porter
cb2370199b
PR: MNG-613
...
deploy snapshot information to the correct directory and fix some other minor issues
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278930 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 06:58:44 +00:00
Brett Leslie Porter
ddb34ee46d
improve warning so it doesn't randomly download twice
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278918 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 05:37:18 +00:00
Brett Leslie Porter
00e365d2ce
PR: MNG-613
...
merge all metadata fields on update
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278898 13f79535-47bb-0310-9956-ffa450edef68
2005-09-06 01:55:04 +00:00
Brett Leslie Porter
8f3c207194
PR: MNG-613
...
changes versioning to use repository metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278881 13f79535-47bb-0310-9956-ffa450edef68
2005-09-05 23:12:55 +00:00
Kenney Westerhof
6f72bd51df
o Fixed MNG-836
...
o Added some more debug messages that aided me in finding this bug.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@278736 13f79535-47bb-0310-9956-ffa450edef68
2005-09-05 13:39:32 +00:00
Brett Leslie Porter
6a5e89785e
PR: MNG-639
...
Separate local metadata by repository to ensure it remains consistent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@267466 13f79535-47bb-0310-9956-ffa450edef68
2005-09-03 14:38:13 +00:00
Brett Leslie Porter
abd4ae6018
PR: MNG-613
...
make repository metadata behave more like snapshots with daily updates.
next step is to move the version checking to use that instead and fallback to the old files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@266298 13f79535-47bb-0310-9956-ffa450edef68
2005-09-02 07:16:16 +00:00
Trygve Laugstol
6cf731be0e
Fixing MNG-797: "fix checksum parsing"
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265787 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 21:53:54 +00:00
Brett Leslie Porter
a16be1f23d
cleanup
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265640 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 03:47:18 +00:00
Brett Leslie Porter
9b6a7939db
rename group metadata
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@265618 13f79535-47bb-0310-9956-ffa450edef68
2005-09-01 01:56:04 +00:00
Brett Leslie Porter
c991b41571
refactoring towards similar pattern of artifact metadata
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264967 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 08:11:47 +00:00
John Dennis Casey
8201bb9d18
Adding system scope...uses scope == 'system' and systemPath in dependency. SystemPath was chosen over mappings inside the setings.xml for scalability, heritability, and injectability (via managed deps).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264960 13f79535-47bb-0310-9956-ffa450edef68
2005-08-31 07:39:01 +00:00
Brett Leslie Porter
e0457b0204
PR: MNG-613
...
reorganise in preparation for generalised repository metadata
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@264091 13f79535-47bb-0310-9956-ffa450edef68
2005-08-29 06:37:33 +00:00
Brett Leslie Porter
4b01d88bc3
trim metadata file
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240415 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 13:00:33 +00:00
Brett Leslie Porter
14f4c980c1
use the correct repository for finding the original snapshot data
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240414 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 12:48:12 +00:00
Brett Leslie Porter
0481c45fc9
repair snapshot build numbering (previous code makes it get stuck at 1).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@240405 13f79535-47bb-0310-9956-ffa450edef68
2005-08-27 11:42:30 +00:00
Brett Leslie Porter
22748d4e0d
PR: MNG-634
...
add a "useScope" attribute to the dependencies task so that you can determine what dependency set you want
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239682 13f79535-47bb-0310-9956-ffa450edef68
2005-08-24 15:06:54 +00:00
John Dennis Casey
146e022327
Resolving: MNG-251
...
o Added transformation manager
o snapshot timestamp/buildnumber is now managed from the transformation rather than the metadata
o maven-archiver now clones the MavenProject and resolves snapshot versions for introduction into manifest and exported pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@239219 13f79535-47bb-0310-9956-ffa450edef68
2005-08-22 19:00:51 +00:00
Brett Leslie Porter
dbfa3f51db
allow no policy (usually used in tests)
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233573 13f79535-47bb-0310-9956-ffa450edef68
2005-08-19 23:10:56 +00:00
Brett Leslie Porter
e888e3c1af
rename an old test case that is abstract, remove unused one
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233571 13f79535-47bb-0310-9956-ffa450edef68
2005-08-19 23:05:46 +00:00
John Dennis Casey
88d49cb04f
o Improving toString for Dependency in the 4.0.0 version codeSegment in maven.mdo
...
o Improving error messages for ResourceDoesNotExistException in the transformations
o Adding specificity to the dependency validation stuff, to output which dependency is offending...
o Added it1013 to show off the new dependency validation stuff.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232399 13f79535-47bb-0310-9956-ffa450edef68
2005-08-12 21:55:00 +00:00
Kenney Westerhof
d396f24642
o Put all m2 core dependencies (plexus-container-default and plexus-utils)
...
under dependencyManagement of m2 and maven-plugins, and removed
versions in all poms having either as a parent.
Used version 1.0.2-SNAPSHOT for plexus-utils as that was used in maven-core
and is not overridable.
o Bumped maven-archiver version to 2.0-beta-1-SNAPSHOT for maven-ear-plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@227084 13f79535-47bb-0310-9956-ffa450edef68
2005-08-02 21:34:54 +00:00
Brett Leslie Porter
6f0d8c58d7
improve reporting of scope
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226814 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 15:09:39 +00:00
Brett Leslie Porter
acdef905ac
correctly align versions during mediation
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226813 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 15:02:43 +00:00
Brett Leslie Porter
4a094fd1f1
fix bugs in detecting resolution so that correct repo is checked
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226805 13f79535-47bb-0310-9956-ffa450edef68
2005-08-01 14:44:46 +00:00
Brett Leslie Porter
8cb9563692
fix this once and for all. This covers the case of having a local snapshot that was not found remotely, as well as the previous case it was reverted for - avoiding creating the metadata when it didn't exist remotely.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226512 13f79535-47bb-0310-9956-ffa450edef68
2005-07-30 13:32:41 +00:00
John Dennis Casey
dad9ebc577
o Fixing DoxiaMojo (there was an API incompatibility there, having to do with FileUtils...not sure if there is something that didn't get deployed, or what)
...
o Adding cli-options.txt for three ITs that failed when I cleaned out the local repo
o Fixing the setFile(..) method of ActiveProjectArtifact (hopefully) for Emmanuel's continuum build problem...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226426 13f79535-47bb-0310-9956-ffa450edef68
2005-07-29 23:26:42 +00:00
John Dennis Casey
a6891c4e25
Adding resolved flag to Artifact.
...
This is done to counter the possibility that an artifact's file is set without the artifact actually being resolved, as in the case where the artifact is a snapshot version, but no snapshot-enabled repositories exist (think plugin resolution). This also has the beneficial side-effect of providing a more intuitive method of checking whether an artifact has been resolved (rather than artifact.getFile() != null).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226333 13f79535-47bb-0310-9956-ffa450edef68
2005-07-29 03:41:02 +00:00
Brett Leslie Porter
86c55a3bd1
PR: MNG-670
...
tone it down a bit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225803 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 15:45:11 +00:00
Brett Leslie Porter
3c461ef89d
PR: MNG-670
...
stronger warning if scope gets updated over the root POM
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225788 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 14:54:04 +00:00
Brett Leslie Porter
e26eecde45
fine tune logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225778 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 14:13:31 +00:00
Brett Leslie Porter
07facba258
fine tune logging
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225777 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 14:03:37 +00:00
Brett Leslie Porter
9a86709abd
PR: MNG-249
...
make compile and package reactor aware
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225731 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 09:32:32 +00:00
Brett Leslie Porter
231c6a7a1d
PR: MNG-615
...
implement repository confidence levels. currently updates poms daily if they are not deployed or verified
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225714 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 06:35:47 +00:00
Brett Leslie Porter
d389dffc68
revert previous change - if that problem is encountered an alternative solution will need to be found
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225663 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 01:00:39 +00:00
Brett Leslie Porter
c757e62b3a
PR: MNG-633
...
avoid leaking checksum temporary files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225540 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 16:05:45 +00:00
Brett Leslie Porter
826413b74a
PR: MNG-598
...
allow type handlers to be specified by plugin extensions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225477 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 08:03:33 +00:00
John Dennis Casey
73e549b231
o Fixing resolution of LATEST in plugin-versions, when <useLatest/> is enabled in plugin-registry.xml, or when --check-plugin-latest is specified on the command line.
...
o Fixing core-library resolution for expression: ${plugin.artifacts} and ${plugin.artifactMap} (latter is keyed by g:a)
o Modified maven-core-it-plugin to accept something like "-DartifactToFile=org.apache.maven:maven-artifact"...it'll lookup that artifact in ${plugin.artifactMap}, and touch a file that's a mutation of the abs. path for that artifact.
o Added pomArtifact to ResolutionGroup, since the MavenMetadataSource ALWAYS creates a new Artifact for a pom...this allows us to retrieve the resolved Artifact for that pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225234 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 05:54:24 +00:00
Brett Leslie Porter
086463b5b4
PR: MNG-456
...
allow separate snapshot and release repositories
deprecate existing snapshotPolicy and checksumPolicy in favour of updatePolicy and checksumPolicy within the <releases> and <snapshots> elements in the <repository> element.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@224707 13f79535-47bb-0310-9956-ffa450edef68
2005-07-25 09:51:12 +00:00
Brett Leslie Porter
eab42822ef
various straightening up
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220244 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 05:58:50 +00:00
Brett Leslie Porter
511af3d3e2
PR: MNG-596
...
add XSD definition to m2 poms and archetypes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220079 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 13:58:42 +00:00
Brett Leslie Porter
884a29b92d
fix problem on first run when no RELEASE data
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220066 13f79535-47bb-0310-9956-ffa450edef68
2005-07-21 13:39:32 +00:00
Brett Leslie Porter
399e51761a
don't continually try to resolve from a remote repository when it doesn't exist there
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219854 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 08:10:42 +00:00
Brett Leslie Porter
1e8e1d21ff
correct behaviour
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219832 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 02:18:19 +00:00
Brett Leslie Porter
f48d2c367c
avoid potential NPE
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219831 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 02:08:53 +00:00
Brett Leslie Porter
e40e709513
add copyright
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219830 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 02:00:13 +00:00
Brett Leslie Porter
19696518b3
add copyrights
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219819 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 00:00:08 +00:00
John Dennis Casey
18fa2476bc
Forgot this one
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219817 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 23:53:21 +00:00
John Dennis Casey
11082da5f4
Fixing bootstrap.
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219807 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 23:27:24 +00:00
John Dennis Casey
76d971b4ba
Removing leftover lifecycle binding for ValidatePomMojo in the maven-plugin-plugin (removed that last night).
...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219716 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 17:15:41 +00:00
Brett Leslie Porter
810d4a3276
PR: MNG-505
...
artifact refactoring to facilitate version ranges
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219616 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 05:04:39 +00:00
John Dennis Casey
6f81043b7b
Centralized repository handling in AbstractVersionTransformation, for consistency (should fix MNG-527).
...
Changed download strategy for plugins.xml metadata to download only when non-existent locally or when plugin prefix cannot be located within local metadata. NOTE: This could lead to local-only installs of plugins having their prefix mappings overwritten.
Next step is to change the maven-plugin-plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219615 13f79535-47bb-0310-9956-ffa450edef68
2005-07-19 04:15:26 +00:00
John Dennis Casey
c7d5e83520
Resolving: MNG-397
...
o Added ResolutionGroup class which contains a set of artifacts and a list of repositories to resolve them.
o Made the ResolutionNode a standalone class, and added the remote repositories to it
o Changed ArtifactMetadataSource.retrieve(..) to return ResolutionGroup rather than Set, in order to help keep track of the repositories which should be used to resolve the retrieved artifacts.
We need some tests for this...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219276 13f79535-47bb-0310-9956-ffa450edef68
2005-07-16 01:24:13 +00:00
John Dennis Casey
0cc696a407
Working on: MNG-576
...
o Implemented plan from my comments on MNG-576 for looking up lifecycle mappings within plugins.
o Fixed subtle bug in DefaultWagonManager for verifying checksums, where the destination file was being used to verify the checksum rather than the recently download temp destination.
o Fixed the DefaultRepositoryMetadataManager.resolve(..) method to allow the locally-installed metadata to be used if it is newer than the one resolved from the repository.
o Moved the lifecycle mappings for the EJB and WAR plugins out to META-INF/plexus/components.xml in the respective plugin's src/main/resources directory. it0016 and it0017 still pass.
o Changed the distributionManagement repository for maven-plugins/pom.xml to have id of 'central-plugins' and then added a normal artifact repository definition for central-plugins to that pom, to allow locally-installed repository metadata for the plugins to be put in the right place (and these builds should have access to the central plugin repo anyway).
o Changed the DefaultPluginMappingBuilder to only warn when plugins.xml for a particular plugin group is missing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@216273 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 21:57:57 +00:00