Package build: mvn clean install -PautoInstallPackage -PautoInstallPackagePublish.Installing the package and bundle in AEM Author and Publish: Mvn clean install -PbuildSinglePackage -PautoInstallSinglePackage To build and install single package on an AEM instance: Mvn clean install -PautoInstallPackage -padobe-public Bundle build: mvn clean install -PautoInstallBundle -DskipTests. ![]() ![]() Package build: mvn clean install -PautoInstallPackage -DskipTests.Skipping the unit tests written in java code during build: Mvn clean install -PautoInstallPackage -drelease.version=1.0.0 Installing only bundle into AEM instance:Īdding the release version for your package via maven command: Installing package (including bundle) into AEM instance: We need to use specific Maven plug-ins to achieve that. They usually does not install your code in AEM. Generic maven commands are part of Maven life cycle. In this blog we will see various useful maven commands.Ĭleaning and installing the code to a local repository: ![]() ![]() In AEM maven is used to clean, build and install the code into different AEM instances. To run all the below mentioned commands, you need to have maven installed in your system (Pre-requisite □ ). All the maven commands are supposed to be run in the command prompt (of course □) What is Maven: Maven is an automation tool used to build and deploy the code for java applications.
0 Comments
Leave a Reply. |