evolute-pt / dbtransfer

DBTransfer - versatile database transfer tool
GNU Lesser General Public License v2.1
40 stars 16 forks source link

Dependency can not be resolved during mvn package : ojdbc14 10.2.0.3.0 #18

Open ognyandim opened 3 years ago

ognyandim commented 3 years ago

Repro steps

  1. Install Java and Maven
  2. git clone
  3. mvn package

System

Windows 10 Pro

Java version

openjdk version "1.8.0_252" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.252-b09, mixed mode)

Maven version

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:...\apache-maven-3.6.3\bin.. Java version: 1.8.0_252, vendor: AdoptOpenJDK, runtime: C:...\AdoptOpenJDK\jdk-8.0.252.09-hotspot\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Error from mvn package:

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------< pt.evolute.dbtransfer:dbtransfer >------------------
[INFO] Building DBTransfer 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.585 s
[INFO] Finished at: 2020-09-10T14:22:02+03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project dbtransfer: Could not resolve dependencies for project pt.evolute.dbtransfer:dbtransfer:jar:1.0-SNAPSHOT: Failure to find com.oracle:ojdbc14:jar:10.2.0.3.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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
PS C:\....\dbtransfer> 
luiscamposflores commented 3 years ago

Hey!

Can you checkout code again and retry?

Best regards,

Luis Flores

On 10 Sep 2020, at 14:30, Ognyan Dimitrov notifications@github.com wrote:

Repro steps

  1. Install Java and Maven

git clone mvn package

System

Windows 10 Pro

Java version:

openjdk version "1.8.0_252" OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_252-b09) OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.252-b09, mixed mode)

Maven version

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: C:...\apache-maven-3.6.3\bin.. Java version: 1.8.0_252, vendor: AdoptOpenJDK, runtime: C:...\AdoptOpenJDK\jdk-8.0.252.09-hotspot\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Error from mvn package:

[INFO] Scanning for projects... [INFO] [INFO] ------------------< pt.evolute.dbtransfer:dbtransfer >------------------ [INFO] Building DBTransfer 1.0-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.585 s [INFO] Finished at: 2020-09-10T14:22:02+03:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project dbtransfer: Could not resolve dependencies for project pt.evolute.dbtransfer:dbtransfer:jar:1.0-SNAPSHOT: Failure to find com.oracle:ojdbc14:jar:10.2.0.3.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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 PS C:\work\ScanDoc\SQL_to_PGSQL\dbtransfer> — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/evolute-pt/dbtransfer/issues/18, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABWJQUBZ55CTH4XLEEOJSATSFC2E5ANCNFSM4RE25E6Q.

ognyandim commented 3 years ago

It works now. Thank you!