AnsweredAssumed Answered

Unable to build a plugin

Question asked by sacsaini on Sep 3, 2015
Latest reply on Sep 9, 2015 by BrianBezanson

Hi

 

I've been trying to build adobe-forums locally (for dev purpose) but it fails with the following error:

*************************************************************************************************************

[WARNING] Could not transfer metadata com.jivesoftware.maven:jive-parent-pom/maven-metadata.xml from/to jive.internal (https://maven-secure.jivesoftware.com/archiva/repository/jive.internal): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

[WARNING] Could not transfer metadata com.jivesoftware.maven:jive-parent-pom/maven-metadata.xml from/to jive.snapshots (https://maven-secure.jivesoftware.com/archiva/repository/jive.snapshots): Connect to maven-secure.jivesoftware.com:443 [maven-secure.jivesoftware.com/204.93.66.110] failed: Connection timed out: connect

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

[INFO] Reactor Summary:

[INFO]

[INFO] adobe ............................................. FAILURE [ 25.140 s]

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

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

[INFO] merge-user-plugin ................................. SKIPPED

[INFO] machine-translation ............................... SKIPPED

[INFO] place-cleanup ..................................... SKIPPED

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

[INFO] BUILD FAILURE

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

[INFO] Total time: 26.135 s

[INFO] Finished at: 2015-09-03T17:35:35+00:00

[INFO] Final Memory: 13M/61M

[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 adobe: Execution check-parent-pom-version of goal com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2:check-parent-pom-version failed. NullPointerException -> [Help 1]

org.apache.maven.lifecycle.LifecycleExecutionException: 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 adobe: Execution check-parent-pom-version of goal com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2:check-parent-pom-version failed.

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:108)

        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:76)

        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)

        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:116)

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

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

        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)

        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:213)

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

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

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

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)

        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)

        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)

        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)

Caused by: org.apache.maven.plugin.PluginExecutionException: Execution check-parent-pom-version of goal com.jivesoftware.maven.plugins:jive-parent-pom-version-check-plugin:1.2:check-parent-pom-version failed.

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:144)

        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

        ... 19 more

Caused by: java.lang.NullPointerException

        at com.jivesoftware.maven.plugins.versions.VersionHelper.findLatestArtifactRevision(VersionHelper.java:43)

        at com.jivesoftware.maven.plugins.mojos.CheckParentPomVersionMojo.findLatestVersion(CheckParentPomVersionMojo.java:88)

        at com.jivesoftware.maven.plugins.mojos.CheckParentPomVersionMojo.execute(CheckParentPomVersionMojo.java:60)

        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:133)

        ... 20 more

**********************************************************************************

I'm using Maven 3.2.1 and JDK 1.7.0.

 

Can you please help in this?

 

-Sachin

Outcomes