Commit Graph

305 Commits

Author SHA1 Message Date
Brett Leslie Porter 0f861327fd standard assemly - bin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163721 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 15:41:23 +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 d8f4e7e6c9 fix stale source scanner
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163715 13f79535-47bb-0310-9956-ffa450edef68
2005-03-30 05:52:07 +00:00
Trygve Laugstol c8e40de1e4 o Adding <modules>.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163709 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 21:36:47 +00:00
Brett Leslie Porter e3c15069c5 allow empty JARs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163702 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 06:02:57 +00:00
Brett Leslie Porter b512b2e7a2 fix bad message, reformat
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163701 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 05:55:10 +00:00
John Dennis Casey 67830a13fb o Adding source-scanner support, for selectively including source files to be compiled, or processed in some way. This is going to be a core-plugin facility, so it's in maven-plugin.
o Added support to maven-compiler-plugin for a source scanner to determine the files that actually need recompiling...currently based on lastModification date.
o All of this stuff needs a good integration test, but it shouldn't mess any existing functionality up for now. Unit tests for the scanner stuff are included.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163698 13f79535-47bb-0310-9956-ffa450edef68
2005-03-29 05:28:08 +00:00
Brett Leslie Porter 5db2c4cf56 rewrite POM with new version on deployment
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163689 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 12:22:05 +00:00
Brett Leslie Porter b9de151229 fix deploy/install os standalone POMs
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163688 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 11:57:47 +00:00
Brett Leslie Porter e697f5bd8c deploy/install POMs as a type of metadata so they are done atomically
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163687 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 10:30:58 +00:00
Brett Leslie Porter 3f0f786e67 transform deployment of SNAPSHOT.
Currently, the POM and artifact are deployed separately, causing an inconsistent version to be written out.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163684 13f79535-47bb-0310-9956-ffa450edef68
2005-03-24 08:45:37 +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 b022c6038f remove pom plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163665 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:52:24 +00:00
Brett Leslie Porter 1e121e8d1a convert plugin plugin to new execute()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163664 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:44:17 +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 8a720065d5 fix license
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163662 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:34:29 +00:00
Brett Leslie Porter d0de5773b3 convert resources mojo to new execute().
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163661 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:33:29 +00:00
Brett Leslie Porter 964aa52888 convert install mojo to new execute().
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163660 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 13:30:48 +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 f385f562f0 convert deploy mojo to new execute()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163658 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 12:36:36 +00:00
Brett Leslie Porter d8bed9bc6c convert compiler mojo to new execute()
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163657 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 12:29:30 +00:00
John Dennis Casey 590e952f02 CHANGES
------------------------

o Factored the layout for a repository into a separate set of components in o.a.m.a.repository.layout

o Added new DefaultRepositoryLayout that uses the repo layout in http://docs.codehaus.org/pages/viewpage.action?pageId=22230 (it is not used by default until we get the repo1 conversion done)

o Added command-line switches to force legacy local-repo or new format (-a/-A, I know, but try to find something that makes more sense!)

o Added path formatting to the repository itself, which is now constructed with a ArtifactRepositoryLayout instance (since layout should be tied to the repository)

o Removed path formatting altogether from the DefaultArtifactHandlerManager.

o Changed the AbstractArtifactBasedComponent (or whatever it's called) to use the repository formatting in the path() and localPath() methods.

o Moved the plugin repo construction (still intact as a hard-coded singleton list) into the DefaultMavenProjectBuilder, where it will eventually build from POM info.

o Added a new method to build an artifact repository for a <distributionManagement/> section, if possible. This reduced the strain on mojos to construct an ArtifactRepository on demand.

o Refactored all *DeployMojo to use #project.distributionManagementArtifactRepository instead of the #settings, #component..ArtifactRepositoryFactory, ... that it used to require. This is a big simplifying step.

o Removed remote artifact repository construction from DefaultMaven, and changed the MavenSession to delegate to MavenProject for remoteArtifactRepositories, just as it does for pluginRepositories.

o Added remoteArtifactRepositories, pluginArtifactRepositories, distributionManagementArtifactRepository to MavenProject as a cache for the higher-level repos used throughout the system. This is project info, so it belongs here.

o Fixed all the tests in maven-core and maven-artifact which I broke. :)

o Dropped what is probably a big format-bomb, since the Eclipse formatter doesn't really handle 'throws Exception' wrapping the right way.

o Added MavenProject to the MavenSession constructor, since there should always be a MavenProject associated with a build, even if it's just the super-pom.

TODO:
--------------------------

