Some organizations prevent publishing of binary content on public forums. For example, Oracle prevents publishing of JAR files containing its JDBC drivers on online forums, which includes Maven Central. See this as an example. For some time, JAVAX JARs were similarly not published to Maven Central. You could change your...
maven,maven-3,sonatype,maven-central
Your credentials are likely fine, you'd be getting a 401 error if they weren't. You're getting 403 (forbidden). This means the credentials were accepted, but you don't have permission to publish the artifacts. The most common cause of this is that you are using a different Maven group ID than...
java,maven,shade,maven-central
Of course, there is a plugin for this task, the build-helper-maven-plugin.
maven,statistics,benchmarking,maven-shade-plugin,maven-central
It is of not that size that you should be worrying about, for example: see this artifact's size 18M, You can browse around randomly or you can script it out on your local maven cache to determine average, max and min size, I don't know of any site which does...
scala,sbt,dependency-management,maven-central
Yes, use % instead of %% before the artifact specifier for your dependency. The %% notation indicates that the library is dependent on the Scala runtime version, yours is not.
java,maven,packaging,maven-central
This looks like a typical scenario for multi-module build. . ├── mod-a │ └── pom.xml ├── mod-b │ └── pom.xml └── pom.xml (parent) The parent contains simply a list of module (two) which looks similar like this: <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent>...
android,android-studio,gradle,maven-central
Oh, and the answer to actually being able to use the library, was to add @aar to the dependency so that it now reads dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:21.0.3' compile 'no.hyper:libdateintervalpicker:[email protected]' //note the magic @aar } Edit: Removing the block configurations { archives { extendsFrom configurations.default...
The easiest way to apply this change for all projects is to use an gradle init script that forces the use of the oschina repository instead of mavenCentral. you can put this: allprojects{ repositories { all { ArtifactRepository repo -> println repo.url.toString() if ((repo instanceof MavenArtifactRepository) && repo.url.toString().startsWith("https://repo1.maven.org/maven2")) { project.logger.warn...
neo4j,spring-data-neo4j,maven-central
The file is not broken on central, when I download it from here it comes down with size of 865743, and the zip file is valid: http://search.maven.org/#search|ga|1|a%3A%22neo4j-server%22%20AND%20v%3A%222.1.6%22 Check the contents of the downloaded file, you'll likely find that your corporate firewall has blocked the download for some reason, and the...
java,gradle,dependency-management,org.json,maven-central
(In Netbeans) Right-clicking the project and selecting 'Reload Project' did the trick.
gradle,maven-central,gradle-plugin,bintray,jcenter
JCenter is a super-set of Maven-Central and it syncs automatically with the package published to Maven-Central, so essentially artifacts published to Maven-Central will be automatically synced and available in JCenter as well. Gradle has two plugins supporting publishing to several repositories types, including Maven-Central and JCenter: (1) A "legacy"...
plugins,intellij-idea,android-studio,maven-central,jcenter
In Project Structure > Dependencies > + button > Library dependency, there's a search function.