"No deployables found" error during resolve goal execution for spring-boot-thin-maven-plugin
See original GitHub issueI am getting following error while executing resolve goal.
[ERROR] Failed to execute goal org.springframework.boot.experimental:spring-boot-thin-maven-plugin:1.0.19.RELEASE:resolve (default-cli) on project candid-platform: No deployables found. If your only deployable is the current project jar, you need to run 'mvn package' at the same time.
Corresponding pom.xml snippet:
<plugin>
<groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-thin-maven-plugin</artifactId>
<version>${thin.layout.version}</version>
<dependencies>
<dependency>
<groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-thin-maven-plugin</artifactId>
<version>${thin.layout.version}</version>
</dependency>
</dependencies>
<executions>
<execution>
<id>generate-app-dependencies</id>
<goals>
<goal>resolve</goal>
</goals>
<phase>verify</phase>
<configuration>
<outputDirectory>${microservices-output-artifacts}/thin/root</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
Running with mvn -X showed the following.
Caused by: org.apache.maven.plugin.MojoExecutionException: No deployables found. If your only deployable is the current project jar, you need to run 'mvn package' at the same time.
at org.springframework.boot.experimental.maven.ResolveMojo.execute (ResolveMojo.java:111)
As per ResolveMojo, that happens whenever deployables is empty. But the fact as above pom.xml snippet does have dependencies defined. Can you throw some light on what scenarios can lead “No deployables found” error. It sounds like a misnomer. But may be I am missing something.
Issue Analytics
- State:
- Created 5 years ago
- Comments:31
Top Results From Across the Web
Exception in thread "main" java.lang.ClassNotFoundException ...
I make a new simple springboot project and package using spring-boot-thin-launcher, but get error . The project only contains one simple ...
Read more >spring-projects/spring-boot - Gitter
[ERROR] Failed to execute goal org.springframework.boot.experimental:spring-boot-thin-maven-plugin:1.0.9.RELEASE:resolve (resolve-app-dependencies) on ...
Read more >Failed to execute goal org.codehaus.mojo:exec-maven-plugin ...
Hey Pith, I tried deleting the duplicate entries for < groupId>org.codehaus.mojo</groupId> its still failing with same error: – Shrikant Pagar.
Read more >How to fix failed to execute goal on project - YouTube
failed to execute goal on project eclipsemvn clean install failed to execute goal on projectfailed to execute goal on project could not ...
Read more >How to resolve this ? [ERROR] Failed to execute g... - 129446
[ERROR] Failed to execute goal on project storm-kafka: Could not resolve ... Could not find artifact org.apache.kafka:kafka_2.10:jar:0.8 in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
cook up a demo project at github would help to analyze it
Sure. Thanks