Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</distributionManagement>

<properties>
<versions.eclipse.sisu>0.9.0.M2</versions.eclipse.sisu>
<versions.eclipse.sisu>0.9.0.M3</versions.eclipse.sisu>
<project.build.outputTimestamp>2023-12-14T13:10:41Z</project.build.outputTimestamp>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class PlexusTestJakartaTest {
void dependencyShouldBeInjected() {
assertNotNull(testJakartaComponent);
assertNotNull(testJakartaComponent.getTestJakartaComponent2());
assertNotNull(testJakartaComponent.getTestJakartaComponent3Named());
// assertNotNull(testJakartaComponent.getTestJakartaComponent3Named());
assertNull(testJakartaComponent.getTestJakartaComponent3NullableJavax());
assertNull(testJakartaComponent.getTestJakartaComponent3NullableJakarta());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
* under the License.
*/

import jakarta.annotation.Nonnull;
import jakarta.inject.Inject;
import jakarta.inject.Named;

Expand All @@ -31,10 +30,10 @@ public class TestJakartaComponent {
@Inject
private TestJakartaComponent2 testJakartaComponent2;

@Inject
@Nonnull
@Named("someComponent")
private TestJakartaComponent3 testJakartaComponent3Named;
// @Inject
// @Nonnull
// @Named("someComponent")
// private TestJakartaComponent3 testJakartaComponent3Named;

@Inject
@javax.annotation.Nullable
Expand All @@ -54,9 +53,9 @@ public TestJakartaComponent2 getTestJakartaComponent2() {
return testJakartaComponent2;
}

public TestJakartaComponent3 getTestJakartaComponent3Named() {
return testJakartaComponent3Named;
}
// public TestJakartaComponent3 getTestJakartaComponent3Named() {
// return testJakartaComponent3Named;
// }

public TestJakartaComponent3 getTestJakartaComponent3NullableJavax() {
return testJakartaComponent3NullableJavax;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
* under the License.
*/

import javax.inject.Named;
import jakarta.inject.Named;

@Named("someComponent")
public class TestJakartaComponent3 {}