[
https://issues.apache.org/jira/browse/NIFI-8398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17317275#comment-17317275
]
Paul Grey edited comment on NIFI-8398 at 4/8/21, 3:33 PM:
----------------------------------------------------------
Did some further research on the maven central part of the issue.
{code:java}
Downloading from maven-central-repo: http://repo1.maven.org/maven2/
{code}
Using the clue of the referenced repository id, I searched my pristine (except
for nifi) maven repository for POM references to project repositories with that
id:
{code:java}
<repositories>
<repository>
<id>maven-central-repo</id>
<url>
http://repo1.maven.org/maven2
</url>
...
</repository>
</repositories>
{code}
I found two:
[https://repo1.maven.org/maven2/at/favre/lib/bytes|https://repo1.maven.org/maven2/at/favre/lib/bytes/1.3.0/bytes-1.3.0.pom]
[/1.3.0/bytes-1.3.0.pom|https://repo1.maven.org/maven2/at/favre/lib/bytes/1.3.0/bytes-1.3.0.pom]
[https://repo1.maven.org/maven2/at/favre/lib/bcrypt-parent/0.9.0/bcrypt-parent-0.9.0.pom]
These are referenced by subproject 'maven-assembly', which is toward the end of
the build.
was (Author: pgrey):
Did some further research on the maven central part of the issue.
Downloading from maven-central-repo:
[http://repo1.maven.org/maven2/]
Using the clue of the referenced repository id, I searched my pristine (except
for nifi) maven repository for POM references to project repositories with that
id:
<repositories>
<repository>
<id>maven-central-repo</id>
<url>
[http://repo1.maven.org/maven2]
</url>
...
</repository>
</repositories>
I found two:
[https://repo1.maven.org/maven2/at/favre/lib/bytes|https://repo1.maven.org/maven2/at/favre/lib/bytes/1.3.0/bytes-1.3.0.pom]
[/1.3.0/bytes-1.3.0.pom|https://repo1.maven.org/maven2/at/favre/lib/bytes/1.3.0/bytes-1.3.0.pom]
[https://repo1.maven.org/maven2/at/favre/lib/bcrypt-parent/0.9.0/bcrypt-parent-0.9.0.pom]
These are referenced by subproject 'maven-assembly', which is toward the end of
the build.
> Maven 3.8.1 disables support for repositories using "http" protocol
> --------------------------------------------------------------------
>
> Key: NIFI-8398
> URL: https://issues.apache.org/jira/browse/NIFI-8398
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Paul Grey
> Priority: Minor
> Attachments: mvn.http.txt
>
>
> 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:
> {code:java}
> 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 % {code}
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)