Commit Graph

139 Commits

Author SHA1 Message Date
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
Brett Leslie Porter c8bd83c848 add temporary war:war as it is set as the package goal
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163452 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 11:21:57 +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
Brett Leslie Porter a44ab459bb set phase
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163428 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 23:58:41 +00:00
Brett Leslie Porter 7549992577 compile based on source roots for test mojo too
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163424 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 22:23:27 +00:00
Brett Leslie Porter 21f1cffa59 compile based on source roots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163423 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 21:51:52 +00:00
Emmanuel Venisse f793423baf - Rewriting of jar mojo with Plexus Archiver.
- Added full features of m1 plugin


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163421 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 17:45:41 +00:00
Brett Leslie Porter d5d05a51c5 start to enhance the lifecycle. Need to pre-process plugins as currently goals are only executed if added to a phase after the current goal. Also need plugin configuration to activate these changes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163419 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 05:39:55 +00:00
Brett Leslie Porter 0e249ddc83 reintroduce execution failures
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163412 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 03:14:49 +00:00
John Dennis Casey 52de04e862 Retrying commit after updating maven-core to HEAD.
o Fixed problems with plugin-plugin (had to do with refactored plugin-tools stuff)
o Added marmalade-mojo support, although without an integration test (verified it doesn't get in the way of 'normal' functionality, though)
o Added code in mboot2 to copy marmalade-mojo support libs to ${maven.home}/lib


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163405 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 05:12:30 +00:00
Brett Leslie Porter 1055b6493c there is no package plugin, so can't prereq on that - and prereqs are ignored now anyway.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163390 13f79535-47bb-0310-9956-ffa450edef68
2005-02-24 00:29:17 +00:00
Emmanuel Venisse 4af0dea4a3 Use a correct prereq.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163388 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 23:26:09 +00:00
John Dennis Casey 98002718c3 o Refactored mojo/plugin generation, extraction, etc. to accommodate multiple mojo languages.
o Tested with java mojos, mboot to verify nothing broken by refactor.
o TODO: Add marmalade support tests...currently only java-mojos are supported in mboot2, so this isn't going to interrupt things.
o TODO: Once marmalade support is tested, add to the list of artifacts built by mboot2.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163369 13f79535-47bb-0310-9956-ffa450edef68
2005-02-20 16:25:22 +00:00
Emmanuel Venisse de533d7656 typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163367 13f79535-47bb-0310-9956-ffa450edef68
2005-02-19 13:44:19 +00:00
Emmanuel Venisse b44af08db6 - Make install mojo to the same model like deploy mojo
- Install and deploy always pom.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163366 13f79535-47bb-0310-9956-ffa450edef68
2005-02-19 13:39:59 +00:00
Emmanuel Venisse 039c3c0c9c Add a little deploy plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163364 13f79535-47bb-0310-9956-ffa450edef68
2005-02-18 14:32:27 +00:00
Michal Maczka 095ac2b60a better error handling
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163308 13f79535-47bb-0310-9956-ffa450edef68
2005-01-18 20:44:53 +00:00
Carlos Sanchez Gonzalez a1d1876691 Added debug option to compiler configuration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163307 13f79535-47bb-0310-9956-ffa450edef68
2005-01-14 21:36:17 +00:00
Carlos Sanchez Gonzalez b7c04baca4 Added debug option to compiler configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163302 13f79535-47bb-0310-9956-ffa450edef68
2005-01-09 22:38:57 +00:00
Carlos Sanchez Gonzalez 380b263ad0 Added maven.compiler.debug parameter
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163300 13f79535-47bb-0310-9956-ffa450edef68
2005-01-09 00:21:12 +00:00
Carlos Sanchez Gonzalez ed68e4bed1 Compile with debugging info by default
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163298 13f79535-47bb-0310-9956-ffa450edef68
2005-01-08 21:35:24 +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
Brett Leslie Porter 7904187a94 we don't extend type - the parent is a pom
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163249 13f79535-47bb-0310-9956-ffa450edef68
2004-12-14 10:02:02 +00:00
Emmanuel Venisse b516fbf143 Fix plugin descriptor.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163247 13f79535-47bb-0310-9956-ffa450edef68
2004-12-11 14:28:52 +00:00
Emmanuel Venisse 8a83719263 Close some streams.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163245 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 10:47:39 +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
John Dennis Casey dac27a045a Added test for binary resource with non-standard encoding...I'm trying to get a multi-byte character encoding so it might throw off a String-based copy...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163228 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 05:16:28 +00:00
John Dennis Casey 2ce99517fa o Changed fileCopy process to use byte arrays and ByteArrayOutputStream rather than String/StringBuffer to accommodate binary [test] resources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163227 13f79535-47bb-0310-9956-ffa450edef68
2004-11-03 03:43:31 +00:00
Jason van Zyl 59310c5243 o use xml utils from plexus-utils
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163206 13f79535-47bb-0310-9956-ffa450edef68
2004-10-23 17:31:56 +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
Jason van Zyl 5f37d77a2c *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163106 13f79535-47bb-0310-9956-ffa450edef68
2004-09-18 01:59:21 +00:00
John Dennis Casey 9e24a7b410 o Changed maven-core's super-pom from pom.xml to pom-4.0.0.xml
o Added validation logic for non-heritable pom elements to the default project builder
o Changed default builder to select the correct super-pom from the project pom's modelVersion.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163086 13f79535-47bb-0310-9956-ffa450edef68
2004-09-16 14:26:18 +00:00
John Dennis Casey add8ebca37 o Fixed misuse of basedir and outputDirectory. Previous version includes test resources in resulting jar.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163050 13f79535-47bb-0310-9956-ffa450edef68
2004-09-08 04:05:40 +00:00
Emmanuel Venisse d4125cbafc Add failure if artifact isn't a plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163031 13f79535-47bb-0310-9956-ffa450edef68
2004-09-05 19:03:41 +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
Emmanuel Venisse 4432d1cb3f Add a comment for plexus dependency.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163016 13f79535-47bb-0310-9956-ffa450edef68
2004-08-30 08:44:46 +00:00
Emmanuel Venisse 742dd53292 Add plexus dependency to maven-plugins because it use by several plugins.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163013 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 13:47:17 +00:00
John Dennis Casey 24ce8263d9 o Changed to depend on plexus-0.17 instead of -0.16
o Changed the embedder/container used to be the new artifact-aware container (plexus-artifact-container-1.0-alpha-1)
o Added new dependency to maven-core for artifact-container.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163006 13f79535-47bb-0310-9956-ffa450edef68
2004-08-26 01:18:19 +00:00
Jason van Zyl 47bdc91285 o prereqs in the wrong order
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162999 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 00:33:09 +00:00
Jason van Zyl fd70e514f9 o generate the descriptor as well
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162998 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 00:29:44 +00:00
Jason van Zyl c86ea920b8 o adding plugin install
this is not the way i want the installing mechanism to work (i.e. copying
  the same class around ...) but folks want to install plugins so i'll just
  pop this in for now.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162997 13f79535-47bb-0310-9956-ffa450edef68
2004-08-23 00:27:44 +00:00
Emmanuel Venisse 5d89d4b2c2 Reverse my change.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162996 13f79535-47bb-0310-9956-ffa450edef68
2004-08-22 14:40:50 +00:00
Emmanuel Venisse 32a567b040 Define the parent plugin type to plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162995 13f79535-47bb-0310-9956-ffa450edef68
2004-08-22 13:29:07 +00:00
Brett Leslie Porter 9fa341cf45 fix typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162993 13f79535-47bb-0310-9956-ffa450edef68
2004-08-21 00:15:10 +00:00
Emmanuel Venisse 330d33e5aa Use the correct type for pom installation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162985 13f79535-47bb-0310-9956-ffa450edef68
2004-08-16 08:45:38 +00:00
Jason van Zyl 8991c26f9c o install the POM for the integration tests
NOTE: this is not how I would like this handled, the artifact layer will
  be responsible for dealing with metadata in a way that is controlled by
  the artifact handler.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162982 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 16:19:38 +00:00
Brett Leslie Porter 72d71b215f disable test again - fails under mboot because there are no transitive deps
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162979 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 06:11:07 +00:00
Brett Leslie Porter 3f60d949ba this test now works
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162974 13f79535-47bb-0310-9956-ffa450edef68
2004-08-15 04:27:04 +00:00
Jason van Zyl dd16cb87ac o backing out my change, i was wrong
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162937 13f79535-47bb-0310-9956-ffa450edef68
2004-08-09 23:28:50 +00:00