Skip to content

Commit

Permalink
[WFLY-9628] Hard-code the version in the module.xml instead of always…
Browse files Browse the repository at this point in the history
… copying the artifact. This allows thin servers to still work off a maven repository instead of always including the resource library.
  • Loading branch information
jamezp committed Feb 13, 2018
1 parent 9e668ca commit 05a2002
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 0 additions & 2 deletions pom.xml
Expand Up @@ -125,8 +125,6 @@
<version.javax.jws.jsr181-api>1.0-MR1</version.javax.jws.jsr181-api>
<version.javax.mail>1.6.0</version.javax.mail>
<version.javax.validation>2.0.1.Final</version.javax.validation>
<!-- Be careful, this version is hardcoded in the javax.validation.api module.xml -->
<version.javax.validation.ee7>1.1.0.Final</version.javax.validation.ee7>
<version.jaxen>1.1.6</version.jaxen>
<version.jboss.jaxbintros>1.0.2.GA</version.jboss.jaxbintros>
<version.joda-time>2.9.7</version.joda-time>
Expand Down
3 changes: 0 additions & 3 deletions servlet-feature-pack/feature-pack-build.xml
Expand Up @@ -45,9 +45,6 @@
subsystems="configuration/host/subsystems.xml"
output-file="domain/configuration/host-slave.xml" />
</config>
<copy-artifacts>
<copy-artifact artifact="javax.validation:validation-api:::${version.javax.validation.ee7}" to-location="modules/system/layers/base/javax/validation/api/main/"/>
</copy-artifacts>
<file-permissions>
<permission value="755">
<filter pattern="*.sh" include="true"/>
Expand Down
Expand Up @@ -34,11 +34,11 @@
when building feature packs. It is not a big issue as this will
be removed once we fully support EE 8.
-->
<resource-root path="validation-api-1.1.0.Final.jar">
<artifact name="javax.validation:validation-api:1.1.0.Final">
<conditions>
<property-not-equal name="ee8.preview.mode" value="true"/>
</conditions>
</resource-root>
</artifact>
</resources>

<dependencies>
Expand Down

0 comments on commit 05a2002

Please sign in to comment.