From ccb1c45a6a85e1fe6d0497d8b9bafc130a01ca92 Mon Sep 17 00:00:00 2001
From: DiegoSanzVi <40760222+DiegoSanzVi@users.noreply.github.com>
Date: Mon, 17 Dec 2018 13:24:50 +0200
Subject: [PATCH] Error advanced-osgi formating (#11382)
Some snippets codes do not render properly.
---
documentation/advanced/advanced-osgi.asciidoc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/documentation/advanced/advanced-osgi.asciidoc b/documentation/advanced/advanced-osgi.asciidoc
index 0cb7a57539..8d8a99990f 100644
--- a/documentation/advanced/advanced-osgi.asciidoc
+++ b/documentation/advanced/advanced-osgi.asciidoc
@@ -21,11 +21,13 @@ Vaadin application for OSGi should be a valid bundle, i.e. it should be packaged
The easiest way to convert regular maven-based Vaadin application into a valid OSGi bundle consists of five steps:
* Change packaging type to `jar` in your `pom.xml`:
+
[source, xml]
----
jar
----
* Change the scope for all vaadin dependencies from default to `provided`, like this:
+
[source, xml]
----
@@ -35,6 +37,7 @@ The easiest way to convert regular maven-based Vaadin application into a valid O
----
* Add OSGi-related dependencies to the project
+
[source, xml]
----
com.vaadin
@@ -62,6 +65,7 @@ The easiest way to convert regular maven-based Vaadin application into a valid O
----
* Setup necessary plugins for building the project:
+
[source, xml]
----
@@ -93,6 +97,7 @@ The easiest way to convert regular maven-based Vaadin application into a valid O
----
* Add bundle script (`bnd.bnd`) into the project root folder:
+
[source, text]
----
Bundle-Name: ${project.name}
--
2.39.5