Removed plugin as it is now hosted on http://statcvs-xml.berlios.de/

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114989 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol committed 2004-04-09 08:46:18 +00:00
1 parent e7d5d40a1f
commit 1e6c1c10f9
11 files changed
-467

No files matched your search

-6
View File
@@ -1,6 +0,0 @@
target
maven.log
velocity.log
build.properties
.classpath
.project
-21
View File
@@ -1,21 +0,0 @@
The Maven team is pleased to announce the StatCvs plugin 1.2 release!
http://maven.apache.org/reference/plugins/statcvs
The Maven StatcCs plugin is a plugin for StatCvs-XML
(http://statcvs-xml.berlios.de/) that generates CVS
statistic reports.
Changes in this version:
o Updated to use maven.docs.*/maven.gen.docs
o Fixed MAVEN-561. Creates maven.build.dir and maven.docs.dest directory
if doesn't exist.
o Fixed MAVEN-493. Register reports only if source, test,... exists.
So, corresponding entrys in menu will appear only if reports are registered.
You can download the StatCvs Maven plugin here:
http://www.ibiblio.org/maven/maven/plugins/maven-statcvs-plugin-1.2.jar
Have fun!
-Vincent
-18
View File
@@ -1,18 +0,0 @@
The Maven team is pleased to announce the StatCvs plugin 2.0 release!
http://maven.apache.org/reference/plugins/statcvs
The Maven StatCvs plugin is a plugin for StatCvs-XML
(http://statcvs-xml.berlios.de/) that generates CVS
statistic reports.
Changes in this version:
o Migrated the plugin to use the new statcvs-xml jar (which generates XML xdoc
output instead of HTML).
You can download the StatCvs Maven plugin here:
http://www.ibiblio.org/maven/maven/plugins/maven-statcvs-plugin-2.0.jar
Have fun!
-Vincent
-120
View File
@@ -1,120 +0,0 @@
<?xml version="1.0"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<!-- ==================================================================
Generate CVS statistics on the current CVS project
Note: Needs JDK 1.4+
================================================================== -->
<project
xmlns:j="jelly:core"
xmlns:maven="jelly:maven"
xmlns:ant="jelly:ant"
xmlns:doc="doc">
<goal name="statcvs:init">
<ant:available property="jdk14" classname="java.lang.CharSequence"/>
<j:if test="${jdk14 != 'true'}">
<ant:fail>The StatCvs plugin requires JDK 1.4+</ant:fail>
</j:if>
</goal>
<goal name="statcvs" prereqs="statcvs:generate"
description="Generate CVS statistics for the current CVS project"/>
<goal name="statcvs:generate" prereqs="statcvs:init"
description="Generate CVS statistics for the current CVS project">
<j:choose>
<j:when test="${maven.mode.online}">
<ant:echo>fetching cvs logs...</ant:echo>
<ant:mkdir dir="${maven.build.dir}"/>
<ant:property name="statcvs.logfile"
value="${maven.build.dir}/statcvs.log"/>
<!-- FIXME : Should we use the connection string defined
in project.xml? -->
<ant:cvs compression="true" command="-q log"
output="${statcvs.logfile}"/>
<property name="maven.docs.dest"
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.dest')}"/>
<property name="maven.gen.docs"
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.gen.docs')}"/>
<ant:mkdir dir="${maven.docs.dest}/statcvs"/>
<ant:mkdir dir="${maven.gen.docs}/statcvs"/>
<j:set var="url" value="${pom.repository.url}"/>
<ant:java classname="net.sf.statcvs.Main" fork="true">
<ant:arg line="-output-dir ${maven.gen.docs}/statcvs"/>
<ant:arg line="-title '${pom.name}'"/>
<ant:arg line="-output-suite xdoc"/>
<ant:arg line="-verbose"/>
<j:if test="${!empty(url)}">
<ant:arg line="-weburl ${pom.repository.url}"/>
</j:if>
<!-- TODO/FIXME: For some reason, it is hanging if I use the
-use-history command line argument -->
<!--ant:arg line="-use-history"/-->
<ant:arg line="${statcvs.include}"/>
<ant:arg value="${statcvs.logfile}"/>
<ant:arg value="${basedir}/"/>
<ant:classpath>
<ant:pathelement location="${plugin.getDependencyPath('statcvs:statcvs-xml')}"/>
<ant:pathelement location="${plugin.getDependencyPath('jfreechart:jfreechart')}"/>
<ant:pathelement location="${plugin.getDependencyPath('jcommon:jcommon')}"/>
<ant:pathelement location="${plugin.getDependencyPath('jdom:jdom')}"/>
</ant:classpath>
</ant:java>
<!-- Copy images -->
<copy todir="${maven.docs.dest}/statcvs" overwrite="yes"
filtering="no">
<fileset dir="${maven.gen.docs}/statcvs">
<include name="**/*.png"/>
</fileset>
</copy>
</j:when>
<j:otherwise>
<ant:echo>StatCvs can obtain statistics in the online-mode only.</ant:echo>
</j:otherwise>
</j:choose>
</goal>
<goal name="maven-statcvs-plugin:register" prereqs="statcvs:init">
<doc:registerReport
name="StatCvs Report"
pluginName="statcvs"
link="statcvs/index"
description="Show some statistics about the CVS repository"/>
</goal>
<goal name="maven-statcvs-plugin:deregister" prereqs="statcvs:init">
<doc:deregisterReport name="StatCvs Report"/>
</goal>
<goal name="statcvs:report" prereqs="statcvs"/>
</project>
-23
View File
@@ -1,23 +0,0 @@
# -------------------------------------------------------------------
# Copyright 2001-2004 The Apache Software Foundation.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# -------------------------------------------------------------------
# -------------------------------------------------------------------
# P R O J E C T P R O P E R T I E S
# -------------------------------------------------------------------
maven.xdoc.date=left
## maven.xdoc.version=${pom.currentVersion}
maven.license.licenseFile=${basedir}/../LICENSE.txt
-111
View File
@@ -1,111 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<project>
<extend>../project.xml</extend>
<pomVersion>3</pomVersion>
<id>maven-statcvs-plugin</id>
<name>Maven StatCvs Plug-in</name>
<currentVersion>2.1</currentVersion>
<description>Generate CVS statistics reports using StatCvs-XML</description>
<shortDescription>Provides CVS statistics</shortDescription>
<logo>http://statcvs-xml.berlios.de/images/statcvslogo.png</logo>
<url>http://maven.apache.org/reference/plugins/statcvs/</url>
<issueTrackingUrl>http://jira.codehaus.org/BrowseProject.jspa?id=10325</issueTrackingUrl>
<siteDirectory>/www/maven.apache.org/reference/plugins/statcvs/</siteDirectory>
<repository>
<connection>scm:cvs:pserver:anoncvs@cvs.apache.org:/home/cvspublic:maven-plugins/statcvs/</connection>
<developerConnection>scm:cvs:ext:${maven.username}@cvs.apache.org:/home/cvs:maven-plugins/statcvs/</developerConnection>
<url>http://cvs.apache.org/viewcvs/maven-plugins/statcvs/</url>
</repository>
<versions>
<version>
<id>1.2</id>
<name>1.2</name>
<tag>MAVEN_STATCVS_1_2</tag>
</version>
<version>
<id>2.0</id>
<name>2.0</name>
<tag>MAVEN_STATCVS_2_0</tag>
</version>
<version>
<id>2.1</id>
<name>2.1</name>
<tag>MAVEN_STATCVS_2_1</tag>
</version>
</versions>
<developers>
<developer>
<name>Vincent Massol</name>
<id>vmassol</id>
<email>vmassol@pivolis.com</email>
<organization>Pivolis</organization>
<roles>
<role>Creator</role>
<role>Java Developer</role>
<role>Release Manager</role>
</roles>
</developer>
<developer>
<name>Emmanuel Venisse</name>
<id>evenisse</id>
<email>emmanuel@venisse.net</email>
<organization/>
<roles>
<role>Java Developer</role>
</roles>
</developer>
</developers>
<contributors>
<contributor>
<name>Tammo van Lessen</name>
<email/>
</contributor>
<contributor>
<name>Steffen Pingel</name>
<email/>
</contributor>
</contributors>
<dependencies>
<dependency>
<groupId>statcvs</groupId>
<artifactId>statcvs-xml</artifactId>
<version>0.9.0</version>
</dependency>
<dependency>
<groupId>jfreechart</groupId>
<artifactId>jfreechart</artifactId>
<groupId>jfreechart</groupId>
<artifactId>jfreechart</artifactId>
<version>0.9.8</version>
</dependency>
<dependency>
<groupId>jcommon</groupId>
<artifactId>jcommon</artifactId>
<version>0.8.3</version>
</dependency>
<dependency>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
<version>b9</version>
</dependency>
</dependencies>
</project>
-1
View File
@@ -1 +0,0 @@
stylesheets
-40
View File
@@ -1,40 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<document>
<properties>
<title>Statcvs</title>
<author email="vmassol@pivolis.com">Vincent Massol</author>
<author email="evenisse@ifrance.com">Emmanuel Venisse</author>
</properties>
<body>
<release version="2.1" date="2004-03-10">
<action dev="dion" type="fix" issue="MPSTATCVS-2">Projects without a repository url should still be able to use statcvs.</action>
</release>
<release version="2.0" date="2003-09-21">
<action dev="vmassol" type="update">Migrated the plugin to use the new statcvs-xml jar (which generates XML xdoc output instead of HTML).</action>
</release>
<release version="1.2" date="2003-09-19">
<action dev="dion" type="update">Updated to use maven.docs.*/maven.gen.docs</action>
<action dev="evenisse" type="fix" due-to="Alwyn Schoeman" issue="MPSTATCVS-1">Creates maven.build.dir and maven.docs.dest directory if doesn't exist.</action>
<action dev="evenisse" type="fix" issue="MPCHANGELOG-9">Register reports only if source, test,... exists. So, corresponding entrys in menu will appear only if reports are registered.</action>
</release>
</body>
</document>
-59
View File
@@ -1,59 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<document>
<properties>
<title>Maven StatCvs Plug-in Goals</title>
<author email="dion@apache.org">dIon Gillard</author>
<author email="vmassol@apache.org">Vincent Massol</author>
</properties>
<body>
<goals>
<goal>
<name>statcvs</name>
<description>
Generate CVS statistics for the current CVS project. You'll need to
run <code>maven xdoc</code> (or <code>maven site</code>) to render
the StatCvs reports as HTML (they are rendered as XML).
</description>
</goal>
<goal>
<name>statcvs:generate</name>
<description>
Same as <code>maven statcvs</code> (see above).
</description>
</goal>
</goals>
<section name="Automatic report generation">
<p>
In order to automaticall generate StatCvs reports when you generate
your project's web site with <code>maven site</code>, add the
following to your <code>project.xml</code>:
</p>
<source><![CDATA[
<reports>
[...]
<report>maven-statcvs-plugin</report>
[...]
</reports>
]]></source>
</section>
</body>
</document>
-37
View File
@@ -1,37 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<project name="Maven StatCvs Plugin">
<title>Maven StatCvs Plugin</title>
<body>
<links>
<item href="http://statcvs-xml.berlios.de/" name="StatCvs-XML"/>
<item href="http://maven.apache.org/" name="Maven"/>
</links>
<menu name="Overview">
<item href="/goals.html" name="Goals"/>
<item href="/properties.html" name="Properties"/>
</menu>
<menu name="Downloads">
<item name="StatCvs Plugin 2.0" href="http://www.ibiblio.org/maven/maven/plugins/maven-statcvs-plugin-2.0.jar"/>
<item name="StatCvs Plugin 1.2" href="http://www.ibiblio.org/maven/maven/plugins/maven-statcvs-plugin-1.2.jar"/>
</menu>
</body>
</project>
-31
View File
@@ -1,31 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
/*
* Copyright 2001-2004 The Apache Software Foundation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->
<document>
<properties>
<title>statcvs Properties</title>
<author email="dion@apache.org">dIon Gillard</author>
</properties>
<body>
<section name="statcvs Settings">
<p>There are no settings to customize this plugin</p>
</section>
</body>
</document>