[
https://issues.apache.org/jira/browse/FALCON-1946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15280276#comment-15280276
]
Balu Vellanki commented on FALCON-1946:
---------------------------------------
[~Praveen] : We see this warning thrown during build
{code}
[WARNING] Some problems were encountered while building the effective model for
org.apache.falcon:falcon-prism:war:0.10-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:keytool-maven-plugin is missing. @
org.apache.falcon:falcon-prism:[unknown-version],
/Users/bvellanki/SourceCode/apache-falcon/falcon/prism/pom.xml, line 182,
column 21
[WARNING]
{code}
The keytool-maven-plugin expects a version, I used 1.3 and the build went
through without any failure. I just re-ran the build and it went through
successfully in my environment. Upon further debugging and searching on
internet I found out that it fails when using JDK1.8 but succeeds with JDK1.7.
> Compile time error in build
> ---------------------------
>
> Key: FALCON-1946
> URL: https://issues.apache.org/jira/browse/FALCON-1946
> Project: Falcon
> Issue Type: Bug
> Reporter: Praveen Adlakha
>
> Hi All,
> Currently build is failing in local with the pom changes of prism that went
> in FALCON-1940.
> [~bvellanki] Can you look into this any specific reason we added version 1.3
> for keytool.maven.plugin ?
> {code}
> [ERROR] Failed to execute goal
> org.codehaus.mojo:keytool-maven-plugin:1.3:generateKeyPair (server) on
> project falcon-prism: Execution server of goal
> org.codehaus.mojo:keytool-maven-plugin:1.3:generateKeyPair failed: Unable to
> load the mojo 'generateKeyPair' (or one of its required components) from the
> plugin 'org.codehaus.mojo:keytool-maven-plugin:1.3':
> com.google.inject.ProvisionException: Unable to provision, see the following
> errors:
> [ERROR]
> [ERROR] 1) No implementation for
> org.codehaus.mojo.keytool.KeyToolCommandLineBuilder was bound.
> [ERROR] while locating org.codehaus.mojo.keytool.DefaultKeyTool
> [ERROR] at ClassRealm[plugin>org.codehaus.mojo:keytool-maven-plugin:1.3,
> parent: sun.misc.Launcher$AppClassLoader@5c647e05] (via modules:
> org.eclipse.sisu.wire.WireModule ->
> org.eclipse.sisu.plexus.PlexusBindingModule)
> [ERROR] at ClassRealm[plugin>org.codehaus.mojo:keytool-maven-plugin:1.3,
> parent: sun.misc.Launcher$AppClassLoader@5c647e05] (via modules:
> org.eclipse.sisu.wire.WireModule ->
> org.eclipse.sisu.plexus.PlexusBindingModule)
> [ERROR] while locating org.codehaus.mojo.keytool.KeyTool
> [ERROR] while locating org.codehaus.mojo.keytool.GenerateKeyPairMojo
> [ERROR] at ClassRealm[plugin>org.codehaus.mojo:keytool-maven-plugin:1.3,
> parent: sun.misc.Launcher$AppClassLoader@5c647e05] (via modules:
> org.eclipse.sisu.wire.WireModule ->
> org.eclipse.sisu.plexus.PlexusBindingModule)
> [ERROR] while locating org.apache.maven.plugin.Mojo annotated with
> @com.google.inject.name.Named(value=org.codehaus.mojo:keytool-maven-plugin:1.3:generateKeyPair)
> [ERROR]
> [ERROR] 1 error
> [ERROR] role: org.apache.maven.plugin.Mojo
> [ERROR] roleHint: org.codehaus.mojo:keytool-maven-plugin:1.3:generateKeyPair
> [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
> [ERROR]
> [ERROR] After correcting the problems, you can resume the build with the
> command
> [ERROR] mvn <goals> -rf :falcon-prism
> {code}
> Thanks
> Praveen
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)