Я вижу, что поддерживает GlassFish v3, но онлайн-примеры разрежены. Я по-прежнему получаю ту же ошибку обратно от груза: не удается найти GlassFish CLI администратора JAR: админ-cli.jarGlassFish v3 load-maven2-plugin
Вот мой ПОМ
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.0.3</version>
<configuration>
<container>
<containerId>glassfish3x</containerId>
<type>installed</type>
</container>
<configuration>
<type>standalone</type>
<home>C:\glassfishv3</home>
<properties>
<cargo.hostname>localhost</cargo.hostname>
<cargo.servlet.port>8082</cargo.servlet.port>
<cargo.remote.username></cargo.remote.username>
<cargo.remote.password></cargo.remote.password>
</properties>
</configuration>
<deployer>
<type>installed</type>
<deployables>
<deployable>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<type>war</type>
</deployable>
</deployables>
</deployer>
</configuration>
</plugin>
исправлен Pom:
<plugin>
<groupId>org.codehaus.cargo</groupId>
<artifactId>cargo-maven2-plugin</artifactId>
<version>1.0.3</version>
<configuration>
<container>
<containerId>glassfish3x</containerId>
<type>installed</type>
<home>C:\glassfishv3</home>
</container>
<configuration>
<type>standalone</type>
<properties>
<cargo.hostname>localhost</cargo.hostname>
<cargo.servlet.port>8082</cargo.servlet.port>
<!-- if no username/password don't use these, it will fail
<cargo.remote.username></cargo.remote.username>
<cargo.remote.password></cargo.remote.password> -->
</properties>
</configuration>
<deployer>
<type>installed</type>
<deployables>
<deployable>
<groupId>${groupId}</groupId>
<artifactId>${artifactId}</artifactId>
<type>war</type>
</deployable>
</deployables>
</deployer>
</configuration>
</plugin>
Да модуль существует в glassfishv3/glassfish/modules. Мне интересно, смотрит ли груз на для правильной информации сервера приложений –
Drew
@Drew, см. Мое редактирование. Конфигурация этого плагина действительно странная ... – romaintaz
Так было, честно говоря, я прочитал эту ссылку, прежде чем читать ваш ответ, и документы все еще не делались с тех пор. Им нужно получить гораздо лучшие документы. Я задавался вопросом, почему мой профиль tomcat работал нормально, пока я не понял, что он даже не использует файловую систему, которую он размещает в URL-адресе менеджера. Спасибо огромное! – Drew