Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-10319

Build alwas fails on Windows agent

    XMLWordPrintable

Details

    Description

      Maven doesn't use the build-configuration POM from the reactor and instead downloads an outdated snapshot from repository.jboss.org, which doesn't set versionx.com.puppycrawl.tools.checkstyle:

      13:47:59 [DEBUG] Could not find metadata org.infinispan:infinispan-build-configuration-parent:10.0.0-SNAPSHOT/maven-metadata.xml in local (C:\Windows\system32\config\systemprofile\.m2\repository)
      13:47:59 [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repository.jboss.org/nexus/content/groups/public-jboss
      13:47:59 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repository.jboss.org/nexus/content/groups/public-jboss
      13:47:59 [INFO] Downloading from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public-jboss/org/infinispan/infinispan-build-configuration-parent/10.0.0-SNAPSHOT/maven-metadata.xml
      
      13:48:00 [INFO] Downloaded from jboss-public-repository-group: https://repository.jboss.org/nexus/content/groups/public-jboss/org/infinispan/infinispan-build-configuration-parent/10.0.0-SNAPSHOT/maven-metadata.xml (632 B at 759 B/s)
      13:48:00 [DEBUG] Writing tracking file C:\Windows\system32\config\systemprofile\.m2\repository\org\infinispan\infinispan-build-configuration-parent\10.0.0-SNAPSHOT\resolver-status.properties
      
      [ERROR] [ERROR] Some problems were encountered while processing the POMs:
      05:45:39 [ERROR] 'dependencies.dependency.version' for com.puppycrawl.tools:checkstyle:jar must be a valid version but is '${versionx.com.puppycrawl.tools.checkstyle}'. @ line 26, column 19
      05:45:39 [ERROR] 'build.plugins.plugin[org.apache.maven.plugins:maven-checkstyle-plugin].dependencies.dependency.version' for com.puppycrawl.tools:checkstyle:jar must be a valid version but is '${versionx.com.puppycrawl.tools.checkstyle}'. @ line 60, column 28
      

      Attachments

        Activity

          People

            dberinde@redhat.com Dan Berindei (Inactive)
            dberinde@redhat.com Dan Berindei (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: