[INFO] Scanning for projects...
[INFO] 
[INFO] ------------< com.homannsoftware:library-interface-example >------------
[INFO] Building library-interface-example 1.0.0
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.5.0:clean (default-clean) @ library-interface-example ---
[INFO] Deleting D:\CodexProjects\homannsoftware_com\blog\2026-10-13-spring-beginners\event-example\target
[INFO] 
[INFO] --- resources:3.5.0:resources (default-resources) @ library-interface-example ---
[INFO] skip non existing resourceDirectory D:\CodexProjects\homannsoftware_com\blog\2026-10-13-spring-beginners\event-example\src\main\resources
[INFO] skip non existing resourceDirectory D:\CodexProjects\homannsoftware_com\blog\2026-10-13-spring-beginners\event-example\src\main\resources
[INFO] 
[INFO] --- compiler:3.15.0:compile (default-compile) @ library-interface-example ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 14 source files with javac [debug parameters release 21] to target\classes
[INFO] 
[INFO] --- resources:3.5.0:testResources (default-testResources) @ library-interface-example ---
[INFO] skip non existing resourceDirectory D:\CodexProjects\homannsoftware_com\blog\2026-10-13-spring-beginners\event-example\src\test\resources
[INFO] 
[INFO] --- compiler:3.15.0:testCompile (default-testCompile) @ library-interface-example ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 6 source files with javac [debug parameters release 21] to target\test-classes
[INFO] 
[INFO] --- surefire:3.5.6:test (default-test) @ library-interface-example ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running com.homannsoftware.library.ArchitectureTest
11:01:42.113 [main] INFO com.tngtech.archunit.core.PluginLoader -- Detected Java version 21.0.11
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.209 s -- in com.homannsoftware.library.ArchitectureTest
[INFO] Running com.homannsoftware.library.HttpTest
11:01:43.873 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [com.homannsoftware.library.HttpTest]: HttpTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
11:01:43.961 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration com.homannsoftware.library.LibraryApplication for test class com.homannsoftware.library.HttpTest
11:01:43.977 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils -- Could not detect default configuration classes for test class [com.homannsoftware.library.HttpTest]: HttpTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
11:01:43.979 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper -- Found @SpringBootConfiguration com.homannsoftware.library.LibraryApplication for test class com.homannsoftware.library.HttpTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v4.1.1)

