From 12e00207ca6b61f4cbad65abdabe07e17b2e5fe1 Mon Sep 17 00:00:00 2001 From: Tim Molter <tim.molter@gmail.com> Date: Sun, 13 Jan 2013 00:00:36 +0100 Subject: [PATCH] prepare for multi module --- README.md | 30 +++++++++++++++++------------- pom.xml | 20 +++++++++++++++----- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index bb982515..94a10171 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ -# XChart +## XChart A Simple Charting Library for Java -# Description +## Description XChart is a light-weight and convenient library for plotting data. Its focus is on simplicity and ease-of-use, requiring only two lines of code to save or display a basic default chart. Usage is very simple: Create a Chart instance, add a series of data to it, and either save it or display it. -# Example +## Example double[] xData = new double[] { 0.0, 1.0, 2.0 }; double[] yData = new double[] { 2.0, 1.0, 0.0 }; @@ -24,7 +24,7 @@ Usage is very simple: Create a Chart instance, add a series of data to it, and e Now go ahead and [study some more examples](http://xeiam.com/xchart_examplecode.jsp), [download the thing](http://xeiam.com/xchart_changelog.jsp) and [provide feedback](https://github.com/timmolter/XChart/issues). -# Features +## Features * no additional dependencies * ~50KB Jar * line charts @@ -34,11 +34,11 @@ Now go ahead and [study some more examples](http://xeiam.com/xchart_examplecode. * multiple series * extensive customization -# Getting Started -## Non-Maven +## Getting Started +### Non-Maven Download Jar: http://xeiam.com/xchart.jsp -## Maven +### Maven The XChart release artifacts are hosted on Maven Central. Add the XChart library as a dependency to your pom.xml file: @@ -60,15 +60,19 @@ For snapshots, add the following to your pom.xml file: <dependency> <groupId>com.xeiam</groupId> <artifactId>xchart</artifactId> - <version>1.2.2-SNAPSHOT</version> + <version>1.3.0-SNAPSHOT</version> </dependency> -# Building +## Building mvn clean package mvn javadoc:javadoc -# Bugs -Please report any bugs or submit feature requests to [XChart's Github issue tracker](https://github.com/timmolter/XChart/issues). +## Bugs +Please report any bugs or submit feature requests to [XChart's Github issue tracker](https://github.com/timmolter/XChart/issues). -# Donations -17dQktcAmU4urXz7tGk2sbuiCqykm3WLs6 \ No newline at end of file +## More Info +Sonar Code Quality: http://sonar.xeiam.com/ +Jenkins CI: http://ci.xeiam.com/ + +## Donations +17dQktcAmU4urXz7tGk2sbuiCqykm3WLs6 \ No newline at end of file diff --git a/pom.xml b/pom.xml index 320399c0..c96eb763 100644 --- a/pom.xml +++ b/pom.xml @@ -1,12 +1,13 @@ -<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"> +<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> - <name>XChart</name> - <groupId>com.xeiam</groupId> + <groupId>com.xeiam.xchart</groupId> <artifactId>xchart</artifactId> - <version>1.2.2-SNAPSHOT</version> - <packaging>jar</packaging> + <version>1.3.0-SNAPSHOT</version> + <packaging>pom</packaging> + <name>XChart</name> <description>Basic Charts for Java Applications</description> <url>http://xeiam.com/xchart.jsp</url> <inceptionYear>2011</inceptionYear> @@ -21,6 +22,7 @@ <name>Tim Molter</name> </developer> </developers> + <licenses> <license> <name>The Apache Software License, Version 2.0</name> @@ -29,19 +31,27 @@ <comments>A business-friendly OSS license</comments> </license> </licenses> + <issueManagement> <system>GitHub</system> <url>https://github.com/timmolter/XChart/issues</url> </issueManagement> + <scm> <connection>scm:git:git@github.com:timmolter/XChart.git</connection> <developerConnection>scm:git:git@github.com:timmolter/XChart.git</developerConnection> <url>git@github.com:timmolter/XChart.git</url> </scm> + <ciManagement> <url>http://ci.xeiam.com/</url> </ciManagement> + <modules> + <module>xchart-core</module> + <module>xchart-examples</module> + </modules> + <build> <plugins> <!-- Ensure compilation is done under Java 6 in all environments --> -- GitLab