Hi ,
I am trying to deploy my application on Payara (version 5 2022 3) Deployment group that I created, I found this nicely put article and followed the steps, but I am facing a difficulty, all is explained in those snapshots.
Cargo dependency that I have.
<!-- Deployment -->
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.8.4.payara-p1</version>
<dependencies>
<!-- provides JSR88 client API to deploy on Payara -->
<dependency>
<groupId>org.glassfish.main.deployment</groupId>
<artifactId>deployment-client</artifactId>
<version>5.0</version>
</dependency>
</dependencies>
</plugin>
Configuration for Cargo, DG1 is the name of my deployment group, I have nothing changed in my config, and left it as explained in the article mentioned above.
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<inherited>true</inherited>
<executions>
<execution>
<id>deploy</id>
<phase>integration-test</phase>
<goals>
<goal>redeploy</goal>
</goals>
</execution>
</executions>
<configuration>
<container>
<containerId>${integration.container.id}</containerId>
<type>installed</type>
<home>${glassfish.home}</home>
</container>
<configuration>
<type>existing</type>
<home>${glassfish.home}/glassfish/domains</home>
<properties>
<cargo.glassfish.admin.port>${glassfish.admin.port}</cargo.glassfish.admin.port>
<cargo.glassfish.domain.name>${glassfish.domain.name}</cargo.glassfish.domain.name>
<cargo.glassfish.target>DG1</cargo.glassfish.target>
<cargo.remote.username>admin</cargo.remote.username>
<cargo.remote.password>admin</cargo.remote.password>
</properties>
</configuration>
</configuration>
</plugin>
The error message
Did anyone face such issue?