[
https://issues.apache.org/jira/browse/STORM-639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14324305#comment-14324305
]
Robert Joseph Evans commented on STORM-639:
-------------------------------------------
Perhaps the best long term solution is to separate the plugin out into a stand
alone plugin that is published/released separately from the rest of storm. We
could reach out to the maven community and see if they would be interested in
making the plugin official, but in the short term, we create a new version
number for the plugin, that is not the same as storm's and publish the artifact
to the maven repo on its own. We may also need to separate out the build for
the plugin from the rest of storm so it does not try to pull it in and get
confused.
> storm-maven-plugin not found
> ----------------------------
>
> Key: STORM-639
> URL: https://issues.apache.org/jira/browse/STORM-639
> Project: Apache Storm
> Issue Type: Bug
> Affects Versions: 0.10.0
> Reporter: Kai Sasaki
> Assignee: Kai Sasaki
> Priority: Minor
> Labels: maven, plugin
>
> storm-maven-plugin is required by storm-core, but it cannot be found.
> ```
> [ERROR] Error resolving version for plugin
> 'org.apache.storm:storm-maven-plugins' from the repositories [local
> (/Users/sasakikai/.m2/repository), central
> (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin
> repository -> [Help 1]
> org.apache.maven.plugin.version.PluginVersionResolutionException: Error
> resolving version for plugin 'org.apache.storm:storm-maven-plugins' from the
> repositories [local (/Users/sasakikai/.m2/repository), central
> (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin
> repository
> at
> org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.selectVersion(DefaultPluginVersionResolver.java:236)
> at
> org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.resolveFromRepository(DefaultPluginVersionResolver.java:148)
> at
> org.apache.maven.plugin.version.internal.DefaultPluginVersionResolver.resolve(DefaultPluginVersionResolver.java:96)
> at
> org.apache.maven.lifecycle.internal.LifecyclePluginResolver.resolveMissingPluginVersions(LifecyclePluginResolver.java:71)
> at
> org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:116)
> at
> org.apache.maven.lifecycle.internal.DefaultLifecycleExecutionPlanCalculator.calculateExecutionPlan(DefaultLifecycleExecutionPlanCalculator.java:135)
> at
> org.apache.maven.lifecycle.internal.builder.BuilderCommon.resolveBuildPlan(BuilderCommon.java:97)
> at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:109)
> 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:120)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> 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)
> [ERROR]
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> ```
> This plugin should be installed in local repository before compile storm-core.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)