简体   繁体   English

Maven和Apache Sling-未找到插件

[英]Maven and Apache Sling - No plugin found

Complete newb to maven, sling and java in general so I apologize in advance. 完成对Maven,Sling和Java的newb,所以我事先表示歉意。 I've got maven up and running and am trying to get it running with apache sling. 我已经启动并运行Maven,并尝试使用apache吊索使其运行。 But when I try to start up sling using "mvn launchpad:run" I'm running into the following error: 但是,当我尝试使用“ mvn launchpad:run”启动吊索时,遇到以下错误:

[ERROR] no plugin found for prefix 'launchpad' in the current project and in the plugin groups[org.apache.plugins, org.codehaus.mojo] available from the repositories [local (MYLOCALPATH), central (http://repo.maven.apache.org/maven2] [错误]在当前项目和插件组[org.apache.plugins,org.codehaus.mojo]中找不到前缀'launchpad'的插件,可从系统信息库[本地(MYLOCALPATH),中央(http:// repo .maven.apache.org / maven2]

Any help is greatly appreciated or if I could just get pointed in the right direction. 非常感谢您的任何帮助,或者如果我能将正确的方向指出来的话。 Thanks! 谢谢!

I am not an expert on Apache Sling, but based on the error message, it looks like you did not define the maven-launchpad-plugin in your pom.xml like below 我不是Apache Sling的专家,但是根据错误消息,您似乎没有在pom.xml中定义maven-launchpad-plugin,如下所示

<plugin>
   <groupId>org.apache.sling</groupId>
   <artifactId>maven-launchpad-plugin</artifactId>
   <version>2.2.0</version>
</plugin>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM