0

Complete newb to maven, sling and java in general so I apologize in advance. I've got maven up and running and am trying to get it running with apache sling. But when I try to start up sling using "mvn launchpad:run" I'm running into the following error:

[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]

Any help is greatly appreciated or if I could just get pointed in the right direction. Thanks!

Delmon Young
  • 2,013
  • 5
  • 39
  • 51

1 Answers1

0

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

<plugin>
   <groupId>org.apache.sling</groupId>
   <artifactId>maven-launchpad-plugin</artifactId>
   <version>2.2.0</version>
</plugin>
Lan
  • 6,470
  • 3
  • 26
  • 37
  • I'm really unfamiliar with the concepts of Sling but were exactly do you put the POM file? I'm familiar with creating one just don't know were to put it. – Delmon Young Mar 18 '13 at 19:13
  • pom.xml should be at the root directory of your project. You execute the mvn launchpad:run at the same directory. This is a concept about Maven rather than Sling. – Lan Mar 18 '13 at 19:52