On 17/10/2011 15:25, Martin Höller wrote:
> If anybody is using maven, this might be interesting for you:
> David has released JCommon 1.0.17. I've uploaded it to Sonatype's OSSRH
> staging repository:
> I've also updated JFreeChart's pom.xml to use the new version. Now all tests
> are passing again (thanks David for applying my patch).
> If you want to try building JFreeChart with maven, add this repository to
> your build (see ) and follow the steps from the previous mail.
> Note, that the repository is only a staging repository! If no problems arise
> I'll promote the staged artifacts to the release repository and maven
> - martin
>  http://maven.apache.org/guides/development/guide-testing-releases.html
> On Thursday 13 October 2011 Martin Höller wrote:
>> I just committed a maven pom.xml based on
>> With this pom.xml it is now possible to build, test and package
>> JFreeChart with maven:
>> mvn compile .......... just compile
>> mvn test ............. compile and run tests
>> mvn package .......... compile, test and package including JavaDoc
>> mvn clean ............ remove all generated files (classes, JavaDoc,
>> Currently there is one test failing (DefaultPolarItemRendererTest), which
>> is a known issue and will be fixed soon. Use
>> "-Dmaven.test.failure.ignore" to ignore the test failure for now but
>> still run the tests, or to skip tests entirely add "-DskipTests" to your
>> maven command line.
>> If you use maven 2, you get some goodies if you run
>> "mvn -Dmaven.test.failure.ignore site". There will be a generated
>> web-site in target/site which you should visit with a browser. There will
>> be reports for test results, test coverage and the JavaDoc API. More
>> could be added as needed.
>> Building with maven 3 also works, but generating site would need some
>> more investigation (will do that later).
>> Deploying to a repository like the sonatype OSS is not yet available.
>> I'll have a look at this soon. See also
>> One thing to notice: as pom.xml is currently not configured to be
>> filtered by the ant script, the JFreeChart version has to be set in the
>> pom.xml. It currently is set to 1.0.14-SNAPSHOT which means the
>> development version of upcoming 1.0.14. If we want to support maven, we
>> have to update the version before a release!
>> As a side note for those new to maven: the first build will take some
>> time as maven downloads required dependencies and plugins. Later builds
>> do not need to do this again. Everything is cached in mavens local
>> "~/.m2/repository". After that, compile and test runs much faster with
>> maven as it did with ant!
>> - martin
This is great, thanks Martin! Can you explain to me what "as pom.xml is
currently not configured to be filtered by the ant script" means? Is it
something I can fix?