You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by David Hawkins <dh...@famhq.com> on 2005/12/16 13:56:23 UTC
maven-model-plugin
I created a plugin for dependency management and pom editing via the command
line. My initial goal was to create a plugin which would show me a list of
my dependencies and determine if any of them needed to be updated to a later
version. I really couldn't find an easy way to do this for a project with
a large number of dependencies. As soon as I started working with dependency
resolution, the plugin quickly diverged into including transitive dependency
conflict resolution and pom editing.
See this page for more information, screen shots, and the src download:
http://www.famhq.com/maven/maven-model-plugin/announcement.html
My goal is to add it to the Mojo project if people find it as useful as I
do.
Highlights:
* Displays project dependencies and the latest version of each. (You can
enable/disable the use of snapshots when determining the latest version)
You have the option of setting all to the latest version or manually
editing each.
* Transitive dependencies
* Starting Points - display a tree of the transitive dependencies that
are included by a dependency. (see example below)
* End Points - displays a list of all transitive dependencies that are
included in the compilation classpath. Each dependency will show if
there are any conflicting versions of the groupId:artifactId that were
evaluated when resolving the artifacts. You can also dive into any
transitive dependency and view a tree of all the possible paths that
can include that dependency.
* Edit nearly any element of the pom via a console UI. Includes list of
values for fields with constrained values.
* All model fields are discovered via reflection and editors are dynamic so
that future changes to the model should work without modification of this
plugin.
* When adding/editing dependencies and plugins you are shown a list of
available versions to select from.
* Dependency versions can be ranges and the versions selected by the range
are displayed in the list of versions.
* Performs validation on the model via the DefaultModelValidator. Will not
save a pom that will not validate.
* You can make changes to the model and view how they affect transitive
dependencies without actually saving the model. This allows you to tweak
the settings or even revert all of your changes.
Comments and suggestions are welcome
--David
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: maven-model-plugin
Posted by David Hawkins <dh...@famhq.com>.
I'll convert the package to org.codehaus.mojo.xxx and then submit it in
JIRA. I could use some help on what to name it. I had originally called it
maven-model-plugin because I was editing and using the maven-model project.
I have no idea of a good name that fits with the mojo naming scheme.
Any suggestions?
--David
----- Original Message -----
From: "Trygve Laugstøl" <tr...@codehaus.org>
To: "Maven Developers List" <de...@maven.apache.org>
Sent: Friday, December 16, 2005 3:29 PM
Subject: Re: maven-model-plugin
> On Fri, 2005-12-16 at 06:56 -0600, David Hawkins wrote:
>> I created a plugin for dependency management and pom editing via the
>> command
>> line. My initial goal was to create a plugin which would show me a list
>> of
>> my dependencies and determine if any of them needed to be updated to a
>> later
>> version. I really couldn't find an easy way to do this for a project with
>> a large number of dependencies. As soon as I started working with
>> dependency
>> resolution, the plugin quickly diverged into including transitive
>> dependency
>> conflict resolution and pom editing.
>>
>> See this page for more information, screen shots, and the src download:
>> http://www.famhq.com/maven/maven-model-plugin/announcement.html
>>
>> My goal is to add it to the Mojo project if people find it as useful as I
>> do.
>
> If you would like to submit your code to the Mojo project please read
> this page:
>
> http://mojo.codehaus.org/development/submitting-a-plugin.html
>
> --
> Trygve
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: maven-model-plugin
Posted by Trygve Laugstøl <tr...@codehaus.org>.
On Fri, 2005-12-16 at 06:56 -0600, David Hawkins wrote:
> I created a plugin for dependency management and pom editing via the command
> line. My initial goal was to create a plugin which would show me a list of
> my dependencies and determine if any of them needed to be updated to a later
> version. I really couldn't find an easy way to do this for a project with
> a large number of dependencies. As soon as I started working with dependency
> resolution, the plugin quickly diverged into including transitive dependency
> conflict resolution and pom editing.
>
> See this page for more information, screen shots, and the src download:
> http://www.famhq.com/maven/maven-model-plugin/announcement.html
>
> My goal is to add it to the Mojo project if people find it as useful as I
> do.
If you would like to submit your code to the Mojo project please read
this page:
http://mojo.codehaus.org/development/submitting-a-plugin.html
--
Trygve
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: maven-model-plugin
Posted by Rafal Krzewski <Ra...@caltha.pl>.
David Hawkins wrote:
> I created a plugin for dependency management and pom editing via the
> command
> line.
Cool, but why commandline? Maybe you could get in touch with the
Mevenide team (http://mevenide.codehaus.org/) the integrators of Maven
in the IDEs?
Good luck and thanks for sharing your work!
Rafal
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org