Commit Graph

48 Commits

Author SHA1 Message Date
Brett Leslie Porter f9360a13d9 test if properties were provided
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169498 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 17:00:09 +00:00
Brett Leslie Porter f0248e0084 PR: MNG-298
Submitted by: Vincent Massol
Reviewed by:  Brett Porter
set some system properties based on plugin configuration. At this point, they are not reverted afterwards...

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@169497 13f79535-47bb-0310-9956-ffa450edef68
2005-05-10 16:53:59 +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
John Dennis Casey a58632b9dd Renamed Plugin.java, AbstractPlugin.java, PluginExecutionRe(quest|sponse) PluginExecutionException to Mojo*
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165238 13f79535-47bb-0310-9956-ffa450edef68
2005-04-29 00:12:09 +00:00
John Dennis Casey ab91b7f4c2 o Cleaned up field-level annotation support (especially descriptor extraction, generation, and building)
o Converted all "core" plugins (including maven-core-it-plugin) to use field-level annotations
o Removed generation of parameter descriptors for ${/#component.* param specifications.
o Added @readonly for parameters that cannot be overridden by user configuration (List override was dangerous here)
o Added validation against pom-derived configuration for @readonly parameters
o Fixed @parameter alias="" support...now configuration of the mojo instance actually will work with either the real param name or the alias. Would be nice to support multiple aliases, but that might require @alias annotations...
o Added [temporary?] support for null editable attributes for parameters, to support pre-built mojos from the repo.

Annotation support should be just about ready to go...


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@165224 13f79535-47bb-0310-9956-ffa450edef68
2005-04-28 23:05:01 +00:00
Brett Leslie Porter 874a8c1245 add more use of ${} expressions, fix problem when } was not at end
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164195 13f79535-47bb-0310-9956-ffa450edef68
2005-04-22 08:33:34 +00:00
Brett Leslie Porter b2e4433615 utilise the container for populating all mojo configuration, including expressions
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163947 13f79535-47bb-0310-9956-ffa450edef68
2005-04-15 04:52:31 +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 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 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
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 a6bc152aca missed from commit
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163752 13f79535-47bb-0310-9956-ffa450edef68
2005-04-04 04:09:55 +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 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 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 c5d7cd804c convert surefire plugin to new execute()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163663 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:40:14 +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
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
Brett Leslie Porter 72a993eea1 remove old code related to the previous goal structure
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163469 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 19:21:38 +00:00
Brett Leslie Porter 6c36fe6f71 add basic test dependency handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163466 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 09:41:55 +00:00
Trygve Laugstol 4977f19845 o Setting some additional ignores.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163289 13f79535-47bb-0310-9956-ffa450edef68
2005-01-03 06:41:15 +00:00
John Dennis Casey f32e88a2d5 o Added null check to the loop which adds classpath elements to the surefire test.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163232 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 23:31:37 +00:00
Jason van Zyl bdcd0670ed o accounting for a change i just made in maven-core
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163171 13f79535-47bb-0310-9956-ffa450edef68
2004-09-30 15:46:38 +00:00
Jason van Zyl c0a6388337 o active the new text file reports which capture any stack traces that
occur as well as stdout and std err

