Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

CQ-S7DAM-VIDEO-CORE-1.0.JAR Dependency

Avatar

Level 4

I'm trying to follow the instructions below running AEM6.1 locally on OSX.

https://docs.adobe.com/docs/en/aem/6-1/administer/content/assets/video-transcoder.html

I'm getting an error running 

mvn clean install sling:install

It gives the following output.

[INFO] Reactor Summary:

[INFO] 

[INFO] S7 Video Application .............................. SKIPPED

[INFO] S7Video Parent Project ............................ SKIPPED

[INFO] S7Video Application package ....................... SKIPPED

[INFO] S7Video Core Bundle ............................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 3.709s

[INFO] Finished at: Tue Dec 22 10:47:51 EST 2015

[INFO] Final Memory: 13M/245M

[INFO] ------------------------------------------------------------------------

[ERROR] No plugin found for prefix 'sling' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/cmrockwe/.m2/repository), adobe-plugins (http://repo.adobe.com/nexus/content/groups/public/), cqblueprints.plugins.releases (http://dev.cqblueprints.com/nexus/content/repositories/releases/), central (http://repo.maven.apache.org/maven2)] -> [Help 1]

 

And if I run just  mvn clean install it gives the following dependency error.

[INFO] S7 Video Application .............................. SUCCESS [0.125s]
[INFO] S7Video Parent Project ............................ SUCCESS [0.004s]
[INFO] S7Video Application package ....................... FAILURE [8.388s]
[INFO] S7Video Core Bundle ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.573s
[INFO] Finished at: Tue Dec 22 10:26:21 EST 2015
[INFO] Final Memory: 12M/245M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project app: Could not resolve dependencies for project com.day.cq.s7video:app:content-package:1.0: Could not find artifact com.day.cq.s7video:core:jar:1.0 in adobe (http://repo.adobe.com/nexus/content/groups/public/) -> [Help 1] 
1 Accepted Solution

Avatar

Correct answer by
Level 4

Thank you very much for the reply. That's interesting, because the parent POM does include maven-sling-plugin in the plugin section (as v2.1.0), but in your example it appears to be a dependency as well?  

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

It turns out that in I just needed to install FFMPEG, and after doing so the DAM WF is processing the video as desired.

View solution in original post

2 Replies

Avatar

Administrator

Hi 

Based on the error message, it looks like you did not define the maven-sling-plugin in your pom.xml 

//<dependency>
    <groupId>org.apache.sling</groupId>
    <artifactId>maven-sling-plugin</artifactId>
    <version>2.1.6</version>
</dependency>

Link:- http://sling.apache.org/site/sling.html

Link:- http://mvnrepository.com/artifact/org.apache.sling/maven-sling-plugin

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

Avatar

Correct answer by
Level 4

Thank you very much for the reply. That's interesting, because the parent POM does include maven-sling-plugin in the plugin section (as v2.1.0), but in your example it appears to be a dependency as well?  

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

It turns out that in I just needed to install FFMPEG, and after doing so the DAM WF is processing the video as desired.