Add all layers.
This commit is contained in:
@@ -21,6 +21,18 @@
|
||||
<groupId>org.sportshub</groupId>
|
||||
<artifactId>sportshub-exposition</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.sportshub</groupId>
|
||||
<artifactId>sportshub-application</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.sportshub</groupId>
|
||||
<artifactId>sportshub-domain</artifactId>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.sportshub</groupId>
|
||||
<artifactId>sportshub-infrastructure</artifactId>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -5,7 +5,12 @@ import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
|
||||
@SpringBootApplication
|
||||
@ComponentScan(basePackages = "org.sportshub.exposition")
|
||||
@ComponentScan(basePackages = {
|
||||
"org.sportshub.exposition",
|
||||
"org.sportshub.application",
|
||||
"org.sportshub.domain",
|
||||
"org.sportshub.infrastructure"
|
||||
})
|
||||
public class ApplicationLauncher {
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(ApplicationLauncher.class, args);
|
||||
|
||||
Reference in New Issue
Block a user