Hi Marko
It looks like you are progressing nicely with the Codehaus Cargo Maven 3 plugin.
As explained in the Maven 3 Plugin Reference Guide, the default container that the Maven 3 plugin uses when you don't specify any is a Jetty 8.x installed local container. Unfortunately, Jetty can only handle WARs and hence your seeing of that message.
In order to deploy to Payara, you need to specify it in the Codehaus Cargo Maven 3 configuration. Example (I highlighted in blue the crucial parts):
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven3-plugin</artifactId>
<version>1.9.3</version>
<configuration>
<container>
<containerId>payara</containerId>
<artifactInstaller>
<groupId>fish.payara.distributions</groupId>
<artifactId>payara</artifactId>
<version>5.2021.1</version>
</artifactInstaller>
</container>
<configuration>
<home>${project.build.directory}/payara-home</home>
<properties>
<cargo.hostname>tokmen-nas</cargo.hostname>
<cargo.servlet.port>8080</cargo.servlet.port>
<cargo.glassfish.admin.port>4848</cargo.glassfish.admin.port>
</properties>
</configuration>
<deployables>
<deployable>
<groupId>org.codehaus.cargo</groupId>
<artifactId>simple-ear</artifactId>
<type>ear</type>
</deployable>
</deployables>
</configuration>
</plugin>
Regards
S. Ali Tokmen http://ali.tokmen.com/ http://contact.ali.tokmen.com/
--
You received this message because you are subscribed to the Google Groups "Codehaus Cargo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to codehaus-carg...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/7b7a006e-7e5c-4399-8b36-8771995fb6f1n%40googlegroups.com.
Hi Marko
Would you mind sharing the full build log and the pom.xml file? I am suspecting, there is a problem with the lifecycle assignment.
As for the remote deployment: indeed, Codehaus Cargo can also only remote-deploy packaged deployables, and not the exploded versions...
Regards
S. Ali Tokmen http://ali.tokmen.com/ http://contact.ali.tokmen.com/
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/970bddce-7e77-4846-8253-d6fbc02c8293n%40googlegroups.com.
Hi Marko
Thanks - Unfortunately, the partial build file and logs are very mysterious...
Would you be able of sharing more please?
Regards
S. Ali Tokmen http://ali.tokmen.com/ http://contact.ali.tokmen.com/
To view this discussion on the web visit https://groups.google.com/d/msgid/codehaus-cargo/4cf13755-dcca-4f4e-a9e6-c432ecc7ca05n%40googlegroups.com.