I have a application running in WebSphere liberty. Through mvn install command I need to deploy my application to liberty apps directory as I am not using dropins directory.
Bellow is the working maven plugin code from which I can deploy to dropins directory.
<plugin>
<groupId>net.wasdev.wlp.maven.plugins</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<id>start-server</id>
<phase>pre-integration-test</phase>
<goals>
<goal>start-server</goal>
</goals>
<configuration>
<verifyTimeout>60</verifyTimeout>
</configuration>
</execution>
<execution>
<id>deploy</id>
<phase>install</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<serverHome>${wlp.dir}</serverHome>
<serverName>${server}</serverName>
<appArtifact>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<type>${project.packaging}</type>
</appArtifact>
<appDeployName>${project.artifactId}.${project.packaging}</appDeployName>
</configuration>
</plugin>
I couldn't find anywhere what configuration need to be added/change to deploy application directly to apps directory. Can someone please let me know what is missing here?