Add feature-resource-version to example snippets
@@ -299,6 +299,7 @@ Features may have dependencies on other Features. Features inherit the capabilit
</para>
<programlisting>{
+ "feature-resource-version": "1.0",
"id": "org.acme:acmeapp:1.0.0",
"name": "The ACME app",
@@ -365,6 +366,7 @@ Feature f = builder.build();</programlisting>
<para>
The following example shows a simple Feature describing a small application with its dependencies:
<programlisting>{
+ "feature-resource-version": "1.0",
"id": "org.acme:acmeapp:1.0.1",
"name": "The Acme Application",
@@ -464,6 +466,7 @@ Feature f = builder.build();</programlisting>
<para>
Example:
<programlisting>{
+ "feature-resource-version": "1.0",
"id": "org.acme:acmeapp:osgifeature:configs:1.0.0",
"configurations": {
"org.apache.felix.http": {
@@ -492,6 +495,7 @@ Feature f = builder.build();</programlisting>
<para>
Example:
<programlisting>{
+ "feature-resource-version": "1.0",
"id": "org.acme:acmeapp:osgifeature:configs:1.1.0",
"variables": {
"http.port": 8080,
@@ -594,6 +598,7 @@ Feature f = builder.build();</programlisting>
Example:
<programlisting>{
+ "feature-resource-version": "1.0",
"id": "org.acme:acmeapp:2.0.0",
"name": "The Acme Application",
@@ -632,6 +637,7 @@ Feature f = builder.build();</programlisting>
The following example extension declares under which execution environment the Feature is complete,
using a custom JSON object.
<programlisting>{
+ "feature-resource-version": "1.0",
"id": "org.acme:acmeapp:2.1.0",
"name": "The Acme Application",
@@ -674,6 +680,7 @@ Feature f = builder.build();</programlisting>
the launcher agent, that is, the database must be configured when the application is run:
<programlisting>{
+ "feature-resource-version": "1.0",
"id": "org.acme:acmeapp:2.2.0",
"name": "The Acme Application",
@@ -723,6 +730,7 @@ Feature f = builder.build();</programlisting>
<para>
Example:
<programlisting>{
+ "feature-resource-version": "1.0",
"id": "org.acme:acmeapp:osgifeature:fw-props:2.0.0",
"extensions": {