- Write an integration/unit test to ensure that the new repo format works with $classifier (was: $extra) and $groupId[0]/../$groupId[n]. This is a simple adaptation of the old layout, but still needs testing.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163638 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 08:18:34 +00:00
Brett Leslie Porter e1f51a9ad4 make the assembly mojo work, and use field type
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163637 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 07:59:28 +00:00
Brett Leslie Porter 1f757e62d9 fix for assembly MDO
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163636 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 07:23:48 +00:00
Brett Leslie Porter 28e193d14c AbstractLogEnabled is needed for archiver (not transitive in mboot)
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163634 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 06:07:35 +00:00
Brett Leslie Porter f5bd920140 make the detection cleaner to make it easier to clean up later
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163628 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 04:00:46 +00:00
Brett Leslie Porter dab33490a5 most basic of field based plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163627 13f79535-47bb-0310-9956-ffa450edef68
2005-03-21 03:49:17 +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
Carlos Sanchez Gonzalez 6e21de0ed2 Moved to sandbox
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163620 13f79535-47bb-0310-9956-ffa450edef68
2005-03-20 17:03:53 +00:00
Brett Leslie Porter 82d693b967 add zip, jar, and some notes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163613 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 12:36:49 +00:00
Brett Leslie Porter df6e78a104 work around issue
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163606 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 01:14:11 +00:00
Brett Leslie Porter 99b5fe6d9f flesh out assemble mojo
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163603 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 23:59:07 +00:00
Carlos Sanchez Gonzalez 75951aa79d Mojo to manage repository
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163599 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 15:02:46 +00:00
John Dennis Casey e9a9323812 o Changed maven-user-model/UserModel/UserModelBuilder to maven-settings/MavenSettings/MavenSettingsBuilder.
This supports a change to a simpler local configuration file (~/.m2/settings.xml by default), which has the general format of:

<settings>
  <profiles>
    <profile>
      <active>true</active> <!-- not needed if this is the only profile -->
      <localRepository>/path/to/repo</localRepository>
    </profile>
    .
    .
    .
  </profiles>
  <servers>
    <server>
      <id>myserver</id>
      <username>me</username>
      <password>mypass</password>
      <privateKey>/path/to/key</privateKey>
      <passphrase>key-passphrase</passphrase>
    </server>
    .
    .
    .
  </servers>
  <proxies>
    <proxy>
      <active>true</active> <!-- not needed if this is the only proxy -->
      .
      .
      .
    </proxy>
    .
    .
    .
  </proxies>
</settings>