2026-10-13T11:01:44.379+02:00  INFO 69656 --- [           main] com.homannsoftware.library.HttpTest      : Starting HttpTest using Java 21.0.11 with PID 69656 (started by enrico in D:\CodexProjects\homannsoftware_com\blog\2026-10-13-spring-beginners\event-example)
2026-10-13T11:01:44.382+02:00  INFO 69656 --- [           main] com.homannsoftware.library.HttpTest      : No active profile set, falling back to 1 default profile: "default"
2026-10-13T11:01:45.662+02:00  INFO 69656 --- [           main] o.s.boot.tomcat.TomcatWebServer          : Tomcat initialized with port 0 (http)
2026-10-13T11:01:45.680+02:00  INFO 69656 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2026-10-13T11:01:45.681+02:00  INFO 69656 --- [           main] o.apache.catalina.core.StandardEngine    : Starting Servlet engine: [Apache Tomcat/11.0.24]
2026-10-13T11:01:45.750+02:00  INFO 69656 --- [           main] b.w.c.s.WebApplicationContextInitializer : Root WebApplicationContext: initialization completed in 1346 ms
2026-10-13T11:01:46.352+02:00  INFO 69656 --- [           main] o.s.boot.tomcat.TomcatWebServer          : Tomcat started on port 63275 (http) with context path '/'
2026-10-13T11:01:46.361+02:00  INFO 69656 --- [           main] com.homannsoftware.library.HttpTest      : Started HttpTest in 2.313 seconds (process running for 5.493)
Mockito is currently self-attaching to enable the inline-mock-maker. This will no longer work in future releases of the JDK. Please add Mockito as an agent to your build as described in Mockito's documentation: https://javadoc.io/doc/org.mockito/mockito-core/latest/org.mockito/org/mockito/Mockito.html#0.3
OpenJDK 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
WARNING: A Java agent has been loaded dynamically (C:\Users\enrico\.m2\repository\net\bytebuddy\byte-buddy-agent\1.18.11\byte-buddy-agent-1.18.11.jar)
WARNING: If a serviceability tool is in use, please run with -XX:+EnableDynamicAgentLoading to hide this warning
WARNING: If a serviceability tool is not in use, please run with -Djdk.instrument.traceUsage for more information
WARNING: Dynamic loading of agents will be disallowed by default in a future release
2026-10-13T11:01:47.286+02:00  INFO 69656 --- [o-auto-1-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring DispatcherServlet 'dispatcherServlet'
2026-10-13T11:01:47.286+02:00  INFO 69656 --- [o-auto-1-exec-1] o.s.web.servlet.DispatcherServlet        : Initializing Servlet 'dispatcherServlet'
2026-10-13T11:01:47.288+02:00  INFO 69656 --- [o-auto-1-exec-1] o.s.web.servlet.DispatcherServlet        : Completed initialization in 2 ms
2026-10-13T11:01:47.549+02:00  WARN 69656 --- [o-auto-1-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public com.homannsoftware.library.lending.LoanReceipt com.homannsoftware.library.web.internal.LoanController.borrow(com.homannsoftware.library.web.internal.LoanController$BorrowRequest): [Field error in object 'borrowRequest' on field 'memberId': rejected value [ ]; codes [NotBlank.borrowRequest.memberId,NotBlank.memberId,NotBlank.java.lang.String,NotBlank]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [borrowRequest.memberId,memberId]; arguments []; default message [memberId]]; default message [darf nicht leer sein]] ]
2026-10-13T11:01:47.652+02:00  WARN 69656 --- [o-auto-1-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.web.bind.MethodArgumentNotValidException: Validation failed for argument [0] in public com.homannsoftware.library.lending.LoanReceipt com.homannsoftware.library.web.internal.LoanController.borrow(com.homannsoftware.library.web.internal.LoanController$BorrowRequest): [Field error in object 'borrowRequest' on field 'borrowedOn': rejected value [null]; codes [NotNull.borrowRequest.borrowedOn,NotNull.borrowedOn,NotNull.java.time.LocalDate,NotNull]; arguments [org.springframework.context.support.DefaultMessageSourceResolvable: codes [borrowRequest.borrowedOn,borrowedOn]; arguments []; default message [borrowedOn]]; default message [darf nicht null sein]] ]
2026-10-13T11:01:47.675+02:00  WARN 69656 --- [o-auto-1-exec-3] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotReadableException: JSON parse error: Unexpected character ('b' (code 98)): was expecting double-quote to start property name]
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.992 s -- in com.homannsoftware.library.HttpTest
[INFO] Running com.homannsoftware.library.lending.internal.LoanTest
[INFO] Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.017 s -- in com.homannsoftware.library.lending.internal.LoanTest
[INFO] Running com.homannsoftware.library.lending.LendingTest
[INFO] Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.019 s -- in com.homannsoftware.library.lending.LendingTest
[INFO] Running com.homannsoftware.library.lending.PublicationFailureTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.012 s -- in com.homannsoftware.library.lending.PublicationFailureTest
[INFO] Running com.homannsoftware.library.notifications.internal.EventFlowTest
2026-10-13T11:01:47.862+02:00  INFO 69656 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.homannsoftware.library.notifications.internal.EventFlowTest]: EventFlowTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-10-13T11:01:47.879+02:00  INFO 69656 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.homannsoftware.library.LibraryApplication for test class com.homannsoftware.library.notifications.internal.EventFlowTest
2026-10-13T11:01:47.880+02:00  INFO 69656 --- [           main] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [com.homannsoftware.library.notifications.internal.EventFlowTest]: EventFlowTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-10-13T11:01:47.883+02:00  INFO 69656 --- [           main] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration com.homannsoftware.library.LibraryApplication for test class com.homannsoftware.library.notifications.internal.EventFlowTest

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/

 :: Spring Boot ::                (v4.1.1)

2026-10-13T11:01:47.920+02:00  INFO 69656 --- [event-flow-tests] [           main] c.h.l.n.internal.EventFlowTest           : Starting EventFlowTest using Java 21.0.11 with PID 69656 (started by enrico in D:\CodexProjects\homannsoftware_com\blog\2026-10-13-spring-beginners\event-example)
2026-10-13T11:01:47.920+02:00  INFO 69656 --- [event-flow-tests] [           main] c.h.l.n.internal.EventFlowTest           : No active profile set, falling back to 1 default profile: "default"
2026-10-13T11:01:48.205+02:00  INFO 69656 --- [event-flow-tests] [           main] c.h.l.n.internal.EventFlowTest           : Started EventFlowTest in 0.312 seconds (process running for 7.337)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.369 s -- in com.homannsoftware.library.notifications.internal.EventFlowTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 19, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  12.875 s
[INFO] Finished at: 2026-10-13T11:01:48+02:00
[INFO] ------------------------------------------------------------------------
