NPE with maven-changelog-plugin and git

View: New views
1 Messages — Rating Filter:   Alert me  

NPE with maven-changelog-plugin and git

by Imran M Yousuf-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

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 right
direction.


            <scm>
                <connection>scm:git:git://repo.or.cz/smart-dao.git</connection>

<developerConnection>scm:git:ssh://imyousuf@.../srv/git/smart-dao.git</developerConnection>
            </scm>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-scm-plugin</artifactId>
                <version>${scm.version}</version>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-changelog-plugin</artifactId>
                <version>2.1</version>
                <dependencies>
                    <dependency>
                        <groupId>org.apache.maven.scm</groupId>
                        <artifactId>maven-scm-provider-gitexe</artifactId>
                        <version>${scm.version}</version>
                    </dependency>
                </dependencies>
            </plugin>
    <properties>
        <commons-lang.version>2.3</commons-lang.version>
        <smart-util.version>0.2-SNAPSHOT</smart-util.version>
        <jgit.version>0.4-SNAPSHOT</jgit.version>
        <scm.version>1.1</scm.version>
    </properties>

Thank you,

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


scm-debug-200903300855.zip (15K) Download Attachment