-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
host Android build on maven central #166
Comments
Hi @CluEleSsUK, We need to rethink this and find out the right solution. As I'm not an expert on |
I'm also no expert in maven or the nexus-staging plugin, but I'm happy to take a look. A cheap solution could be profiles for |
The tricky part is how to build all the artifact together. e.g.
Some recommend https://maven.apache.org/plugins/maven-toolchains-plugin/ to get different builds done at once, to get rid off the |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment! |
The easiest solution is to name |
Yes, separate module that gets always compiled. I believe it's best; conditional compilation is rarely a good thing in Java. |
@pkozelka The biggest downside of this approach is that it requires two pom.xml - one for What about Gradle? Could that help? |
I've just run into toolchains. Guide for Supporting Multiple Versions of Java (8, 11, 14) in Your Maven Project. |
Structure:
Use
|
Is your feature request related to a problem? Please describe.
Java 8/Android compatibility was added with #133, but presently I can't see the jar being hosted anywhere.
I was hoping to raise a PR on https://github.com/decentralized-identity/jsonld-common-java and https://github.com/decentralized-identity/did-common-java to provide Android support and titanium-json-ld is the key transitive dependency.
Describe the solution you'd like
titanium-json-ld uploaded under a separate artifactId to maven central or equivalent.
Describe alternatives you've considered
I've currently used git submodules to achieve the above, but it comes with problems:
I had a look in your github actions to try and raise a PR, but it didn't seem like the maven-push action actually does a maven push and I assumed you do it manually - I could well be misunderstanding though!
Additional context
Thanks for your work so far!
The text was updated successfully, but these errors were encountered: