Hi

Actually I found the solution to my problem in the one of the commits 
(https://github.com/OpenNMS/opennms/commit/bfed6c51052a9123789ad4fe2328b604e77bac9a)


Thank you

Gurman Grewal


________________________________
From: Gurman Grewal
Sent: Wednesday, July 13, 2016 2:56:55 PM
To: opennms-devel@lists.sourceforge.net
Subject: ./compile.pl fails


Hi All

On Debian using ONMS-18, when I try to perform ./compile.pl, I get this error:

[ERROR] Failed to execute goal 
org.codehaus.mojo:keytool-maven-plugin:1.5:generateKeyPair (default) on project 
jasper-extensions: Failed executing '/bin/sh -c cd 
/opt/onms/integrations/opennms-jasper-extensions/target && 
/usr/lib/jvm/java-8-oracle/jre/../bin/keytool -genkeypair -keystore 
/opt/onms/integrations/opennms-jasper-extensions/target/test-keystore.jks 
-storepass '*****' -alias localhost -dname 'CN=localhost, OU=Measurement API 
Wire Mock, O=The OpenNMS Group, C=US' -validity 2 -keysize 2048' - exitcode 1 
-> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.codehaus.mojo:keytool-maven-plugin:1.5:generateKeyPair (default) on project 
jasper-extensions: Failed executing '/bin/sh -c cd 
/opt/onms/integrations/opennms-jasper-extensions/target && 
/usr/lib/jvm/java-8-oracle/jre/../bin/keytool -genkeypair -keystore 
/opt/onms/integrations/opennms-jasper-extensions/target/test-keystore.jks 
-storepass '*****' -alias localhost -dname 'CN=localhost, OU=Measurement API 
Wire Mock, O=The OpenNMS Group, C=US' -validity 2 -keysize 2048' - exitcode 1
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
    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:116)
    at 
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at 
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at 
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    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.MojoExecutionException: Failed executing 
'/bin/sh -c cd /opt/onms/integrations/opennms-jasper-extensions/target && 
/usr/lib/jvm/java-8-oracle/jre/../bin/keytool -genkeypair -keystore 
/opt/onms/integrations/opennms-jasper-extensions/target/test-keystore.jks 
-storepass '*****' -alias localhost -dname 'CN=localhost, OU=Measurement API 
Wire Mock, O=The OpenNMS Group, C=US' -validity 2 -keysize 2048' - exitcode 1
    at 
org.codehaus.mojo.keytool.AbstractKeyToolRequestMojo.consumeResult(AbstractKeyToolRequestMojo.java:196)
    at 
org.codehaus.mojo.keytool.AbstractKeyToolRequestMojo.execute(AbstractKeyToolRequestMojo.java:130)
    at 
org.codehaus.mojo.keytool.GenerateKeyPairMojo.execute(GenerateKeyPairMojo.java:160)
    at 
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
    at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
    ... 20 more

Can anyone advice a solution?



Thank you
Gurman Grewal
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to