Commit Graph

237 Commits

Author SHA1 Message Date
Brett Leslie Porter a7b156acc3 still allow debugging the verifier, and don't discard all MAVEN_OPTS (I need it to have my home directory set correctly!)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226460 13f79535-47bb-0310-9956-ffa450edef68
2005-07-30 02:13:16 +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 ebbf8db6f8 o Changed the it scripts to remove the $MAVEN_OPTS from the verifier launch line, so that we can remotely debug an integration test execution (rather than getting stuck on the verifier execution itself)
o Added lines in it0015 and it0020 prebuild-hooks to remove the IT plugins before executing, to avoid weird, intermittent Zip exceptions.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@226330 13f79535-47bb-0310-9956-ffa450edef68
2005-07-29 03:07:56 +00:00
Brett Leslie Porter 5d82fcb8a6 PR: MNG-249
also recognise transitive projects



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225780 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 14:19:03 +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 f84cbeb505 extra check on download
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225713 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 06:30:55 +00:00
Brett Leslie Porter f3b2f5a419 add correct plugin repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225662 13f79535-47bb-0310-9956-ffa450edef68
2005-07-28 00:51:36 +00:00
Brett Leslie Porter fb33a71f0a add a hook to test properly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225515 13f79535-47bb-0310-9956-ffa450edef68
2005-07-27 14:01:50 +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
Brett Leslie Porter 3cb2e3e2ec these use the it plugin, also need plugin repository setting
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225332 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 15:42:33 +00:00
Brett Leslie Porter eeafd40d9e snapshots have moved
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225316 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 14:24:38 +00:00
Brett Leslie Porter e78bef0429 PR: MNG-598
implement ability to retrieve packaging handlers (lifecycle mappings) from extension plugins. Remove plugin mapping
metadata for the same
integration tests are in place for type handlers but commented out until implemented (41)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225263 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 09:04:32 +00:00
John Dennis Casey 4b1038de53 Working on: MNG-607
o Added '-f' CLI option, to allow use of non-standard pom files, or spawning of a build from outside of the project dir.
o Added preferential processing of release-pom.xml over pom.xml if it exists (assumes that the current checkout is a release of the software)
o Moved all file discovery from MavenCli to DefaultMaven, to allow embedders to have access to this logic.
o Modified MavenExecutionRequest to add a flag for reactor-activation and the name of a non-standard pom to use, if appropriate.
o Removed getFiles() and getProjectFiles() from MavenExecutionRequest, since file discovery is now done in the DefaultMaven.
o Added integration tests to check preference of release-pom.xml in standalone and '-r' mode
o Added integration tests to check usage of '-f' option within and outside of the project directory
o Added processing for cli-options.txt to maven-core-it-verifier (Verifier.java) to allow specification of '-f' and '-r' in tests


NOTE: the release plugin still doesn't correctly remove the release-pom.xml from HEAD/trunk, since I don't have access to the SCM remove command from maven-scm. I'm waiting for Emmanuel to finish some API changes before moving to the new maven-scm version, and implementing this final step.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225226 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 03:55:37 +00:00
Brett Leslie Porter 67a2c243fb reenable tests
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220346 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 15:37:46 +00:00
Brett Leslie Porter c4ce488e47 reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220321 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 13:52:21 +00:00
Brett Leslie Porter aa59559efb PR: MNG-507
implement repository relocation of an artifact


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220220 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 00:31:44 +00:00
Brett Leslie Porter df0009594c use a more normal IT test style for artifact resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220219 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 00:21:57 +00:00
Brett Leslie Porter 1f20b2a8f1 add expected results
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219870 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 09:40:32 +00:00
Brett Leslie Porter b2d349adbc PR: MNG-505
add integration tests for version ranges



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219847 13f79535-47bb-0310-9956-ffa450edef68
2005-07-20 06:53:47 +00:00
John Dennis Casey 3519e21e97 Resolving: MNG-576...I'm committing Stephane's patch for an integration test. Thanks, Stephane
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219571 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 21:43:11 +00:00
Brett Leslie Porter 640667a6a2 integration tests for the required maven version test
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219474 13f79535-47bb-0310-9956-ffa450edef68
2005-07-18 11:59:46 +00:00
John Dennis Casey 20047d63c9 Fixing problem with using distributionManagement repository definition for download of plugins.xml metadata.
Now, in order to build a maven plugin, you need two things:

1. a repository defined in distributionManagment
2. a repository defined in <repositories/> which has the same id as the one in distributionManagement.

