diff --git a/src/main/content/_assets/js/builds.js b/src/main/content/_assets/js/builds.js index 81ce6a24a8..93624d2cd8 100644 --- a/src/main/content/_assets/js/builds.js +++ b/src/main/content/_assets/js/builds.js @@ -24,7 +24,6 @@ var starter_domain = isNotProdSite() ? 'https://starter-staging.rh9j6zz75er.us-east.codeengine.appdomain.cloud' : 'https://start.openliberty.io'; var starter_info_url = starter_domain + '/api/start/info'; var starter_submit_url = starter_domain + '/api/start'; -var starter_plugin_url= starter_domain+ '/api/start/plugin-versions'; var failed_builds_request = false; // Controls what build zips are exposed on openliberty.io. This will need to be updated @@ -1596,19 +1595,3 @@ $(window).on('load', function () { } }); }); - -$(window).on('load', function () { - $.ajax({ - url: starter_plugin_url, - type: 'GET', - dataType: 'json', - success: function(data) { - $('#maven_version').text(data.mavenVersion); - $('#gradle_version').text(data.gradleVersion); - }, - error: function(error) { - console.error('Error fetching Maven and Gradle plugin versions:', error); - } - }); -}); - diff --git a/src/main/content/start.html b/src/main/content/start.html index 175a631ef6..7dc4b18295 100644 --- a/src/main/content/start.html +++ b/src/main/content/start.html @@ -15,7 +15,9 @@ {% endif %} {% capture release_blog %}{% t start.release_blog %}{% endcapture %}
<plugin>+
<groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<version></version>
</plugin>
<plugin>
<groupId>io.openliberty.tools</groupId>
<artifactId>liberty-maven-plugin</artifactId>
<version>3.10.2</version>
</plugin>
{% t start.add_to_existing_app.maven_guide_text %} @@ -175,7 +177,7 @@
buildscript {+
repositories {
mavenCentral()
}
dependencies {
classpath 'io.openliberty.tools:liberty-gradle-plugin:''
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'io.openliberty.tools:liberty-gradle-plugin:'3.8.2'
}
}
The plugin also needs to be applied in the build file in order to be utilized.