diff --git a/src/main/groovy/io/repaint/maven/tiles/TilesMavenLifecycleParticipant.groovy b/src/main/groovy/io/repaint/maven/tiles/TilesMavenLifecycleParticipant.groovy index 1c1cc2b..6cb0a0a 100644 --- a/src/main/groovy/io/repaint/maven/tiles/TilesMavenLifecycleParticipant.groovy +++ b/src/main/groovy/io/repaint/maven/tiles/TilesMavenLifecycleParticipant.groovy @@ -371,7 +371,7 @@ class TilesMavenLifecycleParticipant extends AbstractMavenLifecycleParticipant { if (distributionManagement.snapshotRepository) { ArtifactRepository repo = new MavenArtifactRepository( - distributionManagement.repository.id, + distributionManagement.snapshotRepository.id, getSnapshotDistributionManagementRepositoryUrl(project), repositoryFactory.layout, getArtifactRepositoryPolicy(distributionManagement.snapshotRepository.snapshots),