Skip to content

Commit 33c9340

Browse files
committed
Enable version attribute substitution in Maven docs
1 parent 1768061 commit 33c9340

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/developer-guide/Maven-Getting-Started.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ The https://shannah.github.io/cn1app-archetype-kotlin-template/getting-started.h
7676

7777
Here is an example which generates a project based on the bare-bones kotlin template:
7878

79-
[source,bash]
79+
[source,bash,subs="+attributes"]
8080
----
8181
mvn com.codenameone:codenameone-maven-plugin:{cn1-plugin-release-version}:generate-app-project \
8282
-DarchetypeGroupId=$archetypeGroupId \
@@ -116,7 +116,7 @@ If you have an existing Codename One application project that uses the old Ant p
116116

117117
A minimal invocation of this goal would look like:
118118

119-
[source,bash]
119+
[source,bash,subs="+attributes"]
120120
----
121121
# Specify your the version of the codenameone-maven-plugin.
122122
# Find the latest version at
@@ -137,7 +137,7 @@ After building the project, try running it to make sure that the migration worke
137137

138138
==== Command Line
139139

140-
[source,bash]
140+
[source,bash,subs="+attributes"]
141141
----
142142
cd myapp
143143
./run.sh

docs/developer-guide/Maven-Updating-Codename-One.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ You can also update your Codename One dependencies manually by modifying the `cn
4848

4949
E.g. Open the `pom.xml` file, and look for the following:
5050

51-
[source,xml]
51+
[source,xml,subs="+attributes"]
5252
----
5353
<cn1.plugin.version>{cn1-plugin-release-version}</cn1.plugin.version>
5454
<cn1.version>{cn1-release-version}</cn1.version>

0 commit comments

Comments
 (0)