AnsweredAssumed Answered

Unable to build a plugin

Question asked by chetanmahendru on Jan 28, 2015
Latest reply on Mar 28, 2015 by gopi.gorantala

I have attached the POM.xml that got generated for the plugin. These are the steps that I did:

  1. Create a local Jive instance 7.0.1.0(few months back)
  2. Created a Jive plugin(yesterday)
  3. Build the Plugin using the command mvn clean package
  4. Imported the Maven Project into the Eclipse IDE
  5. Ran the Maven clean command on the Pom.xml
  6. Ran the Maven build on the pom with the following goal clean package and then got the below error

 

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".

SLF4J: Defaulting to no-operation (NOP) logger implementation

SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

[INFO] Scanning for projects...

[INFO] 

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

[INFO] Building badgevillewidget 1.0-d1-SNAPSHOT

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

[WARNING] The POM for com.jivesoftware:kahadb:jar:5.3.2-5.0.0.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details

[INFO]

[INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ badgevillewidget ---

[INFO] Deleting /Users/cmahendr/Documents/code/upgrade/badgevillewidget/target

[INFO]

[INFO] --- jive-parent-pom-version-check-plugin:1.2:check-parent-pom-version (check-parent-pom-version) @ badgevillewidget ---

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

[INFO] BUILD FAILURE

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

[INFO] Total time: 4.985s

[INFO] Finished at: Wed Jan 28 11:51:08 CST 2015

[INFO] Final Memory: 21M/361M

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

[ERROR] Failed to execute goal com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2:check-parent-pom-version (check-parent-pom-version) on project badgevillewidget: Execution check-parent-pom-version of goal com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2:check-parent-pom-version failed: Unable to load the mojo 'check-parent-pom-version' (or one of its required components) from the plugin 'com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2': com.google.inject.ProvisionException: Guice provision errors:

[ERROR]

[ERROR] 1) No implementation for org.eclipse.aether.impl.VersionResolver was bound.

[ERROR] while locating org.eclipse.aether.internal.impl.DefaultRepositorySystem

[ERROR] at ClassRealm[plugin>com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2, parent: sun.misc.Launcher$AppClassLoader@6471d768]

[ERROR] at ClassRealm[plugin>com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2, parent: sun.misc.Launcher$AppClassLoader@6471d768]

[ERROR] while locating org.eclipse.aether.RepositorySystem

[ERROR] while locating com.jivesoftware.maven.plugins.mojos.CheckParentPomVersionMojo

[ERROR] at ClassRealm[plugin>com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2, parent: sun.misc.Launcher$AppClassLoader@6471d768]

[ERROR] while locating org.apache.maven.plugin.Mojo annotated with @com.google.inject.name.Named(value=com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2:check-parent-pom-version)

[ERROR]

[ERROR] 1 error

[ERROR] role: org.apache.maven.plugin.Mojo

[ERROR] roleHint: com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2:check-parent-pom-version

[ERROR] -> [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/PluginContainerException


Tagging Ryan King

Attachments

Outcomes