'org.springframework.experimental:spring-aot-maven-plugin:jar:0.9.2 was not found
I added the dependency and plugins using this documentation- https://docs.spring.io/spring-native/docs/current/reference/htmlsingle/
I also tried-
mvn clean install
.But I keep getting this error-

Thanks for the help.
Solution 1:[1]
You have to add this repository . Because spring-aot-maven-plugin plugin available in this repository https://repo.spring.io/release
<repositories>
<repository>
<id>snapshots</id>
<name>Local Nexus</name>
<url>https://repo.spring.io/release</url>
</repository>
</repositories>
i have tried this plugin with above repository :
<groupId>org.springframework.experimental</groupId>
<artifactId>spring-aot-maven-plugin</artifactId>
<version>0.9.2</version>
and it is working fine..
Solution 2:[2]
Do u try to change the version to 0.9.2 ?
Solution 3:[3]
Adding to the answer from hdha, for plugins from different repositories, you can add pluginRepsoitories tag to mention the url to use for certain plugins.
<pluginRepositories>
<pluginRepository>
<id>snapshots</id>
<name>Local Nexus</name>
<url>https://repo.spring.io/release</url>
</pluginRepository>
</pluginRepositories>
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | |
| Solution 2 | lee yiyang |
| Solution 3 | Kaushik |
