You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dave Syer <da...@hotmail.com> on 2006/08/08 14:12:36 UTC

How to get an up to date plugin?

Yes, I've read the docs at
http://maven.apache.org/guides/development/guide-testing-development-plugins.html. 
But I still don't seem to be able to get an update of maven-install-plugin. 
I can see mvn downloading a snapshot from the snapshot repo, but it is still
an old version (2.0-SNAPSHOT).

I can see in the source code that this plugin changed 5 months ago to fix
the problem I am experiencing [MINSTALL-12], but I can't find an up to date
distribution.  Can this be correct?

What is the process for core plugins like this one to be released to central
/ snapshot repository?  Shouldn't a bug fix from 5 months ago have reached
the community by now?  Is there some documentation to help me with this (I
scoured the maven web s ite but came up with nothing)?
-- 
View this message in context: http://www.nabble.com/How-to-get-an-up-to-date-plugin--tf2072249.html#a5705093
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to get an up to date plugin?

Posted by Denis Cabasson <de...@insee.fr>.
Building the latest version of the plugins require to set the snapshot
repository.
Have a look at the guide:
http://maven.apache.org/guides/development/guide-testing-development-plugins.html

Your required dependency can be found there:
http://people.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-plugins/2-SNAPSHOT/

I guess you shoudl correct parent pom to version 1 of maven-plugins, since
current 2-SNAPSHOT version will require you to get maven-2.0.5-SNAPSHOT. Or
else, you can still install the latest version of maven :)

Denis.


Dave Syer wrote:
> 
> Thanks.  I'll try and follow it through the JIRA updates.  You'd think
> there would be an easy way to find out the status of core plugins like
> install from the main maven website.  Oh well...
> 
> But what do I have to build to get this to work?  If I just try to build
> the plugin (against 2.0.4) it complains:
> 
> ~/dev/opvantage/maven/maven-install-plugin>mvn install
> [INFO] Scanning for projects...
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
> 
> GroupId: org.apache.maven.plugins
> ArtifactId: maven-plugins
> Version: 2-SNAPSHOT
> 
> Reason: Unable to download the artifact from any repository
> 
>   org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT
> 
> from the specified remote repositories:
>   central (http://repo1.maven.org/maven2)
> 
> so there are dependencies that cannot be resolved?  This is all a bit too
> complicated in my humble op.
> 

-- 
View this message in context: http://www.nabble.com/How-to-get-an-up-to-date-plugin--tf2072249.html#a5708124
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to get an up to date plugin?

Posted by Dave Syer <da...@hotmail.com>.
Thanks.  I'll try and follow it through the JIRA updates.  You'd think there
would be an easy way to find out the status of core plugins like install
from the main maven website.  Oh well...

But what do I have to build to get this to work?  If I just try to build the
plugin (against 2.0.4) it complains:

~/dev/opvantage/maven/maven-install-plugin>mvn install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.maven.plugins
ArtifactId: maven-plugins
Version: 2-SNAPSHOT

Reason: Unable to download the artifact from any repository

  org.apache.maven.plugins:maven-plugins:pom:2-SNAPSHOT

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

so there are dependencies that cannot be resolved?  This is all a bit too
complicated in my humble op.
-- 
View this message in context: http://www.nabble.com/How-to-get-an-up-to-date-plugin--tf2072249.html#a5706391
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: How to get an up to date plugin?

Posted by Denis Cabasson <de...@insee.fr>.

Dave Syer wrote:
> 
> Yes, I've read the docs at
> http://maven.apache.org/guides/development/guide-testing-development-plugins.html. 
> But I still don't seem to be able to get an update of
> maven-install-plugin.  I can see mvn downloading a snapshot from the
> snapshot repo, but it is still an old version (2.0-SNAPSHOT).
> 
> I can see in the source code that this plugin changed 5 months ago to fix
> the problem I am experiencing [MINSTALL-12], but I can't find an up to
> date distribution.  Can this be correct?
> 
> What is the process for core plugins like this one to be released to
> central / snapshot repository?  Shouldn't a bug fix from 5 months ago have
> reached the community by now?  Is there some documentation to help me with
> this (I scoured the maven web s ite but came up with nothing)?
> 

Just check it out from SCM and build it for yourself. (mvn install on the
checked out project should do the trick)

Maven plugins are published on quite an  unregular basis (even on snapshot
repository), as far as I can see :)

For release on central, you get a vote of Maven Comitters and PMC members
before releasing a 'stable' version of a plugin (or of whichever else
artifact).

Denis.

-- 
View this message in context: http://www.nabble.com/How-to-get-an-up-to-date-plugin--tf2072249.html#a5705257
Sent from the Maven - Users forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org