This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch v2 in repository https://gitbox.apache.org/repos/asf/causeway-app-petclinic.git
commit bb64ea12cefd41873482e5647d918d9ca21f3c13 Author: Dan Haywood <[email protected]> AuthorDate: Tue May 21 07:14:00 2024 +0100 references petowner module in the ApplicatoinModule --- webapp/pom.xml | 5 +++++ .../main/java/domainapp/webapp/application/ApplicationModule.java | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/webapp/pom.xml b/webapp/pom.xml index fba2c37..d23ff9f 100644 --- a/webapp/pom.xml +++ b/webapp/pom.xml @@ -84,6 +84,11 @@ <dependencies> + <dependency> + <groupId>${project.groupId}</groupId> + <artifactId>simpleapp-jpa-module-petowner</artifactId> + </dependency> + <dependency> <groupId>${project.groupId}</groupId> <artifactId>simpleapp-jpa-module-simple</artifactId> diff --git a/webapp/src/main/java/domainapp/webapp/application/ApplicationModule.java b/webapp/src/main/java/domainapp/webapp/application/ApplicationModule.java index 540c2e4..1df42f2 100644 --- a/webapp/src/main/java/domainapp/webapp/application/ApplicationModule.java +++ b/webapp/src/main/java/domainapp/webapp/application/ApplicationModule.java @@ -4,10 +4,14 @@ import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; +import domainapp.modules.petowner.PetOwnerModule; import domainapp.modules.simple.SimpleModule; @Configuration -@Import(SimpleModule.class) +@Import({ + PetOwnerModule.class, + SimpleModule.class, +}) @ComponentScan public class ApplicationModule {
