File tree Expand file tree Collapse file tree 8 files changed +14
-14
lines changed
java/com/marklogic/hub/impl
src/test/groovy/com/marklogic/gradle/task
src/main/java/com/marklogic/quickstart/service Expand file tree Collapse file tree 8 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 1- version =4.0. SNAPSHOT
2- publishUrl =file:../marklogic-data-hub/releases
1+ version =4.0- SNAPSHOT
2+ publishUrl =file:../marklogic-data-hub/releases
Original file line number Diff line number Diff line change 1212# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313# See the License for the specific language governing permissions and
1414# limitations under the License.
15- mlDHFVersion =4.0. SNAPSHOT
15+ mlDHFVersion =4.0- SNAPSHOT
1616mlHost =localhost
1717mlAppName =data-hub
1818
Original file line number Diff line number Diff line change @@ -1596,7 +1596,7 @@ public DatabaseClient newModulesDbClient() {
15961596
15971597 // this lets debug builds work from an IDE
15981598 if (version .equals ("${project.version}" )) {
1599- version = "4.0. SNAPSHOT" ;
1599+ version = "4.0- SNAPSHOT" ;
16001600 }
16011601 return version ;
16021602 }
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ plugins {
1919
2020 // This gradle plugin extends the ml-gradle plugin with
2121 // commands that make the Data Hub Framework do its magic
22- id 'com.marklogic.ml-data-hub' version '4.0. SNAPSHOT'
22+ id 'com.marklogic.ml-data-hub' version '4.0- SNAPSHOT'
2323}
2424
2525repositories {
@@ -30,7 +30,7 @@ repositories {
3030dependencies {
3131 // this allows you to write custom java code that depends
3232 // on the Data Hub Framework library
33- compile 'com.marklogic:marklogic-data-hub:4.0. SNAPSHOT'
33+ compile 'com.marklogic:marklogic-data-hub:4.0- SNAPSHOT'
3434 compile 'com.marklogic:marklogic-xcc:9.0.7'
3535}
3636
Original file line number Diff line number Diff line change 1212# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1313# See the License for the specific language governing permissions and
1414# limitations under the License.
15- mlDHFVersion =4.0. SNAPSHOT
15+ mlDHFVersion =4.0- SNAPSHOT
1616mlHost =localhost
1717mlAppName =data-hub
1818
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ class HubUpdateTaskTest extends BaseTest {
3737 // if 4.0 project is upgraded, remove the backed up directories
3838 def setup () {
3939 // hardcoding to 4.0
40- File hubConfigDir = hubConfig(). hubProject. projectDir. resolve(" src/main/hub-internal-config-4.0. SNAPSHOT" ). toFile()
41- File mlConfigDir = hubConfig(). hubProject. projectDir. resolve(" src/main/ml-config-4.0. SNAPSHOT" ). toFile()
40+ File hubConfigDir = hubConfig(). hubProject. projectDir. resolve(" src/main/hub-internal-config-4.0- SNAPSHOT" ). toFile()
41+ File mlConfigDir = hubConfig(). hubProject. projectDir. resolve(" src/main/ml-config-4.0- SNAPSHOT" ). toFile()
4242 if (hubConfigDir. exists() && mlConfigDir. exists()) {
4343 FileUtils . forceDelete(hubConfigDir)
4444 FileUtils . forceDelete(mlConfigDir)
Original file line number Diff line number Diff line change 1313# See the License for the specific language governing permissions and
1414# limitations under the License.
1515# What version of DHF am I intending on targetting? Make sure you use the full SemVer x.x.x
16- mlDHFVersion =4.0. SNAPSHOT
16+ mlDHFVersion =4.0- SNAPSHOT
1717
1818mlHost =localhost
1919mlAppName =data-hub
Original file line number Diff line number Diff line change @@ -99,10 +99,10 @@ public void checkIfInstalled() {
9999 this .runningVersion = this .mlSettings .getJarVersion ();
100100 this .DHFVersion = versions .getDHFVersion ();
101101
102- // Replace "SNAPSHOT" in version with 0 as QS compares versions and fails if version number contains text
103- installedVersion = installedVersion .replace ("SNAPSHOT" , "0" );
104- runningVersion = runningVersion .replace ("SNAPSHOT" , "0" );
105- DHFVersion = DHFVersion .replace ("SNAPSHOT" , "0" );
102+ // Replace "- SNAPSHOT" in version with ".0" as QS compares versions and fails if version number contains text
103+ installedVersion = installedVersion .replace ("- SNAPSHOT" , ". 0" );
104+ runningVersion = runningVersion .replace ("- SNAPSHOT" , ". 0" );
105+ DHFVersion = DHFVersion .replace ("- SNAPSHOT" , ". 0" );
106106 }
107107
108108 private DatabaseClient _stagingClient = null ;
You can’t perform that action at this time.
0 commit comments