|
From: Markus K. <mkn...@us...> - 2008-12-21 21:22:05
|
Hello!
First, CodeCover is a great tool, but a Maven plugin is a killer feature
to me. Writing a Maven plugin which simply wraps the Ant tasks shouldn't
be a problem, but there need to be a way to load CodeCover plugins
directly from a jar instead of just let CodeCover load the plugins from
a specified directory, so CodeCover plugins can be stored in a Maven
repository. How hard is it the add such a function?
Also, CodeCover needs to be deployed to a (public) Maven repository. I
suggest the following structure:
GroupId for Codecover: org.codecover
ArtifactIds: codecover-core, codecover-ant, codecover-junit
GroupId for Report Plugins: org.codecover.report
ArtifactIds: html, cvs
GroupId for Instrumentation Plugins: org.codecover.instrumentation
ArtifactIds: jdk15, cobol85
E.g. the directory structure in the repository for codecover-core would
look like this:
org/
codecover/
codecover-core/
0.1/
codecover-core-0.1.pom
codecover-core-0.1.jar
codecover-core-0.1-src.jar
codecover-core-0.1-javadoc.jar
The POM file describes meta data like groupId, artifactId, version,
packaging, licence, dependencies, etc.
Example:
http://mirrors.ibiblio.org/pub/mirrors/maven2/net/sourceforge/cobertura/cobertura/1.9/cobertura-1.9.pom
(Cobertura also uses Ant, so the POM doesn't contain much informations)
I could take care of the deployment to a maven repository, but first the
plugin issue needs to be solved...
Best regards,
Markus
|