#5 Make it buildable using Maven

closed
nobody
None
5
2012-12-11
2011-03-27
hleofxquotes
No

Donating a pom.xml that you use to make the project buidlable with Maven. Would be great if we can get the *.jar file to be uploaded to the central Maven repository also.

See: https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide

I realize this will mean addtional work but it will help those of use who use Maven as the primary build tool.

Best,

Discussion

  • hleofxquotes
    hleofxquotes
    2011-03-27

    Maven pom.xml

     
    Attachments
  • Rob Manning
    Rob Manning
    2012-10-31

    So, I am guessing that this is not a high-priority at this point, some 17 months later. I can help get this project's artifact into maven central. I have done so for other projects that I have found a need for (see for example, Android4Maven or RText4Maven). The way that I usually do this is to create a separate SourceForge project where I collect scripts specifically crafted to take the source realeases, re-arrange them according to Maven convention, rebuild them and compare them with the released jars, before publishing to Sonatype. Can I do this for this project, please? Your approval is all I need to allow me to apply for distribution privileges with Sonatype.

    Rob

     
  • wumpz
    wumpz
    2012-11-01

    Hello,

    maybe it helps, if I tell you that the forks on github are already using maven.

    https://github.com/wumpz/JSqlParser.git

    Grettings

    Tobias

     
  • Rob Manning
    Rob Manning
    2012-11-07

    Unfortunately, if its not in Maven Central, it doesn't exist for projects that are. Nowadays, the moment you start using a repo that is not Maven Central, that is the moment you no longer deploy to Maven Central. GitHub or not.

    Rob

     
  • Rob Manning
    Rob Manning
    2012-12-07

    • status: open --> closed
     
  • Rob Manning
    Rob Manning
    2012-12-07

    This project is now build exclusively with Maven - and continuously:

    https://www.squirrel-sql.org/hudson/job/jsqlparser/

    I am working with Sonatype to get it to Central.

    Rob

     
  • Rob Manning
    Rob Manning
    2012-12-11

    Just pushed the first release built entirely using maven to central (0.8.0). Next release will be 0.8.1.

    Cheers,

    Rob