Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

jspc and libs/foundation

$
0
0

Hello.

 

I'm trying to follow the steps in [1], "How-To Build AEM Projects using Apache Maven".

 

Now, I'm following the step "Syncing Paths Without Adding Them to the Package", in "HOW-TO ADD PATHS TO THE CONTENT MODULE" section.

 

When I add the line captura.png to filter-vlt.xml, and update via vlt, I found this error message when I build de project:

 

[ERROR] Failed to execute goal org.apache.sling:maven-jspc-plugin:2.0.6:jspc (compile-jsp) on project myproject-content:

file:C:/TMP/testCQ5mavenProjects/myproject/content/src/main/content/jcr_root/libs/foundati on/components/video/flash.jsp

(88,2) No se puede cargar la clase com.adobe.granite.ui.tags.IncludeClientLibraryTag -> [Help 1]

 

So, I think there're two options:

  • Solve the issue with the com.adobe.granite.ui.tags.IncludeClientLibraryTag class. (no idea for now...)
  • Exclude the libs/foundation folder in the jspc module (in myproject-content/pom.xml, modify the line "<sourceDirectory>src/main/content/jcr_root</sourceDirectory>" to include only apps folder). I don't know if this option has other bad consequences...

 

Could you give me some advise about which is the best approach?

 

[1] http://dev.day.com/docs/en/cq/aem-how-tos/development/how-to-build-aem-projects-using-apac he-maven.html


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>