I'm deploying Mule 4 application in Mule standalone server 4.2 to start mule runtime(mule.bat)and command (mvn package deploy -DmuleDeploy
) from the project directory but I'm getting below mentioned error.
I have added my plugin from the pom.xml.
Where am I going wrong to deployment configure in pom.xml?
[ERROR] Failed to execute goal org.mule.tools.maven:mule-maven-plugin:3.2.7:deploy (default-deploy) on project test: Deployment configuration is not valid, : No deployment configuration was defined. Aborting. -> [Help 1]
<plugin>
<groupId>org.mule.tools.maven</groupId>
<artifactId>mule-maven-plugin</artifactId>
<version>3.2.7</version>
<configuration>
<developmentType>standalone</developmentType>
<muleHome>E:\IDFC\mule-enterprise-standalone-4.2.2</muleHome>
<muleVersion>4.2.2</muleVersion>
<target>E:\IDFC\mule-enterprise-standalone-4.2.2\apps</target>
<targetType>server</targetType>
</configuration>
</plugin>