[INFO] Scanning for projects...
[INFO] 
[INFO] --------------< blog.examples:java-libraries-processors >---------------
[INFO] Building java-libraries-processors 1.0-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- clean:3.2.0:clean (default-clean) @ java-libraries-processors ---
[INFO] Deleting /tmp/java-libraries-processors/target
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ java-libraries-processors ---
[INFO] skip non existing resourceDirectory /tmp/java-libraries-processors/src/main/resources
[INFO] 
[INFO] --- compiler:3.14.1:compile (default-compile) @ java-libraries-processors ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 3 source files with javac [debug release 8] to target/classes
[INFO] 
[INFO] --- resources:3.3.1:testResources (default-testResources) @ java-libraries-processors ---
[INFO] skip non existing resourceDirectory /tmp/java-libraries-processors/src/test/resources
[INFO] 
[INFO] --- compiler:3.14.1:testCompile (default-testCompile) @ java-libraries-processors ---
[INFO] Recompiling the module because of changed dependency.
[INFO] Compiling 1 source file with javac [debug release 8] to target/test-classes
[WARNING] 以下选项未被任何处理程序识别: '[mapstruct.suppressGeneratorVersionInfoComment, mapstruct.suppressGeneratorTimestamp]'
[INFO] 
[INFO] --- surefire:3.5.4:test (default-test) @ java-libraries-processors ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO] 
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
[INFO] Running blog.libraries.processors.ProcessorContractTest
E08 EXPECTED COMPILER FAILURE: [/var/folders/69/dwg4b48n54l79z0hv04311bw0000gn/T/junit-7015509924501562102/Bad.java:1: 错误: Unmapped target property: "extra".
import org.mapstruct.*; @Mapper(unmappedTargetPolicy=ReportingPolicy.ERROR) interface Bad { Target map(Source value); class Source { public String name; } class Target { public String name; public String extra; } }
                                                                                                   ^]
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.367 s -- in blog.libraries.processors.ProcessorContractTest
[INFO] 
[INFO] Results:
[INFO] 
[INFO] Tests run: 4, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- jar:3.4.2:jar (default-jar) @ java-libraries-processors ---
[INFO] Building jar: /tmp/java-libraries-processors/target/java-libraries-processors-1.0-SNAPSHOT.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.938 s
[INFO] Finished at: 2026-10-02T17:45:24+08:00
[INFO] ------------------------------------------------------------------------
