JFreeChart on Maven 2 repository

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
henryju
Posts: 7
Joined: Wed Nov 14, 2007 5:15 pm

JFreeChart on Maven 2 repository

Post by henryju » Wed Nov 14, 2007 5:18 pm

Hi,

Latest version of JFreeChart on Maven 2 repository is 1.0.5.

Since the fresh release of 1.0.7 could you please do the necessary to make the new artifacts available.

Thanks very much !

Julien

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

Post by david.gilbert » Wed Nov 14, 2007 5:21 pm

I don't know what is required, so I rely on volunteers to do it. :wink:
David Gilbert
JFreeChart Project Leader

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

henryju
Posts: 7
Joined: Wed Nov 14, 2007 5:15 pm

Post by henryju » Wed Nov 14, 2007 6:06 pm

JFreeChart seems to be built by Ant. But the file maven-jfreechart-project.xml should be a Maven 1 descriptor (up to date?).

I don't know how Maven 1 works but AFAIK you should create an upload bundle. Then open an upload request on Maven JIRA (http jira.codehaus.org browse MAVENUPLOAD).

It seems there is a "maven-bundle" Ant task in the build.xml.

I can't open the Upload Request because you have to be a project developer.


You should also check that dependencies in maven-jfreechart-project.xml are correct. For instance, you should add

Code: Select all

<properties>
    <scope>test</scope>
</properties>
to the JUnit dependency.


I just see here: http jira.codehaus.org browse MAVENUPLOAD-1057

that Takayoshi Kimura was not a JFreeChart developer. I will try to do the job myself tonight.

An what about a Maven 2 migration for next release of JFreeChart? ;)

Regards,

Julien

jwenting
Posts: 157
Joined: Sat Jul 15, 2006 7:46 am

Post by jwenting » Thu Nov 15, 2007 7:21 am

henryju wrote: An what about a Maven 2 migration for next release of JFreeChart? ;)
Feel free to donate the necessary work :wink:

henryju
Posts: 7
Joined: Wed Nov 14, 2007 5:15 pm

Post by henryju » Thu Nov 15, 2007 9:10 am

I will try to do my best.

The main problem is it may require to move files/folder. And if you don't want to lose SVN history on moved files, you have to perform a SVN move command.

A patch will do a remove/add which cut history.

henryju
Posts: 7
Joined: Wed Nov 14, 2007 5:15 pm

Post by henryju » Thu Nov 15, 2007 9:18 am

Why JCommon is not on SVN?

Where can I find the sources for JCommon 1.0.12? I haven't found any matching tag in CVS.

EDIT: I downloaded it from Sourceforge.

henryju
Posts: 7
Joined: Wed Nov 14, 2007 5:15 pm

Post by henryju » Thu Nov 15, 2007 10:59 am

OK, I'm starting the "mavenization" by jcommon.

It seems you are building 2 artifacts for jcommon: jcommon, and jcommon-xml. Should I keep this split?

What is the purpose of jcommon-xml?

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

Post by david.gilbert » Thu Nov 15, 2007 11:26 am

henryju wrote:What is the purpose of jcommon-xml?
It's not used by JFreeChart. I think Thomas (Morgner) uses it for Pentaho Reporting (formerly JFreeReport).
David Gilbert
JFreeChart Project Leader

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

henryju
Posts: 7
Joined: Wed Nov 14, 2007 5:15 pm

Post by henryju » Thu Nov 15, 2007 12:00 pm

OK.

In this case 2 artifacts (2 JAR) is better.

Taqua
JFreeReport Project Leader
Posts: 698
Joined: Fri Mar 14, 2003 3:34 pm
Contact:

Post by Taqua » Thu Nov 15, 2007 1:39 pm

We dont use JCommon-XML anymore. The only reason that jar exists is for API backward compatibility. I changed the build process some time ago, so that no one has to ship these classes with the plain JCommon anymore.

So it is save to ignore that librar in your efforts.

henryju
Posts: 7
Joined: Wed Nov 14, 2007 5:15 pm

Post by henryju » Thu Nov 15, 2007 1:56 pm

Thanks for the tips.

I did the job quickly to provide maven upload bundle (see http://jira.codehaus.org/browse/MAVENUPLOAD-1817). As I don't use jfreechart-swt nor jfreechart-experimental I didn't create the bundle as I can't test it on real application.

Now if you are interested by switching to a full Maven 2 build let me know. The advantages will be to manage automatically dependencies, help for release, plus a standard way of building all your artifacts:
jcommon
jfreechart
jfreechart-experimental
jfreechart-swt

You could also take advantage of reporting plugins (checkstyle, pmd, findbugs, cobertura, ...)

I can provide a "todo list" to do the switch, or eventually I can do it in a separate branch in SVN (just need to move jcommon on SVN).

The only issue with a parallel branch is to keep the trunk and this branch in sync.

Regards

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

Post by matinh » Tue Aug 19, 2008 9:15 am

Hi all!

Any news on this one? Is JFreeChart going to be mavenized soon? Is somebody taking care of uploading new version to the maven repository? 1.0.10 is out for a while but not in the repos :-(

regards,
- martin

Locked