fixing some highlighting in new howto page
git-svn-id: https://svn.apache.org/repos/asf/openwebbeans/meecrowave/trunk@1857746 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/meecrowave-doc/src/main/jbake/content/howto.adoc b/meecrowave-doc/src/main/jbake/content/howto.adoc
index 9b9c757..185fca9 100755
--- a/meecrowave-doc/src/main/jbake/content/howto.adoc
+++ b/meecrowave-doc/src/main/jbake/content/howto.adoc
@@ -10,7 +10,7 @@
You should add the following dependencies do the dependencies section of your pom.xml (adjust version to current stable version)
-[source,maven]
+[source,xml]
----
<dependency>
<groupId>org.apache.meecrowave</groupId>
@@ -34,12 +34,12 @@
and the following plugin configuration to the build/plugins section of your pom.xml
-[source,maven]
+[source,xml]
----
<plugin>
<!--
- For starting meecrowave via Maven. Just run
- $> mvn clean install meecrowave:run
+ For starting meecrowave via Maven. Just run
+ $> mvn clean install meecrowave:run
-->
<groupId>org.apache.meecrowave</groupId>
<artifactId>meecrowave-maven-plugin</artifactId>
@@ -192,11 +192,14 @@
Then, you should register this implementation of ServletContainerInitializer:
* in a SPI, in src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer:
-[source,spi]
+
+[source]
----
org.mypackage.MyServletContainerInitializer
----
+
* or add it to Meecrowave configuration using a Meecrowave.ConfigurationCustomizer such as :
+
[source,java]
----
package org.mypackage;
@@ -281,7 +284,7 @@
== How to add a web frontend ?
You should add a <webapp> element to the meecrowave plugin configuration. Example :
-[source,pom.xml]
+[source,xml]
----
<plugin>
<!--
diff --git a/meecrowave-doc/src/main/jbake/content/start.adoc b/meecrowave-doc/src/main/jbake/content/start.adoc
index eaed074..a348d0b 100755
--- a/meecrowave-doc/src/main/jbake/content/start.adoc
+++ b/meecrowave-doc/src/main/jbake/content/start.adoc
@@ -122,3 +122,6 @@
== Sample
https://github.com/apache/openwebbeans-meecrowave-examples contains ready to use examples using meecrowave.
+
+You can also find more information on our link:howto.html[How To] page.
+