Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-1256

Gradle plugin version in the metadata and created projects is wrong

    XMLWordPrintable

Details

    • Hide
      1. mvn com.redhat.quarkus.platform:quarkus-maven-plugin:2.2.5.Final-redhat-00005:create -DprojectGroupId=my-groupId -DprojectArtifactId=my-artifactId -DprojectVersion=my-version -DclassName="org.my.group.MyResource" -Dextensions="resteasy,resteasy-jackson" -DbuildTool=gradle -Dmaven.repo.local=path_to_local_repo -DquarkusRegistryClient=false
        
        cd ./my-artifactId
        
      2. Check content of ./gradle.properties for line:
        quarkusPluginVersion=2.2.5.Final-redhat-00005
        

      Fixed build should look like:

      quarkusPluginVersion=2.2.5.Final
      
      Show
      mvn com.redhat.quarkus.platform:quarkus-maven-plugin:2.2.5.Final-redhat-00005:create -DprojectGroupId=my-groupId -DprojectArtifactId=my-artifactId -DprojectVersion=my-version -DclassName= "org.my.group.MyResource" -Dextensions= "resteasy,resteasy-jackson" -DbuildTool=gradle -Dmaven.repo. local =path_to_local_repo -DquarkusRegistryClient=false cd ./my-artifactId Check content of ./gradle.properties for line: quarkusPluginVersion=2.2.5.Final-redhat-00005 Fixed build should look like: quarkusPluginVersion=2.2.5.Final

    Description

      Creating a Gradle project using the 2.2.2.Final-redhat-00001 release results in the following properties

      #Gradle properties
      quarkusPluginId=io.quarkus
      quarkusPluginVersion=2.2.2.Final-redhat-00001
      quarkusPlatformGroupId=com.redhat.quarkus.platform
      quarkusPlatformArtifactId=quarkus-bom
      quarkusPlatformVersion=2.2.2.Final-redhat-00001
      

      which is wrong given that there no io.quarkus plugin with that version. This should be fixed in the platform config inĀ https://github.com/quarkusio/quarkus-platform

      Attachments

        Activity

          People

            olubyans@redhat.com Oleksiy Lubyanskyy
            olubyans@redhat.com Oleksiy Lubyanskyy
            Fedor Dudinskii Fedor Dudinskii
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: