Netcentric / accesscontroltool

Rights and roles management for AEM made easy
Eclipse Public License 1.0
150 stars 92 forks source link

Hook's main class not found #685

Open stiegjo opened 8 months ago

stiegjo commented 8 months ago

We're trying to implement AC tool on our AEM authors and have added the plugin to our parent pom. It works fine on the AEM author but we get the following error message when we try to install other apps on the publisher which doesn't have Netcentric AC tool installed:

Error: hook's main class biz.netcentric.cq.tools.actool.installhook.AcToolInstallHook not found: actool

Here's the plugin in the pom.xml. Is there a way to only have it install on the AEM author?

   <!-- Netcentric -->
        <plugin>
            <groupId>org.apache.jackrabbit</groupId>
            <artifactId>filevault-package-maven-plugin</artifactId>
            <configuration>
                <properties>
                    <installhook.actool.class>biz.netcentric.cq.tools.actool.installhook.AcToolInstallHook</installhook.actool.class>
                </properties>
            </configuration>
        </plugin>