o there is a new parameter that is accepted so you can use a simplifed
  regex from the command line

  m2 surefire:test -D=test=FooTest

  is implicitly **/FooTest.java and the directory scanner is used

  so you can this to run a single test if you like or a set of tests:

  m2 surefire:test -Dtest=*Foo*

  is implicitly **/*Foo*.java

  You can also specify a comma separated list if you wish:

  m2 surefire:test -Dtest=*Foo*,*Bar*

  whic is implicitly **/*Foo*.java,**/*Bar*.java

  This just makes running a smaller set of tests easier while trying
  to pin point problems.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163120 13f79535-47bb-0310-9956-ffa450edef68
2004-09-20 03:14:22 +00:00
Brett Leslie Porter c13e8c7629 PR: MNG-74
remove maven.properties use everywhere except classworlds conf


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163024 13f79535-47bb-0310-9956-ffa450edef68
2004-09-02 12:34:19 +00:00
Trygve Laugstol cb0c6ad6c4 o Adding <modelVersion> to the poms.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162855 13f79535-47bb-0310-9956-ffa450edef68
2004-07-05 20:12:50 +00:00
Michal Maczka d00330c7c2 plugins' poms are using type = plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162844 13f79535-47bb-0310-9956-ffa450edef68
2004-06-27 17:10:32 +00:00
Emmanuel Venisse a28ad00561 - Use surefire 1.1
- Build failed now when we have failures in tests


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162842 13f79535-47bb-0310-9956-ffa450edef68
2004-06-27 13:24:13 +00:00
Jason van Zyl e5c7f6b808 o the classes directories are now aligned so the basedir is not needed.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162829 13f79535-47bb-0310-9956-ffa450edef68
2004-06-22 17:03:45 +00:00
Emmanuel Venisse f00f23e685 Use build directories as parameter.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162805 13f79535-47bb-0310-9956-ffa450edef68
2004-06-19 12:12:39 +00:00
Jason van Zyl 4948f63c70 o Ok, this set of changes has been tested against the integration tests in
maven-core-it and it is now a requirement that the integration tests be
  done before checking in any changes. They are not super rigourous but
  they do test the minimal functionality of compiling, processing resources
  and testing.

  I'm going to make another release this week and things should now be
  in a stable enough form to actually use m2 for the basics.

PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162763 13f79535-47bb-0310-9956-ffa450edef68
2004-06-16 02:51:37 +00:00
Jason van Zyl 8be8744b31 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162753 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 20:47:08 +00:00
Jason van Zyl 26f67a6c73 o correcting @tags from feedback
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162747 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 15:13:12 +00:00
Jason van Zyl a9850685f4 o updating format of the @tags
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162745 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 12:36:47 +00:00
Jason van Zyl 072609e0b3 o cleaning up the @tags which are now a lot more simple
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162742 13f79535-47bb-0310-9956-ffa450edef68
2004-06-11 16:14:40 +00:00
Jason van Zyl 60af082ea2 o doing the pom.xml thing
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162739 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 03:10:50 +00:00
Emmanuel Venisse 9492d7c3d4 Fix plugins name.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162721 13f79535-47bb-0310-9956-ffa450edef68
2004-05-28 12:07:43 +00:00
Jason van Zyl 18b1fd115f o get rid of plugin.xml as they are generated now from @tags in the
sources.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162719 13f79535-47bb-0310-9956-ffa450edef68
2004-05-27 02:53:02 +00:00
Emmanuel Venisse 680c8d9774 Fix artifactId of parent plugin pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162716 13f79535-47bb-0310-9956-ffa450edef68
2004-05-25 20:08:28 +00:00
Jason van Zyl 0d54b2204f turn into a maven plugin and add @tags for descriptor generation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162708 13f79535-47bb-0310-9956-ffa450edef68
2004-05-20 17:06:34 +00:00
Jason van Zyl 1ef91af494 o make the surefire plugin an integrated plugins as this still has no
binding to maven.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162687 13f79535-47bb-0310-9956-ffa450edef68
2004-05-08 02:09:56 +00:00
Jason van Zyl 4c06479fc3 o using a common plugin parent model
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162661 13f79535-47bb-0310-9956-ffa450edef68
2004-04-12 20:14:19 +00:00
Jason van Zyl 7344c8b0c0 explicit instantiation strategy
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162621 13f79535-47bb-0310-9956-ffa450edef68
2004-03-22 18:13:59 +00:00
Jason van Zyl 3d28ca82f2 o update plugin descriptors to match changes in maven-core.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162616 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 16:13:14 +00:00
Jason van Zyl c9fbf52230 o update the plugin descriptors for changes made in maven to support 4
flavours of POJOs people might try to integrate into Maven.

  CompilerPlugin is now an "integrated" plugin where any amount of
  arbitrary information can go into the execution and come out. In this
  case the compiler plugin can send back detailed compilation errors for
  use in something like and IDE.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162614 13f79535-47bb-0310-9956-ffa450edef68
2004-03-19 04:11:11 +00:00
Jason van Zyl 4a9730736d o make sure standard resources are copied over too before testing.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162609 13f79535-47bb-0310-9956-ffa450edef68
2004-03-16 00:32:22 +00:00
Jason van Zyl ee951b1609 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162606 13f79535-47bb-0310-9956-ffa450edef68
2004-03-15 19:32:20 +00:00