Use snapshot for repositories instead of pluginRepositories
<name>liberty-maven-plugin</name>
<description>Liberty Maven Plugin : Install, Start/Stop, Package, Create Server, Deploy/Undeploy applications</description>
- <pluginRepositories>
+ <repositories>
<!-- Configure Sonatype OSS Maven snapshots repository -->
- <pluginRepository>
+ <repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<releases>
<enabled>false</enabled>
</releases>
- </pluginRepository>
- </pluginRepositories>
+ </repository>
+ </repositories>
<dependencies>
<dependency>
