Skip to content

Commit

Permalink
Fix CDI-SE module
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Supol <[email protected]>
  • Loading branch information
jansupol authored and senivam committed Oct 26, 2020
1 parent ca7c570 commit f10ab67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ public JerseyInjectionTarget(EnhancedAnnotatedType<T> annotatedType, BasicInject
this.injector = Values.lazy((Value<JerseyInstanceInjector<T>>) () -> new JerseyInstanceInjector<>(bean, this.resolvers));
}

@Override
protected void checkDelegateInjectionPoints() {
if (getAnnotatedType().getAnnotation(jakarta.decorator.Decorator.class) == null) {
super.checkDelegateInjectionPoints();
}
}

@Override
public void inject(T instance, CreationalContext<T> ctx) {
/*
Expand Down
17 changes: 0 additions & 17 deletions tests/e2e-inject/cdi2-se/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,23 +73,6 @@
<surefire.security.argline />
</properties>
</profile>
<profile>
<id>jakartification_exclude_tests</id> <!-- TODO remove after jakartification -->
<activation>
<jdk>[1.8,)</jdk>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
</plugins>
</build>
</profile>
<profile>
<id>sonar</id>
<build>
Expand Down

0 comments on commit f10ab67

Please sign in to comment.