Skip to content

Commit f547ddd

Browse files
committed
fixed build
1 parent 6182fa6 commit f547ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/devonfw/sample/archunit/ConventionRules.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static ArchRule entitiesShouldHaveEntitySuffixAndDataaccessLayer() {
4848
static ArchRule embeddablesShouldHaveEmbeddableSuffixAndCommonLayer() {
4949

5050
return priority(Priority.HIGH).classes().that().areAnnotatedWith(Embeddable.class).should().haveSimpleNameEndingWith(EMBEDDABLE)
51-
.andShould().resideInAnyPackage(".." + PackageStructure.LAYER_COMMON + "..")
51+
.andShould().resideInAnyPackage(".." + PackageStructure.LAYER_COMMON + "..").allowEmptyShould(true)
5252
.because("embeddables shall have 'Embeddable' suffix and common layer to prevent overhead of transfer objects");
5353
}
5454

0 commit comments

Comments
 (0)