Quantcast

org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository

James Carr
Hi All,

I am using subversive with the latest galileo and the latest m2eclipse
plugin and this error has me in tears... it is completely preventing
me from building my modules successfully and preventing me from
deploying from within eclipse.

Is there anyway to just turn the SCM validation off????

Thanks,
james

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository

Jason van Zyl-2

On Mar 18, 2010, at 5:51 AM, James Carr wrote:

Hi All,

I am using subversive with the latest galileo and the latest m2eclipse
plugin and this error has me in tears... it is completely preventing
me from building my modules successfully and preventing me from
deploying from within eclipse.

This description doesn't really help us deduce what your problem actually is.

The exception you have in your subject line is from Maven itself, not M2Eclipse.

I'm guessing you have a project that's using the build-helper plugin and you don't have Subversion available on the command line. That's purely a guess, but you've provide no information.


Is there anyway to just turn the SCM validation off????

You can turn Subversive off for your projects in Eclipse, but that's not going alter the execution of any other Maven plugins that might use SCMs from the command line.

Create a JIRA issue and submit a sample project and it's pretty easy for us to figure out what's going on.

Help --> Report Maven Issue & it will walk you through creating an issue automatically. Once it gives you the URL post it here and we'll convert it into an MNGECLIPSE issue.


Thanks,
james

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository

Eugene Kuleshov
In reply to this post by James Carr

  This exception is likely thrown by the buildnumber-maven-plugin plugin. Note that that plugin doesn't know about Subversive, so you have two options:

  * make an svn executable (i.e. svn.exe on windows) available on the path
  * remove or move the buildnumber-maven-plugin into a profile that won't be active in Eclipse, or move it to a build phase that is out of scope for m2eclipse builder.

  regards,
  Eugene


James Carr wrote
Hi All,

I am using subversive with the latest galileo and the latest m2eclipse
plugin and this error has me in tears... it is completely preventing
me from building my modules successfully and preventing me from
deploying from within eclipse.

Is there anyway to just turn the SCM validation off????

Thanks,
james
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository

James Carr
Thanks, this all really just turned out to be a problem cause by a
configuration issue in a pom 3 levels above our project. Yuck. :(

On another note, is this still current? I'm going to give it a try.
http://docs.codehaus.org/display/M2ECLIPSE/Integration+with+Subversive


On Thu, Mar 18, 2010 at 12:01 PM, Eugene Kuleshov <[hidden email]> wrote:

>
>
>  This exception is likely thrown by the buildnumber-maven-plugin plugin.
> Note that that plugin doesn't know about Subversive, so you have two
> options:
>
>  * make an svn executable (i.e. svn.exe on windows) available on the path
>  * remove or move the buildnumber-maven-plugin into a profile that won't be
> active in Eclipse, or move it to a build phase that is out of scope for
> m2eclipse builder.
>
>  regards,
>  Eugene
>
>
>
> James Carr wrote:
>>
>> Hi All,
>>
>> I am using subversive with the latest galileo and the latest m2eclipse
>> plugin and this error has me in tears... it is completely preventing
>> me from building my modules successfully and preventing me from
>> deploying from within eclipse.
>>
>> Is there anyway to just turn the SCM validation off????
>>
>> Thanks,
>> james
>>
>
> --
> View this message in context: http://old.nabble.com/org.apache.maven.plugin.MojoExecutionException%3A-Cannot-get-the--revision-information-from-the-scm-repository-tp27945129p27948442.html
> Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository

Jason van Zyl-2
https://docs.sonatype.org/display/M2ECLIPSE/Home

Is the wiki.

On Mar 18, 2010, at 10:45 AM, James Carr wrote:

Thanks, this all really just turned out to be a problem cause by a
configuration issue in a pom 3 levels above our project. Yuck. :(

On another note, is this still current? I'm going to give it a try.
http://docs.codehaus.org/display/M2ECLIPSE/Integration+with+Subversive


On Thu, Mar 18, 2010 at 12:01 PM, Eugene Kuleshov <[hidden email]> wrote:


 This exception is likely thrown by the buildnumber-maven-plugin plugin.
Note that that plugin doesn't know about Subversive, so you have two
options:

 * make an svn executable (i.e. svn.exe on windows) available on the path
 * remove or move the buildnumber-maven-plugin into a profile that won't be
active in Eclipse, or move it to a build phase that is out of scope for
m2eclipse builder.

 regards,
 Eugene



James Carr wrote:

Hi All,

I am using subversive with the latest galileo and the latest m2eclipse
plugin and this error has me in tears... it is completely preventing
me from building my modules successfully and preventing me from
deploying from within eclipse.

Is there anyway to just turn the SCM validation off????

Thanks,
james


--
View this message in context: http://old.nabble.com/org.apache.maven.plugin.MojoExecutionException%3A-Cannot-get-the--revision-information-from-the-scm-repository-tp27945129p27948442.html
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository

James Carr
Sheesh... talk about another day of development wasted. For the
record, I don't think this was really an m2eclipse or maven issue, but
just a seriously messed up maven configuration. For reasons that
baffle me, going back to 0.9.8 lets the project and the WTP specific
stuff work again, while in the newest version it gets all matter of
errors.

I tried creating a sample project to reproduce for a possible bug
report, but simple example of our project structure actually works!
For now I'm just rolling back so I can get some work done, but I'll
try to go through the project and all of it's POMs over the weekend
and see if I can create a skeleton project to reproduce the issue.

Too bad the project isn't simple enough that I could just migrate the
dang thing to the example structure I created in my attempt to
reproduce the bug! ;)

Thanks,
James


On Thu, Mar 18, 2010 at 12:49 PM, Jason van Zyl <[hidden email]> wrote:

> https://docs.sonatype.org/display/M2ECLIPSE/Home
> Is the wiki.
> On Mar 18, 2010, at 10:45 AM, James Carr wrote:
>
> Thanks, this all really just turned out to be a problem cause by a
> configuration issue in a pom 3 levels above our project. Yuck. :(
>
> On another note, is this still current? I'm going to give it a try.
> http://docs.codehaus.org/display/M2ECLIPSE/Integration+with+Subversive
>
>
> On Thu, Mar 18, 2010 at 12:01 PM, Eugene Kuleshov <[hidden email]> wrote:
>
>
>  This exception is likely thrown by the buildnumber-maven-plugin plugin.
>
> Note that that plugin doesn't know about Subversive, so you have two
>
> options:
>
>  * make an svn executable (i.e. svn.exe on windows) available on the path
>
>  * remove or move the buildnumber-maven-plugin into a profile that won't be
>
> active in Eclipse, or move it to a build phase that is out of scope for
>
> m2eclipse builder.
>
>  regards,
>
>  Eugene
>
>
>
> James Carr wrote:
>
> Hi All,
>
> I am using subversive with the latest galileo and the latest m2eclipse
>
> plugin and this error has me in tears... it is completely preventing
>
> me from building my modules successfully and preventing me from
>
> deploying from within eclipse.
>
> Is there anyway to just turn the SCM validation off????
>
> Thanks,
>
> james
>
>
> --
>
> View this message in context:
> http://old.nabble.com/org.apache.maven.plugin.MojoExecutionException%3A-Cannot-get-the--revision-information-from-the-scm-repository-tp27945129p27948442.html
>
> Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
>
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>
> Thanks,
>
> Jason
>
> ----------------------------------------------------------
> Jason van Zyl
> Founder,  Apache Maven
> http://twitter.com/jvanzyl
> ----------------------------------------------------------
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: org.apache.maven.plugin.MojoExecutionException: Cannot get the revision information from the scm repository

Jason van Zyl-2

On Mar 18, 2010, at 1:11 PM, James Carr wrote:

Sheesh... talk about another day of development wasted. For the
record, I don't think this was really an m2eclipse or maven issue, but
just a seriously messed up maven configuration.

Generally no one reads anything, and for some reason think that what constructs your software is supposed to just work without any thought or design. That infrastructure just works is a common misunderstanding. Look at systems of infrastructure for anything else like cities and it becomes immediately obvious that if you don't invest in some upfront design it's just going to cost you more in the long run.

For reasons that
baffle me, going back to 0.9.8 lets the project and the WTP specific
stuff work again, while in the newest version it gets all matter of
errors.

WTP support is now in the extras update site. We will not officially support it until we can put the resources behind making it work properly.

You can find the update site for the extras here:


You probably just joined the mailing list when we announced this a while back.


I tried creating a sample project to reproduce for a possible bug
report, but simple example of our project structure actually works!
For now I'm just rolling back so I can get some work done, but I'll
try to go through the project and all of it's POMs over the weekend
and see if I can create a skeleton project to reproduce the issue.

Too bad the project isn't simple enough that I could just migrate the
dang thing to the example structure I created in my attempt to
reproduce the bug! ;)

Thanks,
James


On Thu, Mar 18, 2010 at 12:49 PM, Jason van Zyl <[hidden email]> wrote:
https://docs.sonatype.org/display/M2ECLIPSE/Home
Is the wiki.
On Mar 18, 2010, at 10:45 AM, James Carr wrote:

Thanks, this all really just turned out to be a problem cause by a
configuration issue in a pom 3 levels above our project. Yuck. :(

On another note, is this still current? I'm going to give it a try.
http://docs.codehaus.org/display/M2ECLIPSE/Integration+with+Subversive


On Thu, Mar 18, 2010 at 12:01 PM, Eugene Kuleshov <[hidden email]> wrote:


 This exception is likely thrown by the buildnumber-maven-plugin plugin.

Note that that plugin doesn't know about Subversive, so you have two

options:

 * make an svn executable (i.e. svn.exe on windows) available on the path

 * remove or move the buildnumber-maven-plugin into a profile that won't be

active in Eclipse, or move it to a build phase that is out of scope for

m2eclipse builder.

 regards,

 Eugene



James Carr wrote:

Hi All,

I am using subversive with the latest galileo and the latest m2eclipse

plugin and this error has me in tears... it is completely preventing

me from building my modules successfully and preventing me from

deploying from within eclipse.

Is there anyway to just turn the SCM validation off????

Thanks,

james


--

View this message in context:
http://old.nabble.com/org.apache.maven.plugin.MojoExecutionException%3A-Cannot-get-the--revision-information-from-the-scm-repository-tp27945129p27948442.html

Sent from the Maven Eclipse - User mailing list archive at Nabble.com.


---------------------------------------------------------------------

To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email



Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------

Loading...