Version 1.0.18 is not yet in maven central

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
ge0ffrey
Posts: 20
Joined: Sat Feb 27, 2010 6:44 pm
antibot: No, of course not.

Version 1.0.18 is not yet in maven central

Post by ge0ffrey » Wed Jul 23, 2014 4:30 pm

Hi guys,

JFreeChart 1.0.18 (released a few weeks ago) is not yet in maven central.
https://repository.sonatype.org/index.h ... sionexpand
which makes it cumbersome to consume for maven/gradle/buildr/ivy users (basically everybody who's not using plain ANT).
Any idea if and when it would be added?

PS: Are there any plans to make it part of the regular JFreeChart release procedure so maven/gradle/buildr/ivy users can use the latest-and-greatest immediately too? :)
https://docs.sonatype.org/display/Repos ... Repository

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: Version 1.0.18 is not yet in maven central

Post by david.gilbert » Thu Jul 24, 2014 7:10 am

The uploads to the central repository have always been done by someone else. I've tried a few times to decipher the process but, for someone like me that uses Maven only a little and has a million other things to do, the pain was too much. I'm going to try one more time though and, fortunately, it looks like there is some better documentation available since the last time I looked. Wish me luck.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

matinh
Posts: 483
Joined: Fri Aug 11, 2006 10:08 am
Location: Austria

Re: Version 1.0.18 is not yet in maven central

Post by matinh » Thu Jul 24, 2014 10:06 am

Hi David!

Just saw you staged JFreeChart 1.0.18 for Maven Central. Great.
How was it going?

I documented the process some time ago on the media-wiki at SourceForge. The URL was http://sourceforge.net/apps/mediawiki/j ... Repository but it seems media-wiki is no longer available. Do you know, does this mean all our documentatiaon from the wiki has gone?

I never loved SourceForge, but if they just dropped the documentation I'm going to hate them!

- martin

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Re: Version 1.0.18 is not yet in maven central

Post by david.gilbert » Thu Jul 24, 2014 10:23 am

matinh wrote:Just saw you staged JFreeChart 1.0.18 for Maven Central. Great.
How was it going?
I think it is OK, but since this is the first time I've done this I'm sure to have made some mistake. I'm waiting for the sync to the central repository. Anyway, 1.0.19 will be released soon, so I will have a chance to correct things.
matinh wrote:I documented the process some time ago on the media-wiki at SourceForge. The URL was http://sourceforge.net/apps/mediawiki/j ... Repository but it seems media-wiki is no longer available. Do you know, does this mean all our documentatiaon from the wiki has gone?

I never loved SourceForge, but if they just dropped the documentation I'm going to hate them!
I remembered that you had documented all the steps, so I also went looking in the Wiki. It seems they did drop all the content. I searched and found an e-mail notification from SourceForge giving a warning of this, but I never noticed it at the time, and I don't think there is any way to recover the info now.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

ge0ffrey
Posts: 20
Joined: Sat Feb 27, 2010 6:44 pm
antibot: No, of course not.

Re: Version 1.0.18 is not yet in maven central

Post by ge0ffrey » Thu Jul 24, 2014 11:40 am

That sync usually takes 6 hours in my experience. If there was a staging repo, it needs to be closed and released (= 2 separate actions) before the syncing can start.

ge0ffrey
Posts: 20
Joined: Sat Feb 27, 2010 6:44 pm
antibot: No, of course not.

Re: Version 1.0.18 is not yet in maven central

Post by ge0ffrey » Thu Jul 24, 2014 11:49 am

BTW, there's another way of doing it too:

In your build.xml ANT script, add the ANT task to deploy the maven artifact of jcommon and jfreechart:
http://maven.apache.org/ant-tasks/examp ... eploy.html
You'll still want to deploy to https://oss.sonatype.org/ (where it will end up on a staging repo),
but from a release point of view, you could make it as quick as:
ant deployMavenArtifacts
Surf to oss.sonatype.org, find staging repo, close it, release it.

To set this up, you'll have a 1 time of need:
oss.sonatype.org credentials
Maven central ownership of groupId org.jfree (sonatype can grant you this)

Locked