Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-762

Artifact resolution for wildfly-swarm-plugin ignores <mirrorOf> from settings.xml

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0.Final, 2016.10.0
    • Fix Version/s: 2016.11.0
    • Component/s: plugins
    • Labels:
      None

      Description

      In a host which is not connected to Internet, there is a local nexus mirror which has all the necessary artifacts for a build. settings.xml file specify this host as a mirror of everything and mvn compile completes successfully. When reaching the package phase (where wildfly-swarm-plugin is used), it seems that the mirrorOf element is ignored and it tries to access repository.jboss.org and fails with a connection timeout.

      This is probably an aether bug, but I also suspect https://github.com/wildfly-swarm/wildfly-swarm/blob/master/plugin/src/main/java/org/wildfly/swarm/plugin/maven/MavenArtifactResolvingHelper.java which hardcodes the repository in the constructor (I don't know if this is relevant).

      Could someone with a broader view in the topic can take a look into this ?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                dmandalidis Dimitris Mandalidis
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: