Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8398

Maven 3.8.1 disables support for repositories using "http" protocol

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 1.14.0
    • None
    • None

    Description

      Maven 3.8.1 (released April 2021) has disabled support (by default) for "http" repositories.  This causes an issue with tips of NiFi project when doing a clean build:

      mvn clean install
      
      ...
      
      [INFO] nifi-stateless-system-test-suite ................... SKIPPED
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  08:18 min
      [INFO] Finished at: 2021-04-06T13:20:08-04:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal on project nifi-standard-processors: Could not resolve dependencies for project org.apache.nifi:nifi-standard-processors:jar:1.14.0-SNAPSHOT: Failed to collect dependencies at com.fluenda:ParCEFone:jar:1.2.6 -> com.martiansoftware:macnificent:jar:0.2.0: Failed to read artifact descriptor for com.martiansoftware:macnificent:jar:0.2.0: Could not transfer artifact com.martiansoftware:macnificent:pom:0.2.0 from/to maven-default-http-blocker (http://0.0.0.0/): Blocked mirror for repositories: [martiansoftware (http://mvn.martiansoftware.com, default, releases+snapshots)] -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
      [ERROR] 
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <args> -rf :nifi-standard-processors
      pgrey@10457 nifi %  

       

       

      Attachments

        1. mvn.http.txt
          14 kB
          Paul Grey

        Activity

          People

            exceptionfactory David Handermann
            pgrey Paul Grey
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h 40m
                1h 40m