Commit Graph

383 Commits

Author SHA1 Message Date
John Dennis Casey 0128ae2758 Just adding some detail, from my thoughts over lunch...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163886 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 19:53:04 +00:00
John Dennis Casey ed883ab9a2 First pass at documenting the design needed to add offline mode.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163884 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 16:28:58 +00:00
Brett Leslie Porter 9340e1add7 release alpha-1 plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163870 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 10:05:06 +00:00
Brett Leslie Porter 5ddfd67fb1 merge change from alpha-1
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163866 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 09:53:22 +00:00
Brett Leslie Porter a0f5cbce3d remove some unused constants
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163863 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 07:55:05 +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 3ec681401c fix bad merge
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163856 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 05:13:10 +00:00
Brett Leslie Porter f8ba3a48d1 merge from branch
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163855 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 04:48:04 +00:00
John Dennis Casey 56969982a1 Added new IT to express the problems with caching the model before interpolation takes place.
Rolled back the changes to suppress usage of the cached model in MavenMetadataSource. Restored original functionality, to pre- last revision.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163848 13f79535-47bb-0310-9956-ffa450edef68
2005-04-08 01:57:06 +00:00
John Dennis Casey 34f9e44721 Commented out use of cached model in MavenMetadataSource, as this is causing problems with projects that depend on other projects which use managed dependencies.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163847 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 21:52:17 +00:00
Brett Leslie Porter c7761703c8 back to repo1.maven.org, which is now at ibiblio
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163827 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 04:59:12 +00:00
Brett Leslie Porter feed140e1f clean up available command line options
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163825 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 03:09:07 +00:00
Brett Leslie Porter 27b9286a40 Load Maven version and display
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163824 13f79535-47bb-0310-9956-ffa450edef68
2005-04-07 03:06:18 +00:00
Brett Leslie Porter b36d766c4e note about dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163816 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:46:32 +00:00
Brett Leslie Porter c4e0970502 get the base version, not the resolved version
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163814 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:38:14 +00:00
Brett Leslie Porter 302d471cbb include maven-core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163813 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:37:38 +00:00
Brett Leslie Porter e92a680c56 note about JAVA_HOME
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163812 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:36:18 +00:00
Brett Leslie Porter 6807933489 add README
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163810 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:06:04 +00:00
Brett Leslie Porter d23b13eb35 rename the assembly plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163805 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 06:21:16 +00:00
Brett Leslie Porter 2bb9e1fb8d not needed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163801 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 05:16:05 +00:00
Brett Leslie Porter 7d19461494 exclude unwanted deps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163800 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 05:15:35 +00:00
Brett Leslie Porter a99819c454 utilise assemble plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163799 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 05:11:24 +00:00
John Dennis Casey 20620b4e09 o Changed the repository to test.maven.codehaus.org for testing of the new repository and layout.
o Added <layout/> element to <repository/> elements in the maven.mdo
o Added pluginRepository configuration to the super-POM.
o Tested it all.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163791 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 01:28:29 +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
Trygve Laugstol 7f02f62da8 o Java should be exec'd.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163785 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 08:45:27 +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 29d70b8f7d work with spaces in path on Windows NT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163778 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 06:48:51 +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
John Dennis Casey fcb7a1c14b o Simplified the ResourcesMojo to eliminate the need for a ResourceEntry class, which is easily replaced by usage of a TreeMap (avoid the NoClassDefFoundError from before SEE MNG-243)
o Changed the references to repo1.maven.org for central repository to repo1.maven.org/maven2 in preparation for switchover to ibiblio.org

    This will allow us to transparently switch between redirects and CNAME changes for referencing ibiblio.org, since ibiblio will not allow a
    vhost for m2 or a rewrite rule...switching the URL for the repo will allow changes to the CNAME (satisfy ibiblio's pathing) while at the same
    time allowing the use of redirects (redirect can be at /maven2/index.html rather than /index.html, f.e.).


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163772 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 21:32:53 +00:00
John Dennis Casey 1940becc59 o Adding checklist for deploying the repository layout/pom style changes in advance of a m2 alpha-1 rollout.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163770 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 20:45:24 +00:00
Brett Leslie Porter 5984f13c02 handle spaces in $M2_HOME
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163769 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 16:16:34 +00:00
Brett Leslie Porter d60fd2d736 make m2 script more like Maven 1.x which is better tested
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163767 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 15:37:26 +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 1398ab68c4 make m2 use the local repository in the new layout
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163761 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:47:21 +00:00
Brett Leslie Porter baca1f7841 make surefire and rest of m2 independent of repo layout
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163751 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 03:48:01 +00:00
Brett Leslie Porter 97eb92041d treat empty expressions as non-existant
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163742 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 16:14:30 +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 3cd42b2ee0 put back default test includes/excludes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163740 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 05:47:29 +00:00
Brett Leslie Porter 67f300571a add comment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163737 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 02:53:10 +00:00
Brett Leslie Porter 369eb05569 refactor plugin configuration finding and mergine into MavenProject
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163724 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 09:32:43 +00:00
Brett Leslie Porter 92600f4e55 don't override existing fields with a null value
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163717 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 08:15:36 +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
Emmanuel Venisse 9cf7d63d25 Fix settings file path for windows.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163708 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 19:53:27 +00:00
Trygve Laugstol 80b1b94fd3 o Moving the logging statement to initialize() to make the component less
verbose.
o Moving the default settings path value to plexus.xml (and components.xml).
o Setting the correct license and adding @version tags.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163707 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 17:06:30 +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 4a065a33db create parent directories
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163704 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 07:12:50 +00:00
Brett Leslie Porter 2fb808c703 fix repository inheritence
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163703 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 07:02:29 +00:00