What version of Maven? I think prior to Maven 2.0.7 it was hardcoded to p-u 1.1.

- Brett

On 30/03/2009, at 10:23 PM, Mark Struberg wrote:

Hi Imran!

Having only looked over your log quickly, it seems to me that this is not a git-scm problem:

java.lang.NoSuchMethodError: org.codehaus.plexus.util.cli.Commandline.createArg()Lorg/codehaus/ plexus/util/cli/Arg; org .apache .maven .scm .provider .git .gitexe .command .GitCommandLineUtils.getBaseGitCommandLine(GitCommandLineUtils.java: 82)

Looks like this function is not in the plexus-utils-1.1 the changelog uses in your setup?
[DEBUG] org.codehaus.plexus:plexus-utils:jar:1.5.6:compile (removed - nearer found: 1.1)
hmm, why does it take the 1.1 instead of the 1.5.6? Idea, anyone?


--- Imran M Yousuf <imyou...@gmail.com> schrieb am Mo, 30.3.2009:

Von: Imran M Yousuf <imyou...@gmail.com>
Betreff: NPE with maven-changelog-plugin and git
An: scm-dev@maven.apache.org
Datum: Montag, 30. März 2009, 4:55

I am getting NPE when I issue  the following
configuration and
command 'mvn changelog:changelog' in scm version 1.1. When
I use scm
verison 1.2 I get No Such Method Error. I am pretty sure I
am doing
something wrong but I am unable to determine it. Please
help! I have
attached the relevant outputs as attachment -
git-log.out - Output of the git log command issued to build
the log
maven-changelog-npe.out - Output including debug info for
the NPE
maven-scm-error-1.2.out - No such method error with 1.2.

I am compressing them to reduce the size of the attachment.
I would be
deeply grateful if you would be kind enough to point me in



<developerConnection>scm:git:ssh://imyou...@repo.or.cz/srv/git/smart-dao.git </developerConnection>



















Thank you,

Imran M Yousuf
Entrepreneur & Software Engineer
Smart IT Engineering
Dhaka, Bangladesh
Email: im...@smartitengineering.com
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557

Reply via email to