This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openwebbeans-meecrowave.git
The following commit(s) were added to refs/heads/main by this push:
new cefe572 update our start page
cefe572 is described below
commit cefe57253fcb4d737fd6a6fb875240950c16587b
Author: Mark Struberg <[email protected]>
AuthorDate: Fri May 8 10:06:28 2026 +0200
update our start page
---
meecrowave-doc/pom.xml | 3 +++
meecrowave-doc/src/main/jbake/content/start.adoc | 34 +++++++-----------------
2 files changed, 12 insertions(+), 25 deletions(-)
diff --git a/meecrowave-doc/pom.xml b/meecrowave-doc/pom.xml
index 0f7c88f..735bc7e 100644
--- a/meecrowave-doc/pom.xml
+++ b/meecrowave-doc/pom.xml
@@ -39,6 +39,9 @@
$ mvn meecrowave:run
You can then look at the generated site with your browser at
http://localhost:8080/meecrowave/
+
+ If you are just changing the asciidoc sources, then just type `reload` in
the meecrowave console and hit enter.
+ After that you can reload your browser and should see your changes
immediately.
</description>
<properties>
diff --git a/meecrowave-doc/src/main/jbake/content/start.adoc
b/meecrowave-doc/src/main/jbake/content/start.adoc
index e30f0bb..42bdd6c 100755
--- a/meecrowave-doc/src/main/jbake/content/start.adoc
+++ b/meecrowave-doc/src/main/jbake/content/start.adoc
@@ -14,6 +14,10 @@ Just add in any Maven `pom.xml` - or gradle `build.gradle`
the following depende
[source,xml]
----
+<properties>
+ <meecrowave.version>2.0.0</meecrowave.version>
+</properties>
+
<dependency>
<groupId>org.apache.meecrowave</groupId>
<artifactId>meecrowave-core</artifactId>
@@ -28,25 +32,7 @@ If you intend to reuse our `Cli` main you should also add:
<dependency>
<groupId>commons-cli</groupId>
<artifactId>commons-cli</artifactId>
- <version>1.4</version>
-</dependency>
-----
-
-Finally, if you want to develop against `jakarta` namespace instead of `javax`
one, you can use the all in one `jakarta` bundle:
-
-[source,xml]
-----
-<dependency>
- <groupId>org.apache.meecrowave</groupId>
- <artifactId>meecrowave-core</artifactId>
- <version>1.2.11</version> <!-- a least 1.2.11 is required -->
- <classifier>jakarta</classifier>
- <exclusions>
- <exclusion>
- <groupId>*</groupId>
- <artifactId>*</artifactId>
- </exclusion>
- </exclusions>
+ <version>1.9.0</version>
</dependency>
----
@@ -93,19 +79,17 @@ curl http://localhost:8080/kitchen
== You're in a hurry? Use groovy!
-IMPORTANT: this feature is supported starting from version 0.3.0 only.
-
Create a file called `hello.groovy`:
[source,java]
----
-@Grab('org.apache.meecrowave:meecrowave-core:0.3.0')
+@Grab('org.apache.meecrowave:meecrowave-core:2.0.0')
import org.apache.meecrowave.Meecrowave
-import javax.ws.rs.GET
-import javax.ws.rs.Path
-import javax.enterprise.context.ApplicationScoped
+import jakarta.ws.rs.GET
+import jakarta.ws.rs.Path
+import jakarta.enterprise.context.ApplicationScoped
@Path("hello")
@ApplicationScoped