Questions tagged [maven-repository]

38 questions
5
votes
1 answer

How to add category and tags to artefact in mavenrepository

Does anyone could explain how to update these values in the Maven Repository repository for my artifact: Category Tags
Oleg Cherednik
  • 17,377
  • 4
  • 21
  • 35
3
votes
0 answers

How to include dependency repos on published android library

I am working on a library that uses custom repositories (i.e. with specific URLs) to get some of the dependencies. maven { url 'https://someURL/' } I've published the library and set it on our private repository and noticed…
3
votes
0 answers

Maven repository with sun.misc.BASE64Decoder

Is there a working Maven repository with sun.misc.BASE64Decoder? Have looked and could not find any that works, this should be it https://mvnrepository.com/artifact/sun.misc/BASE64Decoder/unknown but it's broken.
user5507535
  • 1,580
  • 1
  • 18
  • 39
2
votes
1 answer

Published sources in maven local repository not visible in Android Studio IDE if proguard (R8) minification turned on

I want to publish some sources so that consumers of our closed-source library can see the documentation in their IDEs. I have this working so far: def listOfPublicApiFiles = [ '/com/example/app/MyClass.java', …
2
votes
1 answer

Can't access maven repo through URLConnection or HttpsURLConnection (403)

Purpose, just a POC (for now) to automatically and periodically find some CVE tags in the maven repository. I can access maven just fine through browser and mvn, but am unable to do the same via Java, what am I missing? I've tried UrlConnection,…
res
  • 775
  • 8
  • 16
2
votes
0 answers

Cannot import dependency from external repository (Azure Artifact)

I am coming to you because it's been almost 5 hours that I am struggling on importing my packaged spring boot application deployed to Azure Artifacts (Maven repository). I am using intellij IDEA with JDK 11, intellij is able to autocomplete the…
2
votes
1 answer

Maven Central Repository Artifact Source Code / Project URL / License Identification

I'm new to working with Java and have questions regarding the Maven Central Repository. I am much more familiar with Python and PyPI, so I will provide the equivalent in PyPI that I would like to find in Maven. How can I find the source code for…
travis5879
  • 35
  • 3
2
votes
1 answer

How to declare a dependency from a private Gitlab Maven Project Registry Repository in Gradle?

I have a private Project in which I configured a GitLab CI/CD Pipeline that builds the project and publishes it to the GitLab Package Registry of the same project. That works. In an other project I want to add a dependency to that package. Although…
Kerem
  • 489
  • 5
  • 21
1
vote
0 answers

Publish Android library to Maven repository with private Github repository

I'm trying to release an Android library to a Maven repository using the nexus gradle plugin. Before, everything was fine, but the task arose to make the GitHub repository private. Now I have a problem when trying to create a post. Can this be…
1
vote
1 answer

Maven downloads all dependencies again because they were "cached from a remote repository ID that is unavailable in current build context"

I have a multi-staged Docker build. In step one, I download and cache all dependencies (I use the Maven goal package for this). This is Docker layer is the base for all future build steps. In step two, I build the project. However, in step two, all…
Harold L. Brown
  • 8,423
  • 11
  • 57
  • 109
1
vote
1 answer

Force maven to use a specific repository for extensions

I have a maven extension added to my .mvn/extensions.xml and when I try to execute maven it tries to download it from maven central. We recently switched to internal repos and while my artifacts and plugins are downloaded from the repositories…
rattaman
  • 506
  • 3
  • 15
1
vote
1 answer

Can not download my own artifact from maven central using gradle

I published successfully a simple project to maven central using maven-publish plugin in gradle. You can see package here. You can found my code of published project on github. But when I tried to implement it from new gradle project, always…
Duc
  • 29
  • 6
1
vote
0 answers

Metabase : Could not transfer artifact org.clojure:clojure:pom:1.10.3 from/to central

I am building Metabase (branch = release-0.41.0) using Cooperate Jenkins. Could you please guide me on how to use my corporate remote repository instead of this https://repo1.maven.org/maven2/ for downloading dependency & library? Could you please…
Prem Sahu
  • 11
  • 3
0
votes
0 answers

IntelliJ / Niagara Module Plugin

I'm receiving the following error while attempting to sync gradle in JetBrains IntelliJ while trying to work on a Tridium Niagara project. Error Build file '<>\build.gradle' line: 1 A problem occurred evaluating project…
RQDQ
  • 15,461
  • 2
  • 32
  • 59
0
votes
0 answers

How to implement a maven repo?

I'm desperately looking for documentation regarding which endpoints should a maven repo serve. I want to create my own http server (I think it's http, at least) that proxies maven central but makes some extra validations and fires some extra…
caeus
  • 3,084
  • 1
  • 22
  • 36
1
2 3