Skip to content

Commit a74bfad

Browse files
gsmetgunnarmorling
authored andcommitted
HV-1182 Update WildFly patch name in the documentation
1 parent b0a99be commit a74bfad

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

documentation/src/main/asciidoc/ch01.asciidoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ In order to update the server modules for Bean Validation API and Hibernate Vali
121121

122122
You can download the patch file from http://sourceforge.net/projects/hibernate/files/hibernate-validator[SourceForge] or from Maven Central using the following dependency:
123123

124-
.Maven dependency for WildFly 10 patch file
124+
.Maven dependency for WildFly {wildflyVersion} patch file
125125
====
126126
[source, XML]
127127
[subs="verbatim,attributes"]
@@ -130,7 +130,7 @@ You can download the patch file from http://sourceforge.net/projects/hibernate/f
130130
<groupId>org.hibernate</groupId>
131131
<artifactId>hibernate-validator-modules</artifactId>
132132
<version>{hvVersion}</version>
133-
<classifier>wildfly-10-patch</classifier>
133+
<classifier>wildfly-{wildflyVersion}-patch</classifier>
134134
<type>zip</type>
135135
</dependency>
136136
----
@@ -143,7 +143,7 @@ Having downloaded the patch file, you can apply it to WildFly by running this co
143143
[source]
144144
[subs="verbatim,attributes"]
145145
----
146-
$JBOSS_HOME/bin/jboss-cli.sh patch apply hibernate-validator-modules-{hvVersion}-wildfly-10-patch.zip
146+
$JBOSS_HOME/bin/jboss-cli.sh patch apply hibernate-validator-modules-{hvVersion}-wildfly-{wildflyVersion}-patch.zip
147147
----
148148
====
149149

pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@
631631
<attributes>
632632
<hvVersion>${project.version}</hvVersion>
633633
<bvVersion>${bv.api.version}</bvVersion>
634+
<wildflyVersion>${wildfly.version}</wildflyVersion>
634635
</attributes>
635636
</configuration>
636637
</plugin>

0 commit comments

Comments
 (0)