I try to add spring boot project(A) to spring boot project(B) as dependency it's added but I can't auto wire
in project(A) I added below plugin and in project(B) I added project(A) as dependency in pom(B)
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<executions>
<execution>
<id>build information</id>
<goals>
<goal>build-info</goal>
</goals>
</execution>
<execution>
<id>repackage</id>
<configuration>
<classifier>exec</classifier>
</configuration>
</execution>
</executions>
</plugin>