Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-67878

Maven 4 does not support interpolating repository url anymore

XMLWordPrintable

      Interpolating the Jenkins.Repository placeholder in a <repository><url>${env.Jenkins.Repository}</url> element won't work anymore with Maven 4.

      See https://issues.apache.org/jira/browse/MNG-7420

      [ERROR]   The project de.gebit.test:3.2.0-SNAPSHOT (/home/my/projects/test/pom.xml) has 2 errors
      [ERROR]     'profiles.profile[jenkins-maven-upstream].repositories.repository.[jenkins].url' contains an expression but should be a constant. @ de.gebit.test-parent:3.1.1
      [ERROR]     'profiles.profile[jenkins-maven-upstream].pluginRepositories.pluginRepository.[jenkins].url' contains an expression but should be a constant. @ de.gebit.test-parent:3.1.1
      

            magnayn magnayn
            capf Carsten Pfeiffer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: