Commit Graph

142 Commits

Author SHA1 Message Date
John Dennis Casey 8a257be6fc Fixed problems with merging profile-defined properties into the project, and fixed the ITs testing profile definitions in the process.
This should finally resolve MNG-421


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189768 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 15:53:31 +00:00
John Dennis Casey eba2327c66 commenting out ITs 22 and 23 until I get the chance to fix them.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189680 13f79535-47bb-0310-9956-ffa450edef68
2005-06-09 01:29:30 +00:00
John Dennis Casey a58b76e2e4 Adding profiles.xml and settings.xml support for profiles, along with integration tests for each.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189510 13f79535-47bb-0310-9956-ffa450edef68
2005-06-08 03:27:43 +00:00
John Dennis Casey 29878afcc6 o pom-level profiles are working now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@189464 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 22:36:44 +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
Brett Leslie Porter e1bcc79d16 more parameter consistency. MAVEN_OPTS goes to java, $@ goes to the args.
This will mean implementing -D -> sys property handling in mboot and verifier to allow passing of sys props on the command line if that is needed again


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@188655 13f79535-47bb-0310-9956-ffa450edef68
2005-06-07 01:32:11 +00:00
Brett Leslie Porter 15a3cdc7cd pass MAVEN_OPTS on to the verifier
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@180298 13f79535-47bb-0310-9956-ffa450edef68
2005-06-06 11:49:50 +00:00
Brett Leslie Porter 68595a32c2 move system property specification to system.properties in itests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177983 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 13:37:34 +00:00
Brett Leslie Porter 48cf14a656 PR: MNG-378
Only deploy the release information at the point of release

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@177934 13f79535-47bb-0310-9956-ffa450edef68
2005-05-23 06:43:12 +00:00
Brett Leslie Porter cc9daca698 use built verifier plugin in itest
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@171225 13f79535-47bb-0310-9956-ffa450edef68
2005-05-21 15:46:15 +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 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 ccb9ae4b97 remove bad parent
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169855 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 17:37:09 +00:00
Brett Leslie Porter fcb7b5a294 align versions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169852 13f79535-47bb-0310-9956-ffa450edef68
2005-05-12 17:10:21 +00:00
Brett Leslie Porter 53d6c53cb6 more work on that quoting. seems to finally have come good, at least in bash...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169467 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 13:34:16 +00:00
Brett Leslie Porter 26622164f4 PR: MNG-372
more fixes for paths with spaces

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169293 13f79535-47bb-0310-9956-ffa450edef68
2005-05-09 11:38:38 +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 d6eed0b7a6 note about IT 14
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169178 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 22:07:46 +00:00
Brett Leslie Porter 48e11d225f add test compilation to integration test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169171 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 21:39:30 +00:00
Brett Leslie Porter e3442d7969 add integration test for pom configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169170 13f79535-47bb-0310-9956-ffa450edef68
2005-05-08 21:26:13 +00:00
John Dennis Casey 6e8cde754c Updating README.txt with it1005
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168484 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:37:27 +00:00
John Dennis Casey 6de708da59 IT for testing failure when duplicate goal names are specified in multiple mojos...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168483 13f79535-47bb-0310-9956-ffa450edef68
2005-05-06 00:36:00 +00:00
John Dennis Casey e095874576 Cleaned up plugin descriptor generation/reading to be more consistent, and to include some things that were being left out. Removed more deprecated behavior from annotations support and expression support. Wrote up the first pass on the mojo api and annotations spec. Fixed the mmld-mojo suppport to accommodate the new expression syntax and collisions with the default expression evaluator for mmld. Added an exception to plugin configuration in DefaultPluginManager to not look for a Field when the configurator == map-oriented.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168233 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 01:33:42 +00:00
Brett Leslie Porter a5d3dad778 fixes for it0013, it0015 and reinclude 15
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168131 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 14:16:48 +00:00
John Dennis Casey 5345ee5fc6 Removed backward compat for plugin class-level parameter annotations and '#' expressions.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@168070 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 04:20:36 +00:00
Brett Leslie Porter 6dd94566ab PR: MNG-348
Submitted by:	Vincent Massol
Reviewed by:	Brett Porter (applied with some changes)
Add a verifier plugin, for doing integration tests


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165612 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 09:17:30 +00:00
Brett Leslie Porter f214098416 fix expected class name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165600 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 07:27:56 +00:00
Brett Leslie Porter 4406b6b378 improve tests of war plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165599 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 07:23:37 +00:00
John Dennis Casey ea5cd13285 Fixing IT's broken by Plugin->Mojo rename
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165246 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 01:06:58 +00:00
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