Commit Graph

113 Commits

Author SHA1 Message Date
John Dennis Casey 61406495be o Refactored the MavenSettings code into the settings.mdo/Settings class.
o Added code to cache the active proxy and profile inside the Settings instance for quicker lookup.

o Added a method to initialize a new active profile for a Settings instance in the event one didn't exist.

o Started adding offline mode. So far, I've implemented:

  - Warning when a mojo declares a requirement for connectivity, but we're offline.

  - INFO message stating when maven is running in offline mode.

  - Addition to the Profile class in o.a.m.settings package to allow specification of offline mode by declaring: <offline>true</offline>


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163969 13f79535-47bb-0310-9956-ffa450edef68
2005-04-18 21:50:55 +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 1166e16562 integration test fix, mmld temporarily out of order
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163948 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 05:00:05 +00:00
Brett Leslie Porter 30c6656f8c fix pre-build hooks
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163939 13f79535-47bb-0310-9956-ffa450edef68
2005-04-13 12:15:43 +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 bf22a13e91 add it0019 (currently failing)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163899 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 12:27:13 +00:00
Brett Leslie Porter 1d45fd3fd8 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163896 13f79535-47bb-0310-9956-ffa450edef68
2005-04-11 12:26:13 +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
Brett Leslie Porter b979b19957 fix bad quoting introduced
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163786 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 09:33:12 +00:00
Brett Leslie Porter 30f07014a6 work without M2_HOME
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163777 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 06:48:46 +00:00
Brett Leslie Porter b48dce7689 clean up integration tests, make them repository independent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163758 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 06:15:04 +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 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 b84d4bc35e revert <includes> and <excludes> in MDO to old format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163666 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 14:26:28 +00:00
Brett Leslie Porter 82b9d8aa26 fix expected results
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163649 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 07:31:42 +00:00
Brett Leslie Porter 72d8486c7c add integration test for plugin configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163643 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 06:40:08 +00:00
Brett Leslie Porter 5c1f5b1e57 PR: MNG-52
change type of maven plugins to "maven-plugin" instead of plugin.
This should allow other products to have different plugin types, if necessary.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163562 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 22:31:54 +00:00
John Dennis Casey 4d1ca8da33 o Removed AuthenticationInfoProvider stuff
o Added ArtifactRepositoryFactory stuff to construct with AuthenticationInfo if possible.
o Added UserModelBuilder stuff for componentizing UserModel construction.
  -> DefaultUserModelBuilder has a configuration point 'userModelPath' which can redirect where it reads user.xml from (${user.home} is substitutable here).
o Added warning message to deployment plugin when deployment repo has no authentication info available.
o Added warning message for repos with null <id/> (auth info cannot be assigned here).
o Added a couple of debug-level messages for aid in debugging repo- and userModel-related problems.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163558 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 21:41:06 +00:00
Jason van Zyl d0fcf456e6 o updating readme for it0008
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163546 13f79535-47bb-0310-9956-ffa450edef68
2005-03-13 21:12:03 +00:00
Jason van Zyl 4bc8170a68 o adding to expected results to check that mojo parameter basedir
alignment is working correctly.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163545 13f79535-47bb-0310-9956-ffa450edef68
2005-03-13 21:07:45 +00:00
John Dennis Casey a8cb7de0b0 o Added plugin version management/enforcement through the POM's build section.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163525 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 21:36:58 +00:00
Emmanuel Venisse a3832c9a06 Fix file name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163522 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 17:39:11 +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
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
Emmanuel Venisse a90ea9bc76 Add dependencies in war and add support of scope deps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163502 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 06:45:33 +00:00
Emmanuel Venisse c25b897413 Fix integration tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163493 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:39:50 +00:00
Brett Leslie Porter 8d604a1088 scoping
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163491 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:19:59 +00:00
Brett Leslie Porter f35b9869af fix some integration tests that were over-testing for their spec, and incorrectly so
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163487 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 05:57:00 +00:00
Brett Leslie Porter f3ffe9a617 comment out it0016 - broken
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163482 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 01:43:37 +00:00
Brett Leslie Porter 02f8ed02c4 remove it0014
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163481 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 01:43:15 +00:00
Brett Leslie Porter 62810b2c0f remove unused integration test for file based jar overrides
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163480 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 01:42:51 +00:00
Brett Leslie Porter cf09cbd373 only use classworlds at runtime
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163477 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 23:46:28 +00:00
Brett Leslie Porter 73f4808ea7 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163474 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 23:45:59 +00:00
Emmanuel Venisse 482684e3cc Initial version of war plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163471 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 21:46:14 +00:00
Trygve Laugstol e2588cf933 o Adding some CVS ignores.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163467 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 18:12:04 +00:00
Brett Leslie Porter 17b616537e 6 was removed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163465 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 08:54:14 +00:00
Brett Leslie Porter 2ec22909c6 change type = test to scope = test
remove it0006, no longer valid (pre/postGoals)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163464 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 08:52:39 +00:00
Brett Leslie Porter f2e5866c33 utilise MAVEN_OPTS
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163461 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 07:23:11 +00:00
Emmanuel Venisse c4cab3edfa Reserve an it number for war plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163450 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 09:08:47 +00:00
John Dennis Casey 90ab124653 o Adding debug statements for testing on windows.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163445 13f79535-47bb-0310-9956-ffa450edef68
2005-03-02 02:41:09 +00:00
Brett Leslie Porter cdd2cd212a plugin:descriptor not required - implicit due to type
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163440 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 05:15:23 +00:00
John Dennis Casey d8aa8cea76 o Adding files excluded by default by eclipse CVS plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163436 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 02:54:54 +00:00
John Dennis Casey 8e82989334 o Refactored the plugin extractors to accept a MavenProject only, and pull the information they need from it in order to extract the mojos they're responsible for.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163435 13f79535-47bb-0310-9956-ffa450edef68
2005-03-01 02:43:22 +00:00
Brett Leslie Porter 8fc9a29003 integration test updates relating to phases
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163434 13f79535-47bb-0310-9956-ffa450edef68
2005-02-28 23:37:19 +00:00
Brett Leslie Porter b70904c7a3 make sure it0013 fails even under a non-clean repo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163431 13f79535-47bb-0310-9956-ffa450edef68
2005-02-28 22:47:19 +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 c25b29fe28 add description of it0014
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163418 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 05:37:31 +00:00
John Dennis Casey db65155072 o Working on getting it0015 (marmalade-mojo support) working...nearly there, it0015 is still disabled.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163415 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 05:09:14 +00:00
John Dennis Casey 30e2a5af92 o Starting on a mmld-mojo IT...committing to save this IT number.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163411 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 02:34:42 +00:00