Commit Graph

55 Commits

Author SHA1 Message Date
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 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
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 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
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 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
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
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 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
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
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
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
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 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
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
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
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 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
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 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
Jason van Zyl 7e90a62081 o some fixes to the install mojo to make the integration test for JAR
installation work.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162796 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 02:15:49 +00:00
Jason van Zyl 0ce493657a o turn the jar install back on
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162786 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 20:44:21 +00:00
Jason van Zyl 7e50e98385 o the two mojos are colliding somehow, when this one is activated it clobbers the jar goal.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162785 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 20:25:16 +00:00
Michal Maczka 1b24da6163 added jar:install goal - needs more testing
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162778 13f79535-47bb-0310-9956-ffa450edef68
2004-06-17 18:59:48 +00:00
Jason van Zyl 0571b62a3c no message
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162767 13f79535-47bb-0310-9956-ffa450edef68
2004-06-16 05:54:52 +00:00
Jason van Zyl b5ce0c41c3 o update plugins to take advantage of the new default values in the super
model provided by maven-core.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162757 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 23:22:47 +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 dd4fc3384f o moving core deps into top-level pom.xml to be shared by all the
component builds.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162741 13f79535-47bb-0310-9956-ffa450edef68
2004-06-10 20:27:50 +00:00
Michal Maczka 368ae57a6b first sketch of jar:install goal
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162740 13f79535-47bb-0310-9956-ffa450edef68
2004-06-10 19:00:04 +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
Trygve Laugstol c6fbfedf09 o Adding eclipse excludes.
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162699 13f79535-47bb-0310-9956-ffa450edef68
2004-05-11 21:20:11 +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