This is necessary, since in most cases SSH will be used in the distributionManagement definition for uploading the plugin...which means that the download of the existing plugins.xml file might not be available for users trying to run an install. SSH requires authentication information, and users (particularly those running the bootstrap) might not have this auth info.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@216013 13f79535-47bb-0310-9956-ffa450edef68
2005-07-12 20:08:21 +00:00
John Dennis Casey 4b53aba3bb Fixing issues related to MNG-377, where the plugins.xml metadata was being mishandled. Separated updating of this metadata into a separate mojo, bound to the 'package' phase, and put in a validator for the POM (POM has to have distributionRepository now for maven-plugin's) which is bound to the 'validate' phase. Put together an integration test that uses modello:java as a case where the pluginGroups must be consulted. Also had to change the Verifier to check a verifier.properties for failOnErrorOutput, which will suppress IT failures based on [ERROR] log output (modello outputs one of these, and kills the IT unnecessarily).
MNG-377 should be resolved at this point.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@215890 13f79535-47bb-0310-9956-ffa450edef68
2005-07-11 22:08:58 +00:00
John Dennis Casey 2a403e4df3 Adding IT to cover a regression on dependencyManagement injection from parent-poms of a dependency's pom.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@209538 13f79535-47bb-0310-9956-ffa450edef68
2005-07-06 23:12:44 +00:00
Emmanuel Venisse a029d766ce Update all versions to beta-1-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@202001 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 15:29:14 +00:00
Emmanuel Venisse 8dacb55248 Fix it number in artifact name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201986 13f79535-47bb-0310-9956-ffa450edef68
2005-06-27 13:14:49 +00:00
John Dennis Casey e4083dcdea Resolving issue: MNG-522
o Added check for null child pluginManagement section, and setting to parent value if null.
o Added integration test for parent->child pluginManagement inheritance and injection, to prevent regressions.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@201693 13f79535-47bb-0310-9956-ffa450edef68
2005-06-25 00:00:05 +00:00
Brett Leslie Porter a66df4b205 fix bad group id
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193160 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 15:15:09 +00:00
John Dennis Casey b4ece5dbe8 Fixing versions in ITs to -alpha-3 deps.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@193108 13f79535-47bb-0310-9956-ffa450edef68
2005-06-23 08:14:08 +00:00
John Dennis Casey bea9eca2f6 Resolving issue: MNG-493
o Changed getExecutionsAsMap() in Plugin (within maven.mdo) to throw an IllegalStateException if two PluginExecutions are detected with the same id. This method should always be called during inheritance assembly...

o Changed PluginExecution's id field to have a defaultValue of 'default' within maven.mdo.

NOTE: It may be necessary to double-check the id-collision within MavenProjectBuilder, in case there is no inheritance of plugins...I'll add this, and follow this commit momentarily.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191620 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 03:57:17 +00:00
Brett Leslie Porter e37d95003f put back integration test, update plugin should have wandered over to ibiblio by now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191580 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 22:36:57 +00:00
John Dennis Casey d7e421fd01 Resolving: MNG-496
o Adding extraction of mojo-specific configuration from the merged config for the plugin
o Warning at the DEBUG log-level for unused plugin configuration during the extraction process above
o Added integration test it0028 to test with unused plugin configuration present.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191552 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 20:11:01 +00:00
John Dennis Casey 9b5c187e43 Commenting maven-eclipse-plugin and it0027...eclipse plugin is missing from injected parameters, and it0027 cannot find core-it:fork. NOTE: this is based on a mirror setup directly to ibiblio.org, since codehaus was having web problems. When codehaus is again reliable, I'll take the mirror back out and try it0027 again...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191533 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 18:47:58 +00:00
Brett Leslie Porter 8dec28247b PR: MNG-471
implemented cloned lifecycle, project and tests. update mojos accordingly


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191476 13f79535-47bb-0310-9956-ffa450edef68
2005-06-20 14:42:56 +00:00
John Dennis Casey 3e2449750d PR: MNG-414
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191311 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 23:27:40 +00:00
Brett Leslie Porter 28b5d25b61 fix incorrect test - executing a standalone goal does not invoke executions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191295 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 16:03:20 +00:00
Brett Leslie Porter 331ae735a7 fix incorrect test (execution cannot affect something already bound by packaging)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191294 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 16:01:48 +00:00
Brett Leslie Porter a72409b091 fix pom format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191291 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 15:19:18 +00:00
Brett Leslie Porter a9f174c834 Clean up of the lifecycle executor, simplify configuration and push back into the plugin manager.
This fixed a couple of bugs along the way.

One change that this has brought to bear from the document is you now must specify a goal for it to be bound to the LC
(see it0008)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191285 13f79535-47bb-0310-9956-ffa450edef68
2005-06-18 13:01:26 +00:00
John Dennis Casey 1a89a7b751 Resolving issue: MNG-480
o Added support for -Dmaven.repo.local command line override of the local repo
o Propagating local repository location (either maven.repo.local, or from settings.xml) to ITs in Verifier
o Re-enabled it0023 and it0026
o Removed warning in README.txt for maven-core-it.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191163 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 14:34:18 +00:00
Brett Leslie Porter 01e6c8daa6 PR: MNG-257
refactor artifact creation to all go through the factory, and assign the type handler from there.
Attach EJB client to the EJB artifact so that it is installed/deployed along with it.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191096 13f79535-47bb-0310-9956-ffa450edef68
2005-06-17 06:49:57 +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 ce3665851c o Re-adding support for user-level settings which are not assumed to be in ~ (for continuum and other server-style apps' convenience)
o Adding support for global (installation-level) settings.xml file which is identical to the one in ~/.m2, and which will be overridden by user-level settings. The default location for this is ${maven.home}/settings.xml.

o Adding IT to test merging of global- and user-level settings.xml files

o Moved DefaultMavenSettingsBuilder/MavenSettingsBuilder to maven-settings project, to make them more generally available (to ant, for instance)

Resolves issue: MNG-294



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190517 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 21:56:00 +00:00
John Dennis Casey d2e1f3c975 o Adding support for <executions/>, which means multiple runs of the same goal/set-of-goals with different configs.
o Adding @phase declarations for those mojos that seem to be part of the main build, just for completeness
o Added two ITs, to test that <executions/> doesn't mess up the normal operation, and to test multi-execution for a goal.

Should resolve: MNG-172.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@190335 13f79535-47bb-0310-9956-ffa450edef68
2005-06-13 02:47:57 +00:00
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
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