Commit Graph

44 Commits

Author SHA1 Message Date
Brett Leslie Porter eb6fed83ca PR: MNG-1038
Submitted by: Edwin Punzalan
fix warSourceExcludes issue


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321331 13f79535-47bb-0310-9956-ffa450edef68
2005-10-15 13:18:01 +00:00
Stephane Nicoll b4c955faf3 Updated documentation according to new Mojos. (exploded / inplace).
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@321145 13f79535-47bb-0310-9956-ffa450edef68
2005-10-14 16:32:43 +00:00
Brett Leslie Porter cb7d87a550 fix typo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307373 13f79535-47bb-0310-9956-ffa450edef68
2005-10-09 06:06:46 +00:00
Brett Leslie Porter 49fd01a9a4 PR: MNG-1037
Submitted by: Allan Ramirez
Reviewed by:  Brett Porter
add exploded and inplace goals
(applied with modifications to better  utilise base class and use shared default excludes)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@307363 13f79535-47bb-0310-9956-ffa450edef68
2005-10-09 04:50:58 +00:00
Emmanuel Venisse e77ba206a9 Fix tabs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293453 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 21:26:57 +00:00
Emmanuel Venisse ef0763c291 [MNG-1071] lookup archiver instead of calling contructor so output will be use with the correct logger.
I forgot to modify these files

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293450 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 21:12:31 +00:00
Brett Leslie Porter 5e0f005782 no point in deprecating this, still need a var to take final name from.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@293322 13f79535-47bb-0310-9956-ffa450edef68
2005-10-03 12:32:36 +00:00
Stephane Nicoll ffd07ac6ad copy/pasting is evil!
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291388 13f79535-47bb-0310-9956-ffa450edef68
2005-09-25 08:05:41 +00:00
Stephane Nicoll 47426c6648 MNG-853: added howto and web site doco for war plugin.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@291188 13f79535-47bb-0310-9956-ffa450edef68
2005-09-23 18:43:46 +00:00
Brett Leslie Porter d2b20bea06 reinstate exploded mode - recommend use from the command line only, add deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289514 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 12:33:49 +00:00
Kenney Westerhof c9bf147e29 o EclipsePlugin now does NOT download sources by default.
Specify -Declipse.downloadSources=true to do so.

o WarMojo produces an artifact, even if exploded is specified. This makes sure
  that the install phase doesn't fail because there's no artifact.

o DependenciesReport: add caught exception to the new thrown exception
  for better messages.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@289353 13f79535-47bb-0310-9956-ffa450edef68
2005-09-16 00:37:58 +00:00
Stephane Nicoll 42718256a5 MNG-853: added Javadoc and parameter's documentation.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@280101 13f79535-47bb-0310-9956-ffa450edef68
2005-09-11 09:48:34 +00:00
Trygve Laugstol e21120a0a4 Fixing MNG-478: "war:war warSourceExcludes parameter not used when set in the
POM".
Patch created by Greg Case, thanks for your work!


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@233048 13f79535-47bb-0310-9956-ffa450edef68
2005-08-16 19:54:30 +00:00
Kenney Westerhof ad947569c8 MNG-692, continued: also update project.artifact.file for War.
I'm leaving it alone for non-war (i.e. exploded/inplace webapp) generation.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@231199 13f79535-47bb-0310-9956-ffa450edef68
2005-08-10 09:16:23 +00:00
Brett Leslie Porter 2d666f57a7 move main J2EE packaging definitions back to being built in
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@225311 13f79535-47bb-0310-9956-ffa450edef68
2005-07-26 14:00:23 +00:00
Brett Leslie Porter 22282d4f24 typo caused nothing to get included
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@224369 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 17:29:23 +00:00
Brett Leslie Porter fd615cbeea PR: MNG-579
correct inclusion of tlds

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@224365 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 16:51:09 +00:00
Brett Leslie Porter 235cf9a0d5 correct equals
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@220324 13f79535-47bb-0310-9956-ffa450edef68
2005-07-22 14:17:24 +00:00
John Dennis Casey 0cc696a407 Working on: MNG-576
o Implemented plan from my comments on MNG-576 for looking up lifecycle mappings within plugins.

o Fixed subtle bug in DefaultWagonManager for verifying checksums, where the destination file was being used to verify the checksum rather than the recently download temp destination.

o Fixed the DefaultRepositoryMetadataManager.resolve(..) method to allow the locally-installed metadata to be used if it is newer than the one resolved from the repository.

o Moved the lifecycle mappings for the EJB and WAR plugins out to META-INF/plexus/components.xml in the respective plugin's src/main/resources directory. it0016 and it0017 still pass.

o Changed the distributionManagement repository for maven-plugins/pom.xml to have id of 'central-plugins' and then added a normal artifact repository definition for central-plugins to that pom, to allow locally-installed repository metadata for the plugins to be put in the right place (and these builds should have access to the central plugin repo anyway).

o Changed the DefaultPluginMappingBuilder to only warn when plugins.xml for a particular plugin group is missing.



git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@216273 13f79535-47bb-0310-9956-ffa450edef68
2005-07-13 21:57:57 +00:00
John Dennis Casey fd3e9fe9e2 Fixing artifact handling to only process the runtime artifacts, and select out the tld's from that. This is for the war mojo, BTW. :)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191688 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 17:13:24 +00:00
John Dennis Casey e90ba206d3 PR: MNG-500 Not sure if anything else is touched besides the war mojo. If so, we should factor the inclusion logic into some sort of component for maintenance purposes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@191674 13f79535-47bb-0310-9956-ffa450edef68
2005-06-21 16:08:40 +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
Brett Leslie Porter a7655b4bb4 war requires dependency resolution
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@170540 13f79535-47bb-0310-9956-ffa450edef68
2005-05-17 08:07:03 +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 ade9741a79 forgot one dependency update
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@164325 13f79535-47bb-0310-9956-ffa450edef68
2005-04-23 03:24:58 +00:00
Brett Leslie Porter efebad61dc deprecate warName in favour of finalName, and add default excludes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163985 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 16:52:03 +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 9209aaf3b6 make sure compile time dependencies (the default) are bundled too
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163719 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 08:22:24 +00:00
Brett Leslie Porter 0ee892dfdc change archiving plugins to use a shred archive configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163716 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 08:14:52 +00:00
Brett Leslie Porter 092c2f75cf convert archive mojos to new execute(). More work is required to reuse the common fields.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163659 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:25:58 +00:00
Brett Leslie Porter 8e9ec9c892 move log to AbstractPlugin, out of request. Request now contains only parameters (will move to fields) and marmalade context (can move to marmalade mojo wrapper)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163622 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 00:07:39 +00:00
Emmanuel Venisse dd2d1738a7 Remove todo. Properties doesn't exists on dependencies now.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163518 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 09:53:47 +00:00
Emmanuel Venisse abbecd7c82 Remove unused classes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163516 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 09:37:44 +00:00
Emmanuel Venisse de167c3e10 Add Package in manifest from plugin configuration.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163515 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 09:36:44 +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
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
Emmanuel Venisse 323eecfc57 - Externalize archiver methods
- Update JarMojo
- Implements WarMojo (Not tested yet)


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163458 13f79535-47bb-0310-9956-ffa450edef68
2005-03-05 14:52:12 +00:00
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