Tomcat Maven plugin and IntelliJ IDEA issues

Tomcat Maven plugin helps to deploy WAR packages to Tomcat servlet container without manually downloading and installing it on your machine. It works without any issues for the maven "clean tomcat7:run" command from the terminal. But for some reason, IntelliJ IDEA doesn’t recognize the plugins…

Install 3rd party jar file in maven repository

Example: mvn install:install-file -Dfile=/Users/shamalroy/Dev/source/git_source/dependencies/my-jar-6.1.0-apis.jar -DgroupId=com.my.jar -DartifactId=my-jar -Dversion=6.1.0 -Dpackaging=jar Reference: https://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html…

AEM - Using PageFilter to filter children of a page

getPageFilter() method public static PageFilter getPageFilter (final String filterTemplatePath, final String filterValue) { PageFilter pageFilter = new PageFilter() { public boolean includes(Page p) { ValueMap props = p.getProperties(); String templatePath = props.get("cq:template", String.class); String customPropertyName = props.get("customPropertyName", String.class); return (filterTemplatePath.equals(templatePath) && customPropertyName.equalsIgnoreCase(filterValue)) ? true…

AEM - How to disable/enable workflow launcher bundle

If you need to disable the AEM workflow launchers and then enable them again after your whatever work is complete, here are the steps. Disable Open the AEM system console component page, http://localhost:4502/system/console/components Then look for the items bellow and click the stop/disable button…