JCommon and JFreeChart on Maven Repository is out of date
-
- 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?
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
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
Re: JCommon and JFreeChart on Maven Repository is out of date
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
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
-
- 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
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.
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
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


-
- 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
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?
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?
Re: JCommon and JFreeChart on Maven Repository is out of dat
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:
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.
I'm using JFreeChart from maven:
Code: Select all
<dependency>
<groupId>jfree</groupId>
<artifactId>jfreechart</artifactId>
<version>1.0.13</version>
</dependency>
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.
Re: JCommon and JFreeChart on Maven Repository is out of dat
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
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