Posts

Showing posts with the label maven

Android Studio Gradle: Please remove usages of `jcenter()` Maven repository from your build scripts / JCenter is at end of life

9 3 In Android Studio 4.2 there is a warning: buildscript { ext.kotlin_version = '1.5.0' repositories { google() jcenter() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:4.2.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" } } allprojects { repositories { google() jcenter() mavenCentral() } } If I remove jcenter() then it can't find some dependencies of my app project: > Could not find org.koin:koin-core:2.0.1. Required by: project :app > Could not find org.koin:koin-androidx-scope:2.0.1. Required by: project :app > Could not find org.koin:koin-and...

Maven Build Failure — DependencyResolutionException

10 I'm installing a package that has Maven dependency and get a DependencyResolutionException when I try to clean it. After cloning it, I navigate to the directory and run the following to install it with no error: mvn install:install-file -Dfile=./lib/massbank.jar -DgroupId=massbank -DartifactId=massbank -Dversion=1.0 -Dpackaging=jar mvn install:install-file -Dfile=./lib/metfusion.jar -DgroupId=de.ipbhalle.msbi -DartifactId=metfusion -Dversion=1.0 -Dpackaging=jar Then: mvn clean package with the following console output: [INFO] Scanning for projects... [INFO] [INFO] --------------------< MassBank2NIST:MassBank2NIST >--------------------- [INFO] Building MassBank2NIST 0.0.2-SNAPSHOT [INFO] --------------------------------[ jar ]-----------------------...

How to disable maven blocking external HTTP repositores?

7 4 Maven blocks external HTTP repositories by default since version 3.8.1 (see https://maven.apache.org/docs/3.8.1/release-notes.html) Is there a way to disable that or to exempt a repository from this rule? maven maven-3 Share Improve this question Follow asked Apr 8 at 10:19 Sebu Sebu ...