-
Notifications
You must be signed in to change notification settings - Fork 569
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HV-824 Switching to Wildfly for integration testing
Using now same approach as in TCK to update the wildfly HV version to latest SNAPSHOT
- Loading branch information
1 parent
94994e4
commit 60db87f
Showing
13 changed files
with
87 additions
and
121 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 0 additions & 34 deletions
34
integration/src/as7config/modules/javax/validation/api/main/module.xml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Needed while running against an AS instance which is not bundled with HV 5 | ||
println "[INFO] ------------------------------------------------------------------------"; | ||
println "[INFO] UPDATING BEAN VALIDATION RELATED WILDFLY MODULES "; | ||
println "[INFO] ------------------------------------------------------------------------"; | ||
|
||
def processFileInplace(file, Closure processText) { | ||
def text = file.text | ||
file.write( processText( text ) ) | ||
} | ||
|
||
hvModuleXml = new File( project.properties['wildflyTargetDir'], 'modules/system/layers/base/org/hibernate/validator/main/module.xml' ) | ||
def hvArtifactName = 'hibernate-validator-' + project.version + '.jar'; | ||
println "[INFO] Using HV version " + hvArtifactName; | ||
processFileInplace( hvModuleXml ) { text -> | ||
text.replaceAll( /hibernate-validator.*jar/, hvArtifactName ) | ||
} | ||
|
||
hvCdiModuleXml = new File( project.properties['wildflyTargetDir'], 'modules/system/layers/base/org/hibernate/validator/cdi/main/module.xml' ) | ||
def hvCdiArtifactName = 'hibernate-validator-cdi-' + project.version + '.jar'; | ||
println "[INFO] Using HV CDI Portable Extension version " + hvCdiArtifactName; | ||
processFileInplace( hvCdiModuleXml ) { text -> | ||
text.replaceAll( /hibernate-validator-cdi.*jar/, hvCdiArtifactName ) | ||
} | ||
|
||
println "[INFO] ------------------------------------------------------------------------"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.