Commit Graph

215 Commits

Author SHA1 Message Date
Brett Leslie Porter 26d36d8959 PR: MNG-140
split artifact impl from api so that dep resolution can be used independently of wagon
only the first step in making maven-artifact more useful as a public api - more changes to be made


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191634 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 06:49:49 +00:00
Brett Leslie Porter 3e26e6ca55 add lifecycle mdo to booty
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191390 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 04:28:52 +00:00
Brett Leslie Porter 75c3b41c01 use latest modello for booty
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191382 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 03:18:55 +00:00
Brett Leslie Porter ac2d8a7e83 PR: MNG-415
implement provided scope


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190930 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 15:02:07 +00:00
John Dennis Casey b813c3d430 Working on issue: MNG-379
Added specified stop-gap patch for issue: MNG-473 (affects settings-builder and registry-builder)

Today I've made the following progress on this so far:

- Added a new project, called maven-plugin-registry, to house the model for this new file.

- Developed/debugged/tested PluginVersionManager/DefaultPluginVersionManager to isolate the plugin-version checks/management code away from the PluginManager

- Added interactiveMode (<interactiveMode>true|false</interactiveMode> directly under the root element of settings.xml, or -B short CLI option or --batch-mode CLI option, where the CLI options turn OFF interactiveMode). This will allow things like the maven-plugins build to register new plugins (and, for now, new versions of plugins) automatically.

- Added user input handler for when interactiveMode = true, to get a yes/no on whether to use the discovered version over the installed version and/or no version at all. If there is no installed version, and the user selects 'n', then the discovered version is used FOR THAT SESSION ONLY, and won't be recorded in the registry.

- Added checks/recording rejected versions against the registry, before attempting to use the discovered version.

Pending:

- Still need to add update-policies, to determine two things:

  1. how often to check for updates
  2. what to do when updates are found (autoUpdate, etc.)



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190854 13f79535-47bb-0310-9956-ffa450edef68
2005-06-16 01:50:28 +00:00
John Dennis Casey 64ac374aea Reordered builds to allow maven-profile and -settings to have a fresh maven-project when the local repo is erased.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190404 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 14:00:01 +00:00
Brett Leslie Porter a91802d46d PR: MNG-463
safety guard against bootstrapping with a Maven Home that is not empty, and not a previous Maven installation


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189892 13f79535-47bb-0310-9956-ffa450edef68
2005-06-10 04:10:29 +00:00
Brett Leslie Porter 420d9a5fca remove old cvs ignore files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188697 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 05:24:51 +00:00
John Dennis Casey 9d7e54c042 o Added model and builder support for Profiles specified in settings.xml, profiles.xml, and the POM.
o Changed MBoot and Verifier accordingly.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179233 13f79535-47bb-0310-9956-ffa450edef68
2005-05-31 16:24:34 +00:00
Emmanuel Venisse 4e6b33d359 o upgrade plexus-container to alpha-4-SNAPSHOT
o upgrade plexus-utils to alpha-3 until xpp stuff is fix in 1.0.0

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@179122 13f79535-47bb-0310-9956-ffa450edef68
2005-05-30 18:24:32 +00:00
Brett Leslie Porter 17518785ac upgrade to container with separated utils
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@178995 13f79535-47bb-0310-9956-ffa450edef68
2005-05-29 22:55:12 +00:00
Brett Leslie Porter 0253ccc305 PR: MNG-164
Add Beanshell mojo support

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170608 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 15:11:41 +00:00
Brett Leslie Porter 05a35236a5 don't need to have it remotely if it is local, and don't care about updating legacy snapshots remotely anymore
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170539 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 08:05:13 +00:00
Brett Leslie Porter 7ed8a746d3 update to released versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169961 13f79535-47bb-0310-9956-ffa450edef68
2005-05-13 07:01:57 +00:00
Brett Leslie Porter 14b9e9f347 remove default plugin versions from super POM, rely on discovery of releases. Write out the current version during bootstrap to force its usage (unfortunately enforcing it on other installs, however...)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169484 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 15:04:06 +00:00
Emmanuel Venisse b15610d406 Build maven-reporting-api before maven-core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169380 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 23:30:07 +00:00
Brett Leslie Porter 0a7842482f PR: MNG-372
Submitted by: Mark Hobson
Reviewed by:  Brett Porter
deal better with spaces in paths on windows
(applied with modifications)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169184 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 22:50:01 +00:00
Brett Leslie Porter d4c059226c fix error handling when there is no active profile
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168624 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 15:47:28 +00:00
Brett Leslie Porter 840d963c03 always read settings.xml, even if maven.repo.local is given
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168297 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 07:45:42 +00:00
Brett Leslie Porter 678919ad40 PR: MNG-145
add mirror notation to settings, introduce to bootstrap

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168282 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 06:24:07 +00:00
Brett Leslie Porter 4cc4b13a97 exclude reporting manager for now - should probably be removed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168130 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:06:56 +00:00
Brett Leslie Porter d3c02d1760 use the correct resolved version for a dependency even if it was previously downloaded.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168129 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:03:03 +00:00
Brett Leslie Porter 49eb3eb8f0 destinationFile was not necessarily the resultant file in the parent method. Check the return status instead
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168123 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 13:42:51 +00:00
Brett Leslie Porter 1c66f2d06f make snapshot download behave more like maven-artifact
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168078 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 05:46:13 +00:00
John Dennis Casey 690bc67fb9 Added marmalade support back in...it's currently still using the libraries-shovelled-into-core method, but it now uses the new mojo mechanism that uses plexus ComponentConfigurators...had to make the lookup for configurators dynamic for the DefaultPluginManager, too.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168064 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 03:28:41 +00:00
Emmanuel Venisse 935e3577e6 Add reporting api and manager
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165244 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:36:33 +00:00
John Dennis Casey f5cd6adbe7 Cleaning up errors I introduced with search-and-replace, and with marmalade scripting support. I'm marking marmalade support out for now, until I can get that stuff dragged back into the present.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165242 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:29:04 +00:00
Brett Leslie Porter 3f5d831fc6 make debug compiling the default
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164740 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 04:31:47 +00:00
Brett Leslie Porter 657fde08f4 exclude svn directories in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164393 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 15:20:57 +00:00
Brett Leslie Porter 23835350c8 fixes related to changing the path of parent poms, though the actual functionality is not implemented
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164346 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 06:24:08 +00:00
Brett Leslie Porter 0aeab76ac3 fix order
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164235 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 13:06:17 +00:00
Brett Leslie Porter e313416d63 separate maven-project code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164217 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 11:01:33 +00:00
Brett Leslie Porter 4fe1c64276 clean up exception handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163978 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 04:16:11 +00:00
Carlos Sanchez Gonzalez 6c32a0653c Fix issue when JAVA_HOME contains spaces
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163960 13f79535-47bb-0310-9956-ffa450edef68
2005-04-16 04:16:29 +00:00
Brett Leslie Porter 67f2147deb shouldn't check timestamp at all
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163959 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 12:44:05 +00:00
Brett Leslie Porter e2c9a495e7 be more forceful on the no-cache
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163958 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 12:35:21 +00:00
Brett Leslie Porter 8f0d5c7ac6 never use cache
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163956 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 12:06:11 +00:00
Brett Leslie Porter 86536e319f turn off caching in mboot for snapshot version files
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163940 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 12:32:26 +00:00
Brett Leslie Porter d5be37cf00 PR: MNG-232
resolve snapshots in bootstrap


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163931 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 07:03:18 +00:00
Brett Leslie Porter a1b93338e5 update to version from plexus-utils
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163930 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 07:02:16 +00:00
Brett Leslie Porter 05ae5c03e3 split the plugin API and the plugin descriptor code
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163927 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 05:11:49 +00:00
Brett Leslie Porter a1d22fd80b put the wagon dependency version update in the right place
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163920 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 00:28:30 +00:00
Brett Leslie Porter ce944b2a40 PR: MNG-287
publish MD5 and SHA1 checksums with all artifacts


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163918 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 00:05:42 +00:00
Emmanuel Venisse 57e8d48ef2 Update MBoot compiler relative to changes in plexus-compiler.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163914 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 21:13:24 +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 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 d4d53cc457 xpp3 plugin was renamed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163815 13f79535-47bb-0310-9956-ffa450edef68
2005-04-06 07:38:42 +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
Brett Leslie Porter 2df5479951 better dep handling in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163776 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 05:28:26 +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 4862d0cf8f Added waitFor() call so avoid a race condition between chmod'ing the m2 script and trying to use it. Should impose little or no performance penalty on the bootstrap process.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163771 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 21:26:20 +00:00
Brett Leslie Porter 3c6894e59c oops - don't grab those deps!
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163765 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 15:02:03 +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 d4e2de64cf don't attempt to download m2 dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163760 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:35:40 +00:00
Brett Leslie Porter 15dc3811c8 surefire issues
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163756 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 05:41:57 +00:00
Brett Leslie Porter 54a8cea863 surefire issues
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163755 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 05:31:29 +00:00
Brett Leslie Porter bab8d3fd90 fix issues found with a clean repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163754 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 05:23:01 +00:00
Brett Leslie Porter 27363f855e isolate path generation in Repository class
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163753 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 05:08:45 +00:00
Brett Leslie Porter 11d160b52d use surefire pom for surefire dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163749 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 02:57:27 +00:00
Brett Leslie Porter f1bfd0c18b read plugin deps from pluggy pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163748 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 02:31:56 +00:00
Brett Leslie Porter db01ac8534 handle scope
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163747 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 02:01:49 +00:00
Brett Leslie Porter a5c95ef10e mboot fixes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163746 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 01:40:16 +00:00
Brett Leslie Porter f5270e45f7 refactor mboot
- model reading separated
- define mboot dependencies in its own POM


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163745 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 01:36:58 +00:00
Brett Leslie Porter 0cd1aec3ef update to releases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163744 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 00:12:56 +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 441108375c remove non-essential plugins from mboot. Still in the bootstrap, as some are required for integration tests.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163739 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 04:44:33 +00:00
Brett Leslie Porter 13f95996f1 add idea plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163729 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 11:27:16 +00:00
Brett Leslie Porter c700675257 attempt to fix CI by forcing the use of mboot built snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163725 13f79535-47bb-0310-9956-ffa450edef68
2005-03-31 10:54:32 +00:00
Brett Leslie Porter 14bb2c805a change the maven group ID
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163670 13f79535-47bb-0310-9956-ffa450edef68
2005-03-23 06:52:55 +00:00
Brett Leslie Porter b022c6038f remove pom plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163665 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:52:24 +00:00
Brett Leslie Porter a380e3ceb0 no need to throw an exception every time there is a compiler error, however make sure to process lines starting with "error: " as a compile error
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163633 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 06:06:42 +00:00
Brett Leslie Porter 1612049e44 don't attempt and fail to compile when there is no sources
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163632 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 05:33:52 +00:00
Brett Leslie Porter f5410a596f debug info in mboot
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163631 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 05:26:49 +00:00
Brett Leslie Porter d48af1ad15 fix error handling in javac if there is some other failure (eg bad parameters)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163630 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 05:26:32 +00:00
John Dennis Casey 10b55add40 o Created non-abstract base class for DefaultArtifactFactory to extend, called ArtifactConstructionSupport, which provides centralized means for constructing artifacts consistently without all the maven-core specific methods. These maven-core specifics not delegate to the generic methods provided in this new class.
o Adjusted the maven-archetype stuff to work with the new artifact creation/resolution/etc. methods in maven-artifact and maven-core.
o Removed all direct construction of DefaultArtifact and replaced with ArtifactConstructionSupport where it would have involved putting the DefaultArtifactFactory in the plexus.xml, and where the code doesn't need dependency-oriented methods.
o Archetype works now, using the example provided in plexus/plexus-site/src/site/apt/building-plexus-applications.apt


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163615 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 22:02:09 +00:00
Brett Leslie Porter 99b5fe6d9f flesh out assemble mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163603 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 23:59:07 +00:00
Brett Leslie Porter 17b770a2ab Fix NPE in later code when mavenRepoLocal was defined
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163600 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 20:20:49 +00:00
Emmanuel Venisse c86390960d Add support for proxy in bootstrap.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163596 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 06:11:17 +00:00
Brett Leslie Porter e32b20b5cf make debug bootstrap work
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163585 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 23:17:38 +00:00
Brett Leslie Porter d880a9520a put plugins in the right place
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163580 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:55:36 +00:00
John Dennis Casey e9a9323812 o Changed maven-user-model/UserModel/UserModelBuilder to maven-settings/MavenSettings/MavenSettingsBuilder.
This supports a change to a simpler local configuration file (~/.m2/settings.xml by default), which has the general format of:

<settings>
  <profiles>
    <profile>
      <active>true</active> <!-- not needed if this is the only profile -->
      <localRepository>/path/to/repo</localRepository>
    </profile>
    .
    .
    .
  </profiles>
  <servers>
    <server>
      <id>myserver</id>
      <username>me</username>
      <password>mypass</password>
      <privateKey>/path/to/key</privateKey>
      <passphrase>key-passphrase</passphrase>
    </server>
    .
    .
    .
  </servers>
  <proxies>
    <proxy>
      <active>true</active> <!-- not needed if this is the only proxy -->
      .
      .
      .
    </proxy>
    .
    .
    .
  </proxies>
</settings>

o Added special parameter named '#settings' which simply injects the current MavenSettings from the MavenSession into the request parameters.
o Adjusted the it-verifier and mboot2 accordingly.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163578 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:29:35 +00:00
John Dennis Casey ea6124092c o Removed maven-it-support from build-list (creeped in during testing).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163559 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 21:44:22 +00:00
John Dennis Casey a0365bc54f o Added file-based test reporting to mboot process, since console reporter doesn't do a good job with test failures/errors.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163556 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 21:35:06 +00:00
Emmanuel Venisse 2ef5d9ad39 initial version of EJB plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163520 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 17:14:39 +00:00
John Dennis Casey 5dc8cb4f33 o Added default of ~/.m2/repository for users who don't have ~/.m2/user.xml specified.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163519 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 16:35:04 +00:00
Emmanuel Venisse f453edbd30 Install missing pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163512 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 07:35:38 +00:00
Brett Leslie Porter a44b6f9726 flip pom format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163511 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 01:35:25 +00:00
John Dennis Casey 8d74f0acc4 o Added user.xml as the central point of config for local repository, both in MBoot2 and maven proper.
o Added proxy-profile support to user.xml


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163510 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 22:13:07 +00:00
John Dennis Casey 7f6f4452f2 o Changed Set to List for remote repo handling so that we can maintain declarative ordering in remote repos we use.
o Added UserModel support, integrated with maven-artifact and wagon via AuthenticationInfoProvider implementation.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163501 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 05:48:31 +00:00
John Dennis Casey 77d3e6c5f5 o Added (pom|project)? to the eval pattern in the regex param extractor, to trim ${project.artifactid} to mean the same as ${artifactId} within the pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163490 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:06:22 +00:00
John Dennis Casey 2513cb25aa o Added <pluginManagement/>
o Removed goal decoration.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163468 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 19:03:19 +00:00
Emmanuel Venisse 323eecfc57 - Externalize archiver methods
- Update JarMojo
- Implements WarMojo (Not tested yet)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163458 13f79535-47bb-0310-9956-ffa450edef68
2005-03-05 14:52:12 +00:00
John Dennis Casey dfbae27c44 o Added first-pass logging and event-monitoring impls. Converted all System.out calls in maven-component plugins to use logger.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163457 13f79535-47bb-0310-9956-ffa450edef68
2005-03-04 09:04:26 +00:00
Emmanuel Venisse 4d67c57d74 Initialization of war plugin.
It doesn't work but don't break ci.sh and it's for Brett debugging.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163449 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 09:04:36 +00:00
Emmanuel Venisse f57388bd2a Fix artifact download for artifact type different of jar
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163448 13f79535-47bb-0310-9956-ffa450edef68
2005-03-02 13:40:00 +00:00
John Dennis Casey 95d01ff572 o Completed marmalade-mojo support, tested with m2 bootstrap with empty local repo and maven-core pegged at 2/26/2005.
Will resolve CI issues as soon as lifecycle is fixed for IT0013.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163430 13f79535-47bb-0310-9956-ffa450edef68
2005-02-28 18:29:47 +00:00
Brett Leslie Porter 6aed331a91 mboot needed to be smarter about its parsing - was picking up <version> from anywhere
removed unused "local" parsing


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163426 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 23:30:07 +00:00