o Added special parameter named '#settings' which simply injects the current MavenSettings from the MavenSession into the request parameters.
o Adjusted the it-verifier and mboot2 accordingly.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163578 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 06:29:35 +00:00
Brett Leslie Porter 2f89f1e94d handle POMs correctly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163568 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:27:37 +00:00
Brett Leslie Porter 39e571068d handle POM properly
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163567 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:26:32 +00:00
Brett Leslie Porter 0f42ee716d updated to match deploy plugin, until it can be removed
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163566 13f79535-47bb-0310-9956-ffa450edef68
2005-03-16 01:19:19 +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 ba06a10501 some clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163552 13f79535-47bb-0310-9956-ffa450edef68
2005-03-15 02:50:58 +00:00
Brett Leslie Porter 9fb34fca1b remove test inclusion
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163551 13f79535-47bb-0310-9956-ffa450edef68
2005-03-14 23:32:56 +00:00
Brett Leslie Porter c1d51c88c1 Initial revision
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163540 13f79535-47bb-0310-9956-ffa450edef68
2005-03-13 01:37:58 +00:00
Brett Leslie Porter c6978405cf add source and target
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163535 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 06:10:37 +00:00
Emmanuel Venisse f83e267925 Roll back debug changes
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163521 13f79535-47bb-0310-9956-ffa450edef68
2005-03-10 17:16:23 +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
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
John Dennis Casey 7f6f4452f2 o Changed Set to List for remote repo handling so that we can maintain declarative ordering in remote repos we use.
o Added UserModel support, integrated with maven-artifact and wagon via AuthenticationInfoProvider implementation.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163501 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 05:48:31 +00:00
Brett Leslie Porter 1fe8c76a3d move all artifact creation to artifact factory - further refactoring planned
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163499 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 02:39:10 +00:00
Brett Leslie Porter 6c23c73b8d error handling on pom:deploy
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163497 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 18:35:00 +00:00
Brett Leslie Porter 24a8a801e9 make pom:deploy work
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163495 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:58:27 +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
Brett Leslie Porter 8d604a1088 scoping
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163491 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 06:19:59 +00:00
Brett Leslie Porter 1d615cd239 turn on logging, resolve some issues surrounding test dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163473 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 23:02:43 +00:00
Brett Leslie Porter d514fff118 clean up
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163472 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 22:08:23 +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
Brett Leslie Porter 47da41f68e refactor source roots to be lists
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163470 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 20:56:23 +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
Brett Leslie Porter 46edb7818f depedency update
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163462 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 07:23:31 +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
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
Jason van Zyl c324104c9c o they are snapshots
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162936 13f79535-47bb-0310-9956-ffa450edef68
2004-08-09 23:24:59 +00:00
Jason van Zyl 8ea2d0af7b o use plexus 0.16
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162929 13f79535-47bb-0310-9956-ffa450edef68
2004-08-09 19:33:45 +00:00
Jason van Zyl d83868e9cd *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162928 13f79535-47bb-0310-9956-ffa450edef68
2004-08-09 19:10:11 +00:00
Emmanuel Venisse c38444d863 Remove default test includes value.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162890 13f79535-47bb-0310-9956-ffa450edef68
2004-07-27 11:24:42 +00:00
Emmanuel Venisse b0c0d6c5fc test classes are in *Test name format
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162888 13f79535-47bb-0310-9956-ffa450edef68
2004-07-27 11:17:30 +00:00
Emmanuel Venisse 7664e801de Fix test classname to exclude
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162887 13f79535-47bb-0310-9956-ffa450edef68
2004-07-27 11:16:33 +00:00
Michal Maczka cfa046c6d9 Upps! I added pico personality to CVS but forgot to commit it...
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162865 13f79535-47bb-0310-9956-ffa450edef68
2004-07-23 18:04:02 +00:00
Emmanuel Venisse db646bfa4a Test if basedir exists before scan the directory.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162864 13f79535-47bb-0310-9956-ffa450edef68
2004-07-19 09:57:43 +00:00
Emmanuel Venisse dd7093ada6 Create output directory if it doesn't exist.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162863 13f79535-47bb-0310-9956-ffa450edef68
2004-07-19 09:51:15 +00:00
Emmanuel Venisse 07cfd28f67 Fix jar creation with code present in j2ee mojo.
It's a temporary change before use plexus-archiver.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162858 13f79535-47bb-0310-9956-ffa450edef68
2004-07-07 07:18:10 +00:00
Emmanuel Venisse 4abf102820 Add some infos in Manifest.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162857 13f79535-47bb-0310-9956-ffa450edef68
2004-07-06 12:56:52 +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
Emmanuel Venisse 85107479c0 Initial version of pom plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162852 13f79535-47bb-0310-9956-ffa450edef68
2004-07-05 10:54:50 +00:00
Jason van Zyl 165ac05c58 o update to account for the embedding changes made in maven-core.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162850 13f79535-47bb-0310-9956-ffa450edef68
2004-07-03 02:32:45 +00:00
Jason van Zyl 91d9c5a82d *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162849 13f79535-47bb-0310-9956-ffa450edef68
2004-07-02 02:40:18 +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
Michal Maczka 107fd13e0a o maven-plugin-plugin now uses plugin:setup for integrating plugin with maven installation.
plugin:install and plugin:deploy methods are implemented but some change in the core are needed to make   them work


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162843 13f79535-47bb-0310-9956-ffa450edef68
2004-06-27 17:09:13 +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
Trygve Laugstol b451d00a65 o Fixing groupId and version tags.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162840 13f79535-47bb-0310-9956-ffa450edef68
2004-06-26 16:16:06 +00:00
Trygve Laugstol de3e325ee9 o Fixing the version tag.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162839 13f79535-47bb-0310-9956-ffa450edef68
2004-06-26 16:14:58 +00:00
Trygve Laugstol 880648435f o Adding plugin:install mojo.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162835 13f79535-47bb-0310-9956-ffa450edef68
2004-06-25 02:35:08 +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
Michal Maczka c4aa49c871 fixing pacakge name
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162827 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 18:47:43 +00:00
Michal Maczka 6f9000f66d adding required dependencies
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162826 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 18:46:23 +00:00
Michal Maczka bba179f5aa the goal name was wrong
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162825 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 18:35:01 +00:00
Michal Maczka 18143611c0 correcting package (just to know if this is a right one:) )
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162824 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 18:19:41 +00:00
Michal Maczka 11ae8b8471 correcting expression
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162823 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 16:12:54 +00:00
Michal Maczka c0000822c0 added generic install plugin. I am not sure if this is a right way of implementing this - but I will need similar things for site plugin - so this will serve as an example for disussion how to attain arbitrary goal(s) from plugin
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162822 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 15:56:57 +00:00
Michal Maczka 93c196e590 note about correct project type which should be used for plugins
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162821 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 15:54:21 +00:00
Michal Maczka 4c0ba35e76 implementation of jar:deploy goal
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162820 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 15:02:33 +00:00
Emmanuel Venisse 09a8cc1e03 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162819 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 14:03:44 +00:00
Emmanuel Venisse bf095942fc Use default excludes resources.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162818 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 14:01:58 +00:00
Jason van Zyl e04ec7ea75 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162815 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 03:22:01 +00:00
Jason van Zyl 9c84228237 o first plugin to send info back to the client code for reporting to
the user.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162813 13f79535-47bb-0310-9956-ffa450edef68
2004-06-20 02:00:34 +00:00