AnsweredAssumed Answered

Creating plugin failed

Question asked by mark242 on Jun 19, 2015
Latest reply on Jul 13, 2015 by Ryan King

I'm following the steps from How To: Create a Custom Jive Project and the process chokes under "New plugin setup".

 

Here's the debug output.  Help?

 

 

 

markbe:hello markbe$ mvn -U jive:create-plugin

[INFO] Scanning for projects...

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Build Order:

[INFO]

[INFO] hello

[INFO] weboverlay

[INFO] themes

Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/org/apache/maven/plugins/maven-metadata.xml

Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots/com/jivesoftware/maven/plugins/maven-metadata.xml

Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/com/jivesoftware/maven/plugins/maven-metadata.xml

Downloading: http://repo.maven.apache.org/maven2/com/jivesoftware/maven/plugins/maven-metadata.xml

Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots/org/apache/maven/plugins/maven-metadata.xml

Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/org/codehaus/mojo/maven-metadata.xml

Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml

Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (13 KB at 352.2 KB/sec)

Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots/org/codehaus/mojo/maven-metadata.xml

Downloaded: https://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots/org/codehaus/mojo/maven-metadata.xml (14 KB at 83.3 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 KB at 660.1 KB/sec)

Downloaded: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/org/apache/maven/plugins/maven-metadata.xml (10 KB at 9.7 KB/sec)

Downloaded: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/com/jivesoftware/maven/plugins/maven-metadata.xml (3 KB at 2.1 KB/sec)

Downloaded: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/org/codehaus/mojo/maven-metadata.xml (23 KB at 49.8 KB/sec)

Downloading: http://repo.maven.apache.org/maven2/com/jivesoftware/maven/plugins/jive-project-plugin/maven-metadata.xml

Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots/com/jivesoftware/maven/plugins/jive-project-plugin/maven-metadata.xml

Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/com/jivesoftware/maven/plugins/jive-project-plugin/maven-metadata.xml

Downloaded: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/com/jivesoftware/maven/plugins/jive-project-plugin/maven-metadata.xml (837 B at 1.9 KB/sec)

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building hello 7.0.1.0-0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- jive-project-plugin:3.0.3:create-plugin (default-cli) @ hello ---

What is your project's artifact id?: timeplugin

Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots/com/jivesoftware/maven/jive-parent-pom/maven-metadata.xml

Downloading: http://repo.maven.apache.org/maven2/com/jivesoftware/maven/jive-parent-pom/maven-metadata.xml

Downloading: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/com/jivesoftware/maven/jive-parent-pom/maven-metadata.xml

Downloaded: https://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots/com/jivesoftware/maven/jive-parent-pom/maven-metadata.xml (386 B at 2.4 KB/sec)

Downloaded: https://maven-secure.jivesoftware.com/archiva/repository/jive.internal/com/jivesoftware/maven/jive-parent-pom/maven-metadata.xml (4 KB at 8.0 KB/sec)

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] hello .............................................. FAILURE [ 11.880 s]

[INFO] weboverlay ......................................... SKIPPED

[INFO] themes ............................................. SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 14.850 s

[INFO] Finished at: 2015-06-19T11:45:45-07:00

[INFO] Final Memory: 17M/41M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal com.jivesoftware.maven.plugins:jive-project-plugin:3.0.3:create-plugin (default-cli) on project hello: Execution default-cli of goal com.jivesoftware.maven.plugins:jive-project-plugin:3.0.3:create-plugin failed. NullPointerException -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

 

Message was edited by: Mark Beeson Edit: attaching my maven settings.xml.

Attachments

Outcomes