Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-7202

settings.offline property not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 3.8.1
    • None
    • POM, Settings
    • None
    • Debian 10.10, OpenJDK 11.0.12, Maven 3.8.1

    Description

      The documentation cites ${settings.offline} as a means to determine if the current build is offline: https://maven.apache.org/settings.html#properties

      For the life of me, I cannot get anything from a ${settings.offline} property in any way.  ${settings.localRepository} works, though.

      I hope to use ${settings.offline} within a maven-antrun-plugin target to avoid some WSDL GET requests when operating offline.

      Thank you.

      Attachments

        1. pom.xml
          3 kB
          AO Industries, Inc.

        Activity

          People

            gnodet Guillaume Nodet
            aoindustries AO Industries, Inc.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: