Skip to content

Commit 5716626

Browse files
committed
Remove bom build, because it's a part of WF
1 parent d660172 commit 5716626

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

snapshots/src/main/script/createSnapshots.groovy

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ WILDFLY_NAME = "wildfly"
2828
WILDFLY_REPOSITORY = "https://github.com/wildfly/wildfly"
2929
WILDFLY_REPOSITORY_PROPERTY = "wildfly.repository"
3030
WILDFLY_BRANCH_PROPERTY = "wildfly.branch"
31-
BOMS_NAME = "boms"
32-
BOMS_REPOSITORY = "https://github.com/wildfly/boms.git"
33-
BOMS_REPOSITORY_PROPERTY = "boms.repository"
34-
BOMS_BRANCH_PROPERTY = "boms.branch"
3531
TESTSUITE_VERSION = "EJB-CLIENT-TESTSUITE"
3632
MVN_BUILD_OPTIONS = "-DskipTests=true"
3733

@@ -55,15 +51,11 @@ def wildFlyDir = new File(TARGET_DIR, WILDFLY_NAME)
5551
cloneProject(WILDFLY_REPOSITORY_PROPERTY, WILDFLY_BRANCH_PROPERTY, WILDFLY_REPOSITORY, WILDFLY_NAME)
5652
changeDependencyVersion(EJB_CLIENT_VERSION_NAME, TESTSUITE_VERSION, wildFlyDir)
5753
changeDependencyVersion(HTTP_CLIENT_VERSION_NAME, TESTSUITE_VERSION, wildFlyDir)
54+
setProjectVersion(TESTSUITE_VERSION, wildFlyDir)
55+
executeCmd("sed -i 's|<module>test-product-conf</module>||g' testsuite/pom.xml", null, wildFlyDir, false)
5856
buildProject(wildFlyDir, "-Dts.noSmoke")
5957
renameWildFlyBuildDirectory(getProjectVersion(wildFlyDir), wildFlyDir)
6058

61-
def bomDir = new File(TARGET_DIR, BOMS_NAME)
62-
cloneProject(BOMS_REPOSITORY_PROPERTY, BOMS_BRANCH_PROPERTY, BOMS_REPOSITORY, BOMS_NAME)
63-
setProjectVersion(TESTSUITE_VERSION, bomDir)
64-
changeDependencyVersion("version.server", getProjectVersion(wildFlyDir), bomDir)
65-
buildProject(bomDir)
66-
6759

6860
def executeCmd(command, env, dir, verbose) {
6961
println "Executing command " + command + " in directory " + dir

0 commit comments

Comments
 (0)