<plugin>
<groupId>de.silpion.opencms.maven.plugins</groupId>
<artifactId>cmsshell-maven-plugin</artifactId>
<version>1.0</version>
<configuration>
<username>Admin</username>
<password>admin</password>
<webInfPath>/opt/apache-tomcat-8.5.3/webapps/opencms/WEB-INF/</webInfPath>
<!-- default parameter -->
<servletMapping>opencms</servletMapping>
<defaultWebappName>opencms</defaultWebappName>
<verbose>false</verbose>
</configuration>
</plugin>
<plugin>
[...]
<executions>
<execution>
<id>import</id>
<goals>
<goal>importResources</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<groupId>de.mnbn.opencms.content</groupId>
<artifactId>initial</artifactId>
<version>1.0.0</version>
<type>zip</type>
</artifact>
</artifacts>
<!-- oder lokale Dateien -->
<files>
<file>
<importFile>${project.xxx}/de.mnbn.opencms.content_0.1.zip</importFile>
</file>
</files>
<!-- default parameter -->
<publishAfter>true</publishAfter>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
[...]
<executions>
<execution>
<id>delete</id>
<goals>
<goal>deleteResource</goal>
</goals>
<configuration>
<resourceNames>
<resourceName>/sites/test</resourceName>
</resourceNames>
<!-- default parameter -->
<publishAfter>true</publishAfter>
</configuration>
</execution>
</executions>
</plugin>
analog importResources, aber ohne publishAfter