Skip to content
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

Maven release #125

Closed
Rebzie opened this issue May 19, 2015 · 6 comments
Closed

Maven release #125

Rebzie opened this issue May 19, 2015 · 6 comments

Comments

@Rebzie
Copy link

Rebzie commented May 19, 2015

Hi

Just wondering if there is going to be a maven release. There is another project which has published to maven but not for 2 years and the naming isn't standard
https://github.com/eskatos/org.json-java/releases

@stleary
Copy link
Owner

stleary commented May 19, 2015

Maven support has been proposed before and declined. For example, #46, #35, #21, etc. I don't expect that to change anytime soon.

@johnjaylward
Copy link
Contributor

I think this request is a little different than those, I believe Rebzie is requesting that a jar be pushed to Maven Central or other repo to be included as a library in a project.

We wouldn't need a full POM for that or project structure. Just a pom to list the artifact and any dependencies (which there are none)

Something like this should be good enough:

<?xml version="1.0" encoding="UTF-8"?>
<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/xsd/maven-4.0.0.xsd">
<!-- required attributes -->
  <modelVersion>4.0.0</modelVersion>
  <groupId>org.json</groupId>
  <artifactId>json-java</artifactId>
  <version>2015-05-19</version>
  <packaging>pom</packaging> <!-- or <packaging>jar</packaging> -->
<!-- optional attributes -->
  <description>Some basic description of JSON-Java</description>
  <url>https://github.com/douglascrockford/JSON-java/</url>
  <issueManagement>
    <system>GitHub</system>
    <url>https://github.com/douglascrockford/JSON-java/issues/</url>
  </issueManagement>
</project>

@stleary
Copy link
Owner

stleary commented May 19, 2015

Thanks for clarifying, I missed that. No such plans that I am aware of.

@Haringat
Copy link

Haringat commented Jun 5, 2015

If you pull it #131 would fix that automatically.

@johnjaylward
Copy link
Contributor

no, it won't be automatic. You still need publishing keys or "approved" hosting and release information for it to be automatic.

see: http://maven.apache.org/guides/mini/guide-central-repository-upload.html

@stleary
Copy link
Owner

stleary commented Jun 5, 2015

Sorry for not getting back to this sooner. At the present time this project does not include support for any particular build tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants