Expand my Community achievements bar.

SOLVED

AEM Project Build issue for ui-frontend module "exec-maven-plugin" for internal repository

Avatar

Level 5

Hi Team

 

Currently we working on Government project where w are not allowed to use public repositories (only private & internal repository ).

 

when we build AEM Project locally not able to build the ui-frontend module (other module able build)

 

Question , Kindly help about "exec-maven-plugin" what is this plugin all about  & usage and how to download this to add into private & internal repository 

 

Here is my root pom.xml entry of "exec-maven-plugin"

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.6.0</version>
<executions>
<execution>
<id>docker-build</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>docker</executable>
<workingDirectory>.</workingDirectory>
<arguments>
<argument>build</argument>
<argument>-t</argument>
<argument>${project.groupId}-${project.artifactId}/ui.tests:${project.version}</argument>
<argument>.</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>docker-tag</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>docker</executable>
<workingDirectory>.</workingDirectory>
<arguments>
<argument>tag</argument>
<argument>${project.groupId}-${project.artifactId}/ui.tests:${project.version}</argument>
<argument>${project.groupId}-${project.artifactId}/ui.tests:latest</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>

 

varaande_2-1712586423881.png

Regards

Vara

 

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee
1 Reply

Avatar

Correct answer by
Employee