-
Notifications
You must be signed in to change notification settings - Fork 174
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
Placing the Java API in a Maven repository #1068
Comments
@ratliff - Can you please provide more details about the process and what it entails? Pushing the compiled client libraries to public library distributions is a longer term goal of the Continuous Integration Project. You're help in implementing proper distribution for the Java client will be much appreciated. Thanks |
You can either run your own Maven repository or submit your compiled code to the Maven central repository. If you run your own repository you can complete control over the distribution of your code. If you submit to the central repository, there may be terms and conditions. Here is some information on submitting to the central repository through Sonatype http://central.sonatype.org/pages/ossrh-guide.html#deployment Here is some information on using GitHub as a Maven repository http://blog.kaltepoth.de/posts/2010/09/06/github-maven-repositories.html Or you can host the repository on your own server. Once your libraries are in repository, I simply configure them in my pom.xml file. When anyone downloads and builds my code, Maven will automatically download the appropriate version of your Java library. |
Hi @ratliff, We've actually made some progress from an infra standpoint since this was last discussed. There is an automation generating clientlibs daily and pushing it onto the KalturaGeneratedAPIClients.* repos and a Travis hook on these repos to build and run the units [it calls testAPI/test.sh in the case of the Java client. You can see the Travis runs here: We would be happy to use Maven for compiling and pushing it onto a Maven repo, hosted at the gh_pages of https://github.com/kaltura/KalturaGeneratedAPIClientsJava, similarly to what is described here: Would you be interested in creating a pom.xml to support this and making a pull request? |
Sure, I can have a go at it. May take me a few days. From: Jess Portnoy <notifications@github.commailto:notifications@github.com> Hi @ratliffhttps://github.com/ratliff, We've actually made some progress from an infra standpoint since this was last discussed. There is an automation generating clientlibs daily and pushing it onto the KalturaGeneratedAPIClients.* repos and a Travis hook on these repos to build and run the units [it calls testAPI/test.sh in the case of the Java client. You can see the Travis runs here: We would be happy to use Maven for compiling and pushing it onto a Maven repo, hosted at the gh_pages of https://github.com/kaltura/KalturaGeneratedAPIClientsJava, similarly to what is described here: Would you be interested in creating a pom.xml to support this and making a pull request? — |
Neither your bash script nor your build.xml file will work for me. And some of the problems are fairly obvious (incorrect pathnames, etc). Which branch of your repository should I be looking at? Jupiter-10.8.0 ??? Can we have a Skype call tomorrow morning to discuss? From: Jess Portnoy <notifications@github.commailto:notifications@github.com> Hi @ratliffhttps://github.com/ratliff, We've actually made some progress from an infra standpoint since this was last discussed. There is an automation generating clientlibs daily and pushing it onto the KalturaGeneratedAPIClients.* repos and a Travis hook on these repos to build and run the units [it calls testAPI/test.sh in the case of the Java client. You can see the Travis runs here: We would be happy to use Maven for compiling and pushing it onto a Maven repo, hosted at the gh_pages of https://github.com/kaltura/KalturaGeneratedAPIClientsJava, similarly to what is described here: Would you be interested in creating a pom.xml to support this and making a pull request? — |
Closing as this discussion resulted in this pull request: Mark, thank you, I am testing the code generation from your clone now. |
It would be enormously helpful to me, and presumably other Java developers, if you would place the Java API in a Maven repository. I have written some Kaltura code that I have placed in GitHub. I would like to use Maven to manage the build process and NOT require that the Java API be downloaded and compiled separately.
Let me know if the API already exists in a repository that I am not aware of.
Thanks
The text was updated successfully, but these errors were encountered: