-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plan to publish to Maven repository? #1
Comments
Hello, |
@eureka-bpo e.g. version 4.18 depends on a lot other BIRT artifacts and those are not available in Maven central repo (see screenshot) Or in other words, if I add below to my Gradle build file: then the build will fail as below error:
|
Errors are shown correct: corresponding artifacts/versions are not published in maven central. As described on maven-birt-artifacts homepage, it is necessary to add repository to your pom.xml.
Addition of this repository makes artifacts accessible. |
@eureka-bpo, and exactly that is the problem I mentioned originaly. If I add your repo url, it will works, but then mean my project build depends on your repo. If tomorrow you shutdown the repo, my project stop working. Of course you don't do it, but nothing guaranteed in long term such as next year you are out of budget and decide to shutdown server... Did I understand correct the you own domain and host of p2repository.com? Or did I missunderstand it? |
The reasons why BIRT artifacts are not published in Maven Central are explained in detail. The main reason is the difference in dependency resolving between p2 and Maven repositories. The problem you mentioned can be resolved by creating a corporate caching repository. Artifacts can be added to it using a specially designed script (as you had written absolutely correct) or during the process of downloading artifacts from the p2 repository. A caching repository ensures the availability of artifacts even if the original repository becomes unavailable. This diagram explains, how p2repository.com works. This is a service, algorithm, not a data/file storage. Consider p2repository.com as a converter (on the fly) of p2 repository into maven format. |
I beleive you have answered all concern and pretty much there is nothing else rather waiting for eclipse-birt/birt#625 Initial I thought you may think about different plan such as publish all other dependencies to maven under your artifact id "eu.eureka-bpo.birt" and change pom file to point to those.... something like that. Anyway, thank you so much for your work. Most likely I still get stuck with fat jar 4.8.0 Thank you so much for your dedicated work. |
Hi,
Thanks for this great work. But at the moment I concern do you have any plan to publish this to central maven repository?
The reason is I don't want to depend on someone mirror that may be offline tomorrow or next year, then my project build will fail.
The text was updated successfully, but these errors were encountered: