JCommon and JFreeChart on Maven Repository is out of date

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
ali65
Posts: 21
Joined: Fri May 01, 2009 4:35 pm

Re: JCommon and JFreeChart on Maven Repository is out of date

Post by ali65 » Mon Jul 13, 2009 3:25 pm

[]

malyvelky
Posts: 5
Joined: Thu Aug 06, 2009 12:55 pm
antibot: No, of course not.
Location: Czech Republic, Prague
Contact:

What's the progress? Can I help?

Post by malyvelky » Thu Aug 06, 2009 1:33 pm

I agree completely with Martin. Maven is a cool tool but I wouldn't force anybody to switch to it. Not mentioning that it has also its issues.

However, David was so kind as to consider automating releases upload to a maven repository using the approach suggested by Martin (repository at Sonatype, using maven to upload the JARs.) Is there any progress with that? Can I help somehow? (For instance by creating the Maven 2 pom.xml, if Martin hasn't managed it already.)

David, thanks for your great job and for spending your valuable time with us, maven-infected developers :-)

Best Regards, Jakub

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

Re: JCommon and JFreeChart on Maven Repository is out of date

Post by matinh » Sun Aug 09, 2009 7:01 pm

Hi Jakub!

Your help would be very welcome! I didn't provide any valid maven 2 pom.xml file, but somebody else did: #2799273. I had a quick look at the attached pom.xml file a few weeks ago and it looked good to me (I didn't to use it, though).

The next thing to do would probably be to create an account at sonatype's hosting service and try if uploading works as expected. If this works, I'm quite sure, David would be happy to include the new pom.xml file and eventually add one command to the release process to upload the new JARs to maven central repository.

best regards,
- martin

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

Re: JCommon and JFreeChart on Maven Repository is out of date

Post by david.gilbert » Sun Aug 09, 2009 8:40 pm

Hi Jakub / Martin,

I didn't make any progress on this yet, but I'd like to. I'm going to do some reading up on Maven and Sonatype with the aim of getting this working for the 1.0.14 release.
David Gilbert
JFreeChart Project Leader

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

malyvelky
Posts: 5
Joined: Thu Aug 06, 2009 12:55 pm
antibot: No, of course not.
Location: Czech Republic, Prague
Contact:

Instructions how to get JCommon/JFreeChart to the Maven Repo

Post by malyvelky » Wed Feb 10, 2010 4:02 pm

Hello guys, sorry for being quiet fow such a long time. I've finally managed to find out how to get any artifact regularly uploaded to the Maven Central repository.

The nice thing is that you really don't need to build your project with Maven. You build your artifact any way you want and then you only use Maven to upload them. You do need a pom.xml that satisfies some requirements such as a link to the project home page etc. and it would be of course nice to list there the project's dependencies so that users don't need to figure them out themselves.

You can read the instructions for releasing a project to Maven Central on my blog. I hope that this is sufficient and removes the need to study either Maven or Sonatype's repository/hosting. If not, I'd be glad to improve it.

Is this write up enough for you or would you need any further, perhaps more physical help?

pstanton
Posts: 3
Joined: Tue May 06, 2008 5:51 am

Re: JCommon and JFreeChart on Maven Repository is out of dat

Post by pstanton » Tue Aug 21, 2012 11:23 pm

Hi all, sorry to revive this thread but I think the people who posted here are the most likely people to answer my question...

I'm using JFreeChart from maven:

Code: Select all

		<dependency>
			<groupId>jfree</groupId>
			<artifactId>jfreechart</artifactId>
			<version>1.0.13</version>
		</dependency>
I know it is a version old, but that is the latest in the repos.

Anyway, all this seems to work fine for me, however there is no source attachment and I cannot find a way to manually specify a source/javadoc location within eclipse maven project.

Does anyone know how I can attach the source for this dependency?

Adding the source/javadoc to the next maven-published release would be a big plus too.

Thanks, paul.

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

Re: JCommon and JFreeChart on Maven Repository is out of dat

Post by matinh » Wed Aug 22, 2012 10:00 pm

1.0.13 is not the latest version in the repository. 1.0.14 is: http://search.maven.org/#artifactdetail ... 0.14%7Cjar

Regarding the source: this is in no way JFreeChart specific. Pleas ask on the maven-users list or even better learn how to manage your own repository.
If you switch to JFreeChart 1.0.14, you find the source also available on the repo.

hth,
- martin

Locked