mdeanda / lorem

An extremely useful Lorem Ipsum generator!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Push to Maven Central

johnjohndoe opened this issue · comments

I like to encourage you to push you library to Maven Central. There is just one other library like this and it would be very helpful if your library is available from the central repository.

good point. i'll look into it today.

I'd appreciate this as well. Thanks!

if you guys have experience in this i'd greatly appreciate some help. i was able to create an account and keys then got it into the staging area then i got distracted and a few weeks later i tried again and forgot my passphrase etc.

i was able to get it on maven central with the help of this guy named doug --

    <dependency>
        <groupId>com.thedeanda</groupId>
        <artifactId>lorem</artifactId>
        <version>1.1</version>
    </dependency>

Happy to help

@mdeanda Sorry, but I cannot find your library on Maven Central?! Did you successfully publish it from the staging server?

you're right. i must have stopped a few steps too soon... anyway it seems to be up now.. except a different version... it automagically updated the version to 1.2:

http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22com.thedeanda%22

Cool. Congratulations. The version number matches with the latest commit of your repository ...?!

yes. i believe 046a036 was used. i basically followed these instructions and it committed an update and increased pom version as needed:

https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-7a.3.StageaRelease

Yes, I tried the Maven release commands before. They are able to increase the version number for you automatically. I have not used them for a while though since I switched to Gradle. Looks good to me, anyways. Thanks for the work and keep it going.