Can't build maven openfire plugin (buildNumber null)

Hi

I’ve tried to build maven openfire plugin. I followed instructions from http://maven.reucon.com/projects/public/maven-openfire-plugin/1.0.1/

While building plugin I get NullPointerException:

C:\test2\maven-openfire-plugin\maven-openfire-plugin>svn co http://svn.reucon.net/repos/maven/plugins/maven-openfire-plugin/trunk maven-openfire-plugin

A maven-openfire-plugin\LICENSE.txt

A maven-openfire-plugin\src

A maven-openfire-plugin\src\main

A maven-openfire-plugin\src\main\java

A maven-openfire-plugin\src\main\java\com

A maven-openfire-plugin\src\main\java\com\reucon

A maven-openfire-plugin\src\main\java\com\reucon\maven

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin\openfire

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin\openfire\jspc

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin\openfire\jspc\JspcM ojo.java

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin\openfire\AbstractOp enfireMojo.java

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin\openfire\CompositeM ap.java

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin\openfire\OpenfireMa nifestMojo.java

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin\openfire\PropertyUt ils.java

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin\openfire\Reflection Properties.java

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin\openfire\MappingUti ls.java

A maven-openfire-plugin\src\main\java\com\reucon\maven\plugin\openfire\OpenfireMo jo.java

A maven-openfire-plugin\src\main\resources

A maven-openfire-plugin\src\main\resources\META-INF

A maven-openfire-plugin\src\main\resources\META-INF\plexus

A maven-openfire-plugin\src\main\resources\META-INF\plexus\components.xml

A maven-openfire-plugin\src\site

A maven-openfire-plugin\src\site\site.xml

A maven-openfire-plugin\src\site\apt

A maven-openfire-plugin\src\site\apt\index.apt

A maven-openfire-plugin\pom.xml

Pobrano wersj? 997.

C:\test2\maven-openfire-plugin\maven-openfire-plugin>cd maven-openfire-plugin

C:\test2\maven-openfire-plugin\maven-openfire-plugin\maven-openfire-plugin>mv n clean install

Scanning for projects…

WAGON_VERSION: 1.0-beta-2


Building Maven Openfire Plugin

task-segment:


clean:clean

buildnumber:create {execution: default}

Storing buildNumber: null


FATAL ERROR


null


Trace

java.lang.NullPointerException

at java.util.Hashtable.put(Hashtable.java:396)

at org.codehaus.mojo.buildNumber.BuildNumberMojo.execute(BuildNumberMojo.java:316)

at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.j ava:443)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecyc leExecutor.java:539)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(De faultLifecycleExecutor.java:480)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycl eExecutor.java:459)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailure s(DefaultLifecycleExecutor.java:311)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(Default LifecycleExecutor.java:278)

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExe cutor.java:143)

at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)

at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)

at org.apache.maven.cli.MavenCli.main(MavenCli.java:280)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.ja va:25)

Any Ideas what is wrong ?

Regards

JohnS

I’ve removed the maven-buildnumber-plugin. does it work now?

Também com o mesmo problema e não funcionou… Será que não daria para o pessoal disponibilizar o plugin já em .jar para que possamos implementar ele no OpenFire?..