[ 
https://issues.apache.org/jira/browse/MNG-6458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anton Thelander updated MNG-6458:
---------------------------------
    Description: 
Hi very great Apache team. You're doing a very good job, I appreciate it. Thank 
you very much in advance!

So I was running mvn -U clean install in one of the local repos. And then when 
I was about to download/update the POM of ojdbc6 it couldn't find it. Seems 
like the link is broken. I kindly ask, can you please tell why it's broken? And 
also I ask gently, are you able to fix it?

This is the link that is broken:

[https://repo.maven.apache.org/maven2/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.pom]

This is the output from (admin/not admin) PowerShell, I've tried it in 
(admin/not admin) CMD and Eclipse also with the same result:
{code:java}
PS *> mvn -U clean install
 [INFO] Scanning for projects...
 [INFO]
 [INFO] ----------------< : >----------------
 [INFO] Building * 0.0.1-SNAPSHOT
 [INFO] -------------------------------[ jar ]--------------------------------
 Downloading from local-repository: 
file://*/lib/repo/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.pom
 Downloading from central: 
https://repo.maven.apache.org/maven2/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.pom
 [INFO] ------------------------------------------------------------------------
 [INFO] BUILD FAILURE
 [INFO] ------------------------------------------------------------------------
 [INFO] Total time: 2.088 s
 [INFO] Finished at: 2018-08-14T16:07:18+02:00
 [INFO] ------------------------------------------------------------------------
 [ERROR] Failed to execute goal on project : Could not resolve dependencies for 
project *::jar:0.0.1-SNAPSHOT: Failed to collect dependencies at 
com.oracle:ojdbc6:jar:11.2.0.4: Failed to read artifact descriptor for 
com.oracle:ojdbc6:jar:11.2.0.4: Could not transfer artifact 
com.oracle:ojdbc6:pom:11.2.0.4 from/to central 
(https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version 
-> [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{code}
Workaround:
 To temporarily fix it I downloaded the POM here 
[https://maven.atlassian.com/maven-external/com/oracle/ojdbc6/11.2.0.4.0-atlassian-hosted/]
 and changed it slightly. Then I added it to the local repository where the 
ojdbc6 jar is. Then it seemed to work.

Have a very good day
 Anton

  was:
Hi very great Apache team. You're doing a very good job, I appreciate it. Thank 
you very much in advance!

So I was running mvn -U clean install in one of the local repos. And then when 
I was about to download/update the POM of ojdbc6 it couldn't find it. Seems 
like the link is broken. I kindly ask, can you please tell why it's broken? And 
also I ask gently, are you able to fix it?

This is the link that is broken:

https://repo.maven.apache.org/maven2/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.pom

This is the output from (admin/not admin) PowerShell, I've tried it in 
(admin/not admin) CMD and Eclipse also with the same result:

PS *> mvn -U clean install
[INFO] Scanning for projects...
[INFO]
[INFO] -----------------< *:* >-----------------
[INFO] Building * 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from local-repository: 
file://*/lib/repo/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.pom
Downloading from central: 
https://repo.maven.apache.org/maven2/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.088 s
[INFO] Finished at: 2018-08-14T16:07:18+02:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project *: Could not resolve dependencies for 
project *:*:jar:0.0.1-SNAPSHOT: Failed to collect dependencies at 
com.oracle:ojdbc6:jar:11.2.0.4: Failed to read artifact descriptor for 
com.oracle:ojdbc6:jar:11.2.0.4: Could not transfer artifact 
com.oracle:ojdbc6:pom:11.2.0.4 from/to central 
(https://repo.maven.apache.org/maven2): Received fatal alert: protocol_version 
-> [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]

Workaround:
To temporarily fix it I downloaded the POM here 
[https://maven.atlassian.com/maven-external/com/oracle/ojdbc6/11.2.0.4.0-atlassian-hosted/]
 and changed it slightly. Then I added it to the local repository where the 
ojdbc6 jar is. Then it seemed to work.

Have a very good day
Anton


> Broken link to Apache Maven's repository's ojdbc6-11.2.0.4.pom
> --------------------------------------------------------------
>
>                 Key: MNG-6458
>                 URL: https://issues.apache.org/jira/browse/MNG-6458
>             Project: Maven
>          Issue Type: Bug
>          Components: Artifacts and Repositories
>    Affects Versions: 3.5.4
>         Environment: Windows 10 x64, Eclipse, Powershell, CMD
>            Reporter: Anton Thelander
>            Priority: Minor
>
> Hi very great Apache team. You're doing a very good job, I appreciate it. 
> Thank you very much in advance!
> So I was running mvn -U clean install in one of the local repos. And then 
> when I was about to download/update the POM of ojdbc6 it couldn't find it. 
> Seems like the link is broken. I kindly ask, can you please tell why it's 
> broken? And also I ask gently, are you able to fix it?
> This is the link that is broken:
> [https://repo.maven.apache.org/maven2/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.pom]
> This is the output from (admin/not admin) PowerShell, I've tried it in 
> (admin/not admin) CMD and Eclipse also with the same result:
> {code:java}
> PS *> mvn -U clean install
>  [INFO] Scanning for projects...
>  [INFO]
>  [INFO] ----------------< : >----------------
>  [INFO] Building * 0.0.1-SNAPSHOT
>  [INFO] -------------------------------[ jar ]--------------------------------
>  Downloading from local-repository: 
> file://*/lib/repo/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.pom
>  Downloading from central: 
> https://repo.maven.apache.org/maven2/com/oracle/ojdbc6/11.2.0.4/ojdbc6-11.2.0.4.pom
>  [INFO] 
> ------------------------------------------------------------------------
>  [INFO] BUILD FAILURE
>  [INFO] 
> ------------------------------------------------------------------------
>  [INFO] Total time: 2.088 s
>  [INFO] Finished at: 2018-08-14T16:07:18+02:00
>  [INFO] 
> ------------------------------------------------------------------------
>  [ERROR] Failed to execute goal on project : Could not resolve dependencies 
> for project *::jar:0.0.1-SNAPSHOT: Failed to collect dependencies at 
> com.oracle:ojdbc6:jar:11.2.0.4: Failed to read artifact descriptor for 
> com.oracle:ojdbc6:jar:11.2.0.4: Could not transfer artifact 
> com.oracle:ojdbc6:pom:11.2.0.4 from/to central 
> (https://repo.maven.apache.org/maven2): Received fatal alert: 
> protocol_version -> [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{code}
> Workaround:
>  To temporarily fix it I downloaded the POM here 
> [https://maven.atlassian.com/maven-external/com/oracle/ojdbc6/11.2.0.4.0-atlassian-hosted/]
>  and changed it slightly. Then I added it to the local repository where the 
> ojdbc6 jar is. Then it seemed to work.
> Have a very good day
>  Anton



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to