My problem is that I have a multi module maven build where one part is generated by swagger as a spring boot application. The second module should extend on the code generated a
As stated here:
https://happilyblogging.wordpress.com/2017/07/31/using-spring-boot-application-as-dependency-in-another-spring-boot-application-project/
The problem is in the generated pom.xml.
If I add the configuration part to the project1-api spring-boot plugin part, it works.
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>repackage</goal>
</goals>
<configuration>
<classifier>exec</classifier>
</configuration>
</execution>
</executions>
</plugin>