I'm trying add JFreeChart
to maven to create a piechart in a project.
However, I coudn't do that in eclipse or intellij idea. What do I have to do?
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.erkanakin.odev1</groupId>
<artifactId>Odev1</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Odev1</name>
<description>bil211</description>
<dependencies>
<dependency>
<groupId>jfree</groupId>
<artifactId>/jfreechart</artifactId>
<version>1.0.13</version>
</dependency>
</dependencies>
</project>
JFreeChart
version 1.0.19 is current. This repository suggests the following:Subsequent versions may be found here.