This is an automated email from the ASF dual-hosted git repository.
mbuenger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-site.git
The following commit(s) were added to refs/heads/master by this push:
new 43e3dfb6 Mention JSR-250 on JSR-330 page. (#1445)
43e3dfb6 is described below
commit 43e3dfb6dba6597d31661a46456c0801885f3da1
Author: Matthias Bünger <[email protected]>
AuthorDate: Sun Oct 26 18:02:19 2025 +0100
Mention JSR-250 on JSR-330 page. (#1445)
fixes #868
---
content/markdown/maven-jsr330.md | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/content/markdown/maven-jsr330.md b/content/markdown/maven-jsr330.md
index fee67c3f..56f412e3 100644
--- a/content/markdown/maven-jsr330.md
+++ b/content/markdown/maven-jsr330.md
@@ -62,7 +62,7 @@ is important.
Let\'s take a look at an example plugin: If you want to look at this example
project, you can find the code [in Maven Core ITs][jsr330-plugin].
-The POM is setup for JSR-300 as previously mentioned, with the `javax.inject`
dependency and the `sisu-maven-plugin` configured to create
+The POM is set up for JSR-300 as previously mentioned, with the `javax.inject`
dependency and the `sisu-maven-plugin` configured to create
the JSR-330 component index.
In addition, we add classical Maven plugin dependencies
@@ -196,6 +196,11 @@ public class Jsr330Mojo
}
```
+## Lifecycle annotations (JSR-250)
+
+Sisu managed beans also support lifecycle annotations defined by
[JSR-250](https://jcp.org/en/jsr/detail?id=250) (for example `@PostConstruct`).
+See [Sisu's lifecycle support
documentation](https://eclipse.dev/sisu/org.eclipse.sisu.inject/lifecycle.html)
for more information.
+
[tesla-profiler]: https://github.com/tesla/tesla-profiler
[p2g1]:
https://www.sonatype.com/people/2010/01/from-plexus-to-guice-1-why-guice/
[p2g2]:
https://www.sonatype.com/people/2010/01/from-plexus-to-guice-2-the-guiceplexus-bridge-and-custom-bean-injection/