Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-21197

Declare the nexus.repository.url in the root pom

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 39.0.0.Beta1
    • None
    • Build System
    • None

      We currently inherit nexus.repository.url from the jboss-parent pom, and then use the property in expressions that determine the complete URL of repos in the 'repositories' and 'pluginRepositories' section.

      Maven 4 doesn't like this and fails to build. Jan Bliznak has a solid theory as to why at https://wildfly.zulipchat.com/#narrow/channel/174184-wildfly-developers/topic/Maven.204/near/558751932 – basically that Maven 4 wants to know the repository info before it looks up the parent, and it can't interpolate (aka resolve) the expression until it gets the parent.

      Simple solution is to declare the property locally.

              bstansbe@redhat.com Brian Stansberry
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: