You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(37) |
Oct
(12) |
Nov
|
Dec
(47) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
(9) |
Feb
(6) |
Mar
(1) |
Apr
(85) |
May
(9) |
Jun
|
Jul
(6) |
Aug
(85) |
Sep
(42) |
Oct
(27) |
Nov
(15) |
Dec
(27) |
2004 |
Jan
(39) |
Feb
(52) |
Mar
(43) |
Apr
(32) |
May
(18) |
Jun
(5) |
Jul
(63) |
Aug
(69) |
Sep
(12) |
Oct
(80) |
Nov
(55) |
Dec
(30) |
2005 |
Jan
(27) |
Feb
(6) |
Mar
(43) |
Apr
(5) |
May
(48) |
Jun
(48) |
Jul
(100) |
Aug
(16) |
Sep
(43) |
Oct
(25) |
Nov
(249) |
Dec
(2) |
2006 |
Jan
(9) |
Feb
(2) |
Mar
|
Apr
(26) |
May
(21) |
Jun
(8) |
Jul
(14) |
Aug
(104) |
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
(32) |
Feb
|
Mar
(2) |
Apr
|
May
(38) |
Jun
(2) |
Jul
(9) |
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
2008 |
Jan
|
Feb
(3) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: dion g. <dio...@us...> - 2004-08-01 11:14:33
|
diongillard 04/08/01 04:14:21 maven-plugins/dbunit/src/main/net - New directory |
From: dion g. <dio...@us...> - 2004-08-01 11:14:32
|
diongillard 04/08/01 04:14:21 maven-plugins/dbunit/src/main/net/sourceforge - New directory |
From: dion g. <dio...@us...> - 2004-08-01 11:14:32
|
diongillard 04/08/01 04:14:21 maven-plugins/dbunit/src/main/net/sourceforge/mavenplugins - New directory |
From: dion g. <dio...@us...> - 2004-08-01 10:57:14
|
diongillard 04/08/01 03:57:07 Removed: was40/announcements 1.2.ann 1.0.ann 1.1.ann Log: Remove announcements as they are generated now |
From: dion g. <dio...@us...> - 2004-07-31 13:57:42
|
diongillard 04/07/31 06:57:35 Removed: dbunit/announcements 1.0.ann 1.1.ann Log: Remove announcements as they are generated now |
From: dion g. <dio...@us...> - 2004-07-31 13:29:35
|
diongillard 04/07/31 06:29:29 Modified: . project.properties Log: Common property for plugins to use the taliored announcement template. Maybe we need a new directory for shared plugin stuff like this file, project.properties and plugin-project.xml Revision Changes Path 1.8 +4 -1 maven-plugins/project.properties Index: project.properties =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/project.properties,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- project.properties 13 Jul 2004 06:29:13 -0000 1.7 +++ project.properties 31 Jul 2004 13:29:28 -0000 1.8 @@ -20,4 +20,7 @@ maven.ui.banner.background=white # Add distribution URL for later xdoc releases -maven.xdoc.distributionUrl=http://maven-plugins.sourceforge.net/maven/maven-plugins/plugins \ No newline at end of file +maven.xdoc.distributionUrl=http://maven-plugins.sourceforge.net/maven/maven-plugins/plugins + +# announcement plugin template +maven.announcement.stylesheet.path=${basedir}/../announcement.jsl \ No newline at end of file |
From: dion g. <dio...@us...> - 2004-07-31 13:26:56
|
diongillard 04/07/31 06:26:48 Added: . announcement.jsl Log: Add customized announcement template that uses our repo Revision Changes Path 1.1 maven-plugins/announcement.jsl Index: announcement.jsl =================================================================== <?xml version="1.0"?> <!-- * ======================================================================== * * Copyright 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. * * ======================================================================== --> <jsl:stylesheet select="$doc" xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" xmlns:x="jelly:xml" xmlns:u="jelly:util" xmlns:maven="jelly:maven" xmlns="dummy" trim="true"> <!-- This stylesheet expects the versionVariable to be defined before calling it --> <jsl:template match="document/body/release"> <x:set var="version" select="string(@version)"/> <j:if test="${versionVariable.equals(version)}"> <j:useBean var="formatter" class="org.apache.maven.announcement.Formatter"/> <j:set var="header" trim="true"> The ${pom.groupId} team is pleased to announce the ${pom.name} ${versionVariable} release! </j:set> <j:forEach var="line" items="${formatter.format(header,78)}"> <j:whitespace trim="false">${line} </j:whitespace> </j:forEach> <j:whitespace trim="false"> ${pom.url} </j:whitespace> <j:set var="description" trim="true" value="${pom.description}"/> <j:forEach var="line" items="${formatter.format(description,78)}"> <j:whitespace>${line} </j:whitespace> </j:forEach> <j:whitespace trim="false"> Changes in this version include:</j:whitespace> <x:set var="actions" select="action[@type='add']" sort="@type" /> <j:if test="${!empty(actions)}"> <j:whitespace trim="false"> New Features: </j:whitespace> <j:forEach var="action" items="${actions}"> <x:set var="item" select="."/><jsl:applyTemplates select="$action"/> </j:forEach> </j:if> <x:set var="actions" select="action[@type='fix']" sort="@type" /> <j:if test="${!empty(actions)}"> <j:whitespace trim="false"> Fixed bugs: </j:whitespace> <j:forEach var="action" items="${actions}"> <x:set var="item" select="."/><jsl:applyTemplates select="$action"/> </j:forEach> </j:if> <x:set var="actions" select="action[@type='update']" sort="@type" /> <j:if test="${!empty(actions)}"> <j:whitespace trim="false"> Changes: </j:whitespace> <j:forEach var="action" items="${actions}"> <x:set var="item" select="."/><jsl:applyTemplates select="$action"/> </j:forEach> </j:if> <x:set var="actions" select="action[@type='remove']" sort="@type" /> <j:if test="${!empty(actions)}"> <j:whitespace trim="false"> Removed features: </j:whitespace> <j:forEach var="action" items="${actions}"> <x:set var="item" select="."/><jsl:applyTemplates select="$action"/> </j:forEach> </j:if> <!-- Nasty hack to detect a plugin until pom.type exists --> <u:available file="${basedir}/plugin.jelly"> <j:whitespace trim="false"> To automatically install the plugin, type the following on a single line: maven plugin:download -Dmaven.repo.remote=http://maven-plugins.sourceforge.net/maven/ -DgroupId=${pom.groupId} -DartifactId=${pom.artifactId} -Dversion=${versionVariable} For a manual installation, you can download the plugin here: ${distributionUrl}/${pom.artifactId}-${versionVariable}.jar </j:whitespace> </u:available> <j:whitespace trim="false"> Have fun! -The ${pom.groupId} team </j:whitespace> </j:if> </jsl:template> <jsl:template match="action" trim="true"> <x:set var="body" select="string(.)"/> <j:set var="counter" value=""/> <j:set var="issue"><x:expr select="@issue"/></j:set> <j:set var="dueto"><x:expr select="@due-to"/></j:set> <j:set var="text" trim="true"> ${body} <j:if test="${issue != ''}"><j:whitespace> Issue: ${issue}.</j:whitespace></j:if> <j:if test="${dueto != ''}"><j:whitespace> Thanks to ${dueto}.</j:whitespace></j:if> </j:set> <j:forEach var="line" items="${formatter.format(text,75)}"> <j:choose> <j:when test="${counter.length() == '0'}"> <j:whitespace trim="false"> o ${line}</j:whitespace> </j:when> <j:otherwise> <j:whitespace trim="false"> ${line}</j:whitespace> </j:otherwise> </j:choose> <j:set var="counter" value="${counter}X"/> </j:forEach> </jsl:template> <jsl:template match="@*"/> <jsl:template match="text()"/> </jsl:stylesheet> |
From: Eric P. <de...@us...> - 2004-07-31 11:42:55
|
dep4b 04/07/31 04:42:48 Modified: findbugs/xdocs changes.xml navigation.xml Added: findbugs maven.xml Log: add new sample report to docs Revision Changes Path 1.9 +5 -0 maven-plugins/findbugs/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/xdocs/changes.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- changes.xml 29 Jul 2004 18:09:50 -0000 1.8 +++ changes.xml 31 Jul 2004 11:42:48 -0000 1.9 @@ -6,6 +6,11 @@ </properties> <body> + <release version="0.8.3-SNAPSHOT" date="in cvs"> + <action dev="epugh" type="add"> + Add example Findbugs report to site docs. + </action> + </release> <release version="0.8.2" date="29-JULY-2004"> <action dev="epugh" type="add"> Switch to maven friendly raw report format. Add new "pmd" style report. 1.5 +1 -0 maven-plugins/findbugs/xdocs/navigation.xml Index: navigation.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/xdocs/navigation.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- navigation.xml 29 Jul 2004 18:09:50 -0000 1.4 +++ navigation.xml 31 Jul 2004 11:42:48 -0000 1.5 @@ -13,6 +13,7 @@ <item name="Goals" href="/goals.html"/> <item name="Properties" href="/properties.html"/> <item name="Tasks" href="/tasks.html"/> + <item name="Example Report" href="/sample-findbugs-report.html"/> </menu> <menu name="Downloads"> <item name="0.8.2" href="http://maven-plugins.sourceforge.net/maven/plugins/maven-findbugs-plugin-0.8.2.jar"/> 1.1 maven-plugins/findbugs/maven.xml Index: maven.xml =================================================================== <project default="plugin" xmlns:j="jelly:core" xmlns:m="maven"> <preGoal name="site"> <j:set var="maven.multiproject.includes" value="**\plugin-test\project.xml"/> <j:set var="goal" value="findbugs"/> <attainGoal name="multiproject:goal"/> <mkdir dir="target/generated-xdocs/"/> <copy file="src/plugin-test/target/generated-xdocs/findbugs-report.xml" tofile="target/generated-xdocs/sample-findbugs-report.xml"/> </preGoal> </project> |
From: Eric P. <de...@us...> - 2004-07-31 11:42:11
|
dep4b 04/07/31 04:42:01 Added: findbugs/src/plugin-test/src/java/net/sf/mavenplugins/findbugs ClassWithErrorsForFindbugs.java Removed: findbugs/src/plugin-test/src/java/net/sf/mavenplugins/findbugs MathUtil.java Log: use a more explicitly named class so people understand that it is for testing.. Revision Changes Path 1.1 maven-plugins/findbugs/src/plugin-test/src/java/net/sf/mavenplugins/findbugs/ClassWithErrorsForFindbugs.java Index: ClassWithErrorsForFindbugs.java =================================================================== package net.sf.mavenplugins.findbugs; import java.util.Vector; /** * This is a simple example of a complex class that findbugs will analyze. It * should return one bug looking like: * "M UuF: Unused field: net.sf.mavenplugins.findbugs.MathUtil.mode:. * @author Eric Pugh * * To change the template for this generated type comment go to * Window - Preferences - Java - Code Generation - Code and Comments */ public class ClassWithErrorsForFindbugs{ //Variables private Vector values = new Vector(); private int size; private double value, mean, meanSquare, mode; private String name; /**This general constructor creates a new data with a prescribed name.*/ public ClassWithErrorsForFindbugs(String n){ setName(n); } /**This default constructor creates a new data with the name "X"*/ public ClassWithErrorsForFindbugs(){ this("X"); } /**This method adds a new number to the data set and re-compute the mean, mean square, minimum and maximum values, and order statistics*/ public void setValue(double x){ double a, b; value = x; boolean notInserted = true; //Add the value to the data set for (int i = 0; i < size - 1; i++){ a = ((Double)values.elementAt(i)).doubleValue(); b = ((Double)values.elementAt(i + 1)).doubleValue(); if ((a <= x) & (x >= b)){ values.insertElementAt(new Double(x), i + 1); notInserted = false; } } if (notInserted) values.insertElementAt(new Double(x), 0); //Re-compute mean and mean square mean = ((double)(size - 1) / size) * mean + value / size; meanSquare = ((double)(size - 1) / size) * meanSquare + value * value / size; } /**Get the current value of the data set*/ public double getValue(){ return value; } /**This method returns the i'th value of the data set.*/ public double getValue(int i){ return ((Double)values.elementAt(i)).doubleValue(); } /**Get the mean*/ public double getMean(){ return mean; } /**Get the population variance*/ public double getPVariance(){ double var = meanSquare - mean * mean; if (var < 0) var = 0; return var; } /**Get the population standard deviation*/ public double getPSD(){ return Math.sqrt(getPVariance()); } /**Get the sample variance of the data set*/ public double getVariance(){ return ((double)size / (size - 1)) * getPVariance(); } /**Get the sample standard deviation of the data set*/ public double getSD(){ return Math.sqrt(getVariance()); } /**Get the minimum value of the data set*/ public double getMinValue(){ return getValue(0); } /**Get the maximum value of the data set*/ public double getMaxValue(){ return getValue(size - 1); } /**Reset the data set*/ public void reset(){ values.removeAllElements(); size = 0; } /**Get the number of pointCount in the data set*/ public int getSize(){ return size; } /**Get the name of the data set*/ public void setName(String name){ this.name = name; } /**Set the name of the data set*/ public String getName(){ return name; } } |
From: dion g. <dio...@us...> - 2004-07-30 06:47:54
|
diongillard 04/07/29 23:47:48 Modified: was5/xdocs goals.xml Log: add the infocenter url Revision Changes Path 1.5 +3 -1 maven-plugins/was5/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/xdocs/goals.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- goals.xml 30 Jul 2004 06:41:48 -0000 1.4 +++ goals.xml 30 Jul 2004 06:47:48 -0000 1.5 @@ -41,7 +41,9 @@ <p> See <a href="http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html">developer works</a> - for a list of sample scripts. + for a list of sample scripts, as well as + <a href="http://publib.boulder.ibm.com/infocenter/ws51help/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/welcqrscripts.html">the infocenter</a> + for a reference. </p> </description> </goal> |
From: dion g. <dio...@us...> - 2004-07-30 06:41:54
|
diongillard 04/07/29 23:41:48 Modified: was5/xdocs goals.xml Log: Add sample script link Revision Changes Path 1.4 +5 -0 maven-plugins/was5/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/xdocs/goals.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- goals.xml 30 Jul 2004 06:11:14 -0000 1.3 +++ goals.xml 30 Jul 2004 06:41:48 -0000 1.4 @@ -38,6 +38,11 @@ e.g. <source>maven -Dscript=c:/was/scripts/setUpJDBC.jpy was5:run-script</source> </p> + <p> + See + <a href="http://www.ibm.com/developerworks/websphere/library/samples/SampleScripts.html">developer works</a> + for a list of sample scripts. + </p> </description> </goal> <goal> |
From: dion g. <dio...@us...> - 2004-07-30 06:11:21
|
diongillard 04/07/29 23:11:15 Modified: was5/xdocs goals.xml changes.xml Log: Document script goal stuff Revision Changes Path 1.3 +15 -0 maven-plugins/was5/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/xdocs/goals.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- goals.xml 28 Jul 2004 15:03:37 -0000 1.2 +++ goals.xml 30 Jul 2004 06:11:14 -0000 1.3 @@ -26,6 +26,21 @@ </description> </goal> <goal> + <name>was5:run-script</name> + <description> + <p>Run a wsAdmin script.</p> + <p> + The language of the script defaults to Jython, but + can be specified using <code>${maven.was5.script.lang}</code> + </p> + <p> + The script file to run must be passed in using the variable <code>${script}</code>, + e.g. + <source>maven -Dscript=c:/was/scripts/setUpJDBC.jpy was5:run-script</source> + </p> + </description> + </goal> + <goal> <name>was5:serverStatus</name> <description>Show the status of a WebSphere Appserver</description> </goal> 1.5 +1 -0 maven-plugins/was5/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/xdocs/changes.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- changes.xml 30 Jul 2004 05:28:40 -0000 1.4 +++ changes.xml 30 Jul 2004 06:11:14 -0000 1.5 @@ -7,6 +7,7 @@ </properties> <body> <release version="1.1-SNAPSHOT" date="in CVS"> + <action dev="diongillard" type="add">Add was5:run-script goal</action> <action dev="diongillard" type="fix">Check ${maven.was5.home} is specified before using</action> <action dev="diongillard" type="fix">Check ${maven.was5.home} exists before using</action> </release> |
From: dion g. <dio...@us...> - 2004-07-30 06:03:30
|
diongillard 04/07/29 23:03:21 Modified: was5 plugin.properties plugin.jelly Log: Add a run-script goal Revision Changes Path 1.3 +10 -0 maven-plugins/was5/plugin.properties Index: plugin.properties =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/plugin.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- plugin.properties 28 Jul 2004 15:01:50 -0000 1.2 +++ plugin.properties 30 Jul 2004 06:03:21 -0000 1.3 @@ -99,3 +99,13 @@ # maven.was5.sleep.start=60 maven.was5.sleep.stop=30 + +# run script +maven.was5.script.conntype=${maven.was5.conntype} +maven.was5.script.host=${maven.was5.host} +maven.was5.script.lang=jython +maven.was5.script.password=${maven.was5.password} +maven.was5.script.port=${maven.was5.port} +maven.was5.script.profile=${maven.was5.profile} +maven.was5.script.properties=${maven.was5.properties} +maven.was5.script.username=${maven.was5.username} 1.6 +21 -1 maven-plugins/was5/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/plugin.jelly,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- plugin.jelly 30 Jul 2004 05:28:40 -0000 1.5 +++ plugin.jelly 30 Jul 2004 06:03:21 -0000 1.6 @@ -199,13 +199,13 @@ <ant:wasStopApp application="${maven.was5.stopApp.application}"> <ant:setProperty name="server" value="${maven.was5.stopApp.server}"/> <ant:setProperty name="node" value="${maven.was5.stopApp.node}"/> + <ant:setProperty name="password" value="${maven.was5.stopApp.password}"/> <ant:setProperty name="profile" value="${maven.was5.stopApp.profile}"/> <ant:setProperty name="properties" value="${maven.was5.stopApp.properties}"/> <ant:setProperty name="conntype" value="${maven.was5.stopApp.conntype}"/> <ant:setProperty name="host" value="${maven.was5.stopApp.host}"/> <ant:setProperty name="port" value="${maven.was5.stopApp.port}"/> <ant:setProperty name="username" value="${maven.was5.stopApp.username}"/> - <ant:setProperty name="password" value="${maven.was5.stopApp.password}"/> <ant:setProperty name="wasHome" value="${maven.was5.home}"/> </ant:wasStopApp> @@ -225,4 +225,24 @@ <attainGoal name="was5:startApp"/> <sleep seconds="${maven.was5.sleep.start}"/> </goal> + + <!-- run a script --> + <goal name="was5:run-script"> + <maven:paramCheck fail="yes" value="${script}" message="ERROR: the 'script' variable is not set"/> + <maven:paramCheck fail="yes" value="${maven.was5.home}" message="ERROR: maven.was5.home is not set"/> + <assert:assertFileExists file="${maven.was5.home}" msg=" ERROR: maven.was5.home is not a valid directory"/> + <ant:taskdef name="wsAdmin" classname="com.ibm.websphere.ant.tasks.WsAdmin" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> + <ant:wsAdmin> + <ant:setProperty name="conntype" value="${maven.was5.script.conntype}"/> + <ant:setProperty name="host" value="${maven.was5.script.host}"/> + <ant:setProperty name="lang" value="${maven.was5.script.lang}"/> + <ant:setProperty name="password" value="${maven.was5.script.password}"/> + <ant:setProperty name="port" value="${maven.was5.script.port}"/> + <ant:setProperty name="profile" value="${maven.was5.script.profile}"/> + <ant:setProperty name="properties" value="${maven.was5.script.properties}"/> + <ant:setProperty name="script" value="${script}"/> + <ant:setProperty name="username" value="${maven.was5.script.username}"/> + <ant:setProperty name="wasHome" value="${maven.was5.home}"/> + </ant:wsAdmin> + </goal> </project> \ No newline at end of file |
From: dion g. <dio...@us...> - 2004-07-30 05:28:46
|
diongillard 04/07/29 22:28:40 Modified: was5 plugin.jelly was5/xdocs changes.xml Log: Check maven.was5.home exists before using Revision Changes Path 1.5 +21 -10 maven-plugins/was5/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/plugin.jelly,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- plugin.jelly 30 Jul 2004 05:13:31 -0000 1.4 +++ plugin.jelly 30 Jul 2004 05:28:40 -0000 1.5 @@ -1,11 +1,13 @@ <project default="serverStatus" xmlns:j="jelly:core" xmlns:ant="jelly:ant" - xmlns:assert="assert"> + xmlns:assert="assert" + xmlns:maven="jelly:maven"> <!-- generate deployment and rmic code for an ejb jar --> <goal name="was5:ejbDeploy" description="Generate deployment and RMIC code for an ejb jar"> - <assert:assertFileExists file="${maven.was5.home}"/> + <maven:paramCheck fail="yes" value="${maven.was5.home}" message="ERROR: maven.was5.home is not set"/> + <assert:assertFileExists file="${maven.was5.home}" msg=" ERROR: maven.was5.home is not a valid directory"/> <!-- clean up working dir --> <delete dir="${maven.was5.ejbDeploy.workingdir}" failonerror="false"/> <mkdir dir="${maven.was5.ejbDeploy.workingdir}"/> @@ -48,7 +50,8 @@ <goal name="was5:startServer" description="Start a WebSphere Appserver"> <ant:fail unless="maven.was5.startServer.server">maven.was5.startServer.server must be specified (specifying maven.was5.server is sufficient)</ant:fail> - <assert:assertFileExists file="${maven.was5.home}"/> + <maven:paramCheck fail="yes" value="${maven.was5.home}" message="ERROR: maven.was5.home is not set"/> + <assert:assertFileExists file="${maven.was5.home}" msg=" ERROR: maven.was5.home is not a valid directory"/> <taskdef name="wasStartServer" classname="com.ibm.websphere.ant.tasks.StartServer" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasStartServer server="${maven.was5.startServer.server}"> @@ -69,8 +72,9 @@ </goal> <goal name="was5:stopServer" description="Stop a WebSphere Appserver"> + <maven:paramCheck fail="yes" value="${maven.was5.home}" message="ERROR: maven.was5.home is not set"/> <ant:fail unless="maven.was5.stopServer.server">maven.was5.stopServer.server must be specified (specifying maven.was5.server is sufficient)</ant:fail> - <assert:assertFileExists file="${maven.was5.home}"/> + <assert:assertFileExists file="${maven.was5.home}" msg=" ERROR: maven.was5.home is not a valid directory"/> <taskdef name="wasStopServer" classname="com.ibm.websphere.ant.tasks.StopServer" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasStopServer server="${maven.was5.stopServer.server}"> @@ -94,7 +98,8 @@ <goal name="was5:serverStatus" description="Show the status of a WebSphere Appserver"> <ant:fail unless="maven.was5.serverStatus.server">maven.was5.serverStatus.server must be specified (specifying maven.was5.server is sufficient)</ant:fail> - <assert:assertFileExists file="${maven.was5.home}"/> + <maven:paramCheck fail="yes" value="${maven.was5.home}" message="ERROR: maven.was5.home is not set"/> + <assert:assertFileExists file="${maven.was5.home}" msg=" ERROR: maven.was5.home is not a valid directory"/> <taskdef name="wasServerStatus" classname="com.ibm.websphere.ant.tasks.ServerStatus" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasServerStatus server="${maven.was5.serverStatus.server}"> @@ -111,7 +116,9 @@ </goal> <goal name="was5:listApps" description="List applications installed on a WebSphere Appserver"> - <assert:assertFileExists file="${maven.was5.home}"/> + <maven:paramCheck fail="yes" value="${maven.was5.home}" message="ERROR: maven.was5.home is not set"/> + <assert:assertFileExists file="${maven.was5.home}" msg=" ERROR: maven.was5.home is not a valid directory"/> + <taskdef name="wasListApps" classname="com.ibm.websphere.ant.tasks.ListApplications" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasListApps> <ant:setProperty name="profile" value="${maven.was5.listApps.profile}"/> @@ -128,7 +135,8 @@ <goal name="was5:installApp" description="Install an application on a WebSphere Appserver"> <ant:fail unless="maven.was5.installApp.ear">maven.was5.installApp.ear must be specified</ant:fail> - <assert:assertFileExists file="${maven.was5.home}"/> + <maven:paramCheck fail="yes" value="${maven.was5.home}" message="ERROR: maven.was5.home is not set"/> + <assert:assertFileExists file="${maven.was5.home}" msg=" ERROR: maven.was5.home is not a valid directory"/> <taskdef name="wasInstallApp" classname="com.ibm.websphere.ant.tasks.InstallApplication" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasInstallApp ear="${maven.was5.installApp.ear}"> @@ -145,7 +153,8 @@ <goal name="was5:uninstallApp" description="Uninstall an application on a WebSphere Appserver"> <ant:fail unless="maven.was5.uninstallApp.application">maven.was5.uninstallApp.application must be specified</ant:fail> - <assert:assertFileExists file="${maven.was5.home}"/> + <maven:paramCheck fail="yes" value="${maven.was5.home}" message="ERROR: maven.was5.home is not set"/> + <assert:assertFileExists file="${maven.was5.home}" msg=" ERROR: maven.was5.home is not a valid directory"/> <taskdef name="wasUninstallApp" classname="com.ibm.websphere.ant.tasks.UninstallApplication" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasUninstallApp application="${maven.was5.uninstallApp.application}"> @@ -162,7 +171,8 @@ <goal name="was5:startApp" description="Start an installed application on a WebSphere Appserver"> <ant:fail unless="maven.was5.startApp.application">maven.was5.startApp.application must be specified</ant:fail> - <assert:assertFileExists file="${maven.was5.home}"/> + <maven:paramCheck fail="yes" value="${maven.was5.home}" message="ERROR: maven.was5.home is not set"/> + <assert:assertFileExists file="${maven.was5.home}" msg=" ERROR: maven.was5.home is not a valid directory"/> <taskdef name="wasStartApp" classname="com.ibm.websphere.ant.tasks.StartApplication" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasStartApp application="${maven.was5.startApp.application}"> @@ -182,7 +192,8 @@ <goal name="was5:stopApp" description="Stop an installed application on a WebSphere Appserver"> <ant:fail unless="maven.was5.stopApp.application">maven.was5.stopApp.application must be specified</ant:fail> - <assert:assertFileExists file="${maven.was5.home}"/> + <maven:paramCheck fail="yes" value="${maven.was5.home}" message="ERROR: maven.was5.home is not set"/> + <assert:assertFileExists file="${maven.was5.home}" msg=" ERROR: maven.was5.home is not a valid directory"/> <taskdef name="wasStopApp" classname="com.ibm.websphere.ant.tasks.StopApplication" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasStopApp application="${maven.was5.stopApp.application}"> 1.4 +1 -0 maven-plugins/was5/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/xdocs/changes.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- changes.xml 30 Jul 2004 05:13:31 -0000 1.3 +++ changes.xml 30 Jul 2004 05:28:40 -0000 1.4 @@ -7,6 +7,7 @@ </properties> <body> <release version="1.1-SNAPSHOT" date="in CVS"> + <action dev="diongillard" type="fix">Check ${maven.was5.home} is specified before using</action> <action dev="diongillard" type="fix">Check ${maven.was5.home} exists before using</action> </release> <release version="1.0" date="2004-07-28"> |
From: dion g. <dio...@us...> - 2004-07-30 05:13:40
|
diongillard 04/07/29 22:13:31 Modified: was5 plugin.jelly was5/xdocs changes.xml Log: Check maven.was5.home exists before using Revision Changes Path 1.4 +19 -10 maven-plugins/was5/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/plugin.jelly,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- plugin.jelly 30 Jul 2004 03:50:57 -0000 1.3 +++ plugin.jelly 30 Jul 2004 05:13:31 -0000 1.4 @@ -1,10 +1,11 @@ -<project default="serverStatus" xmlns:j="jelly:core" - xmlns:ant="jelly:ant"> - - <!-- TODO: Add a check to make sure maven.was5.home is a valid directory --> +<project default="serverStatus" + xmlns:j="jelly:core" + xmlns:ant="jelly:ant" + xmlns:assert="assert"> <!-- generate deployment and rmic code for an ejb jar --> <goal name="was5:ejbDeploy" description="Generate deployment and RMIC code for an ejb jar"> + <assert:assertFileExists file="${maven.was5.home}"/> <!-- clean up working dir --> <delete dir="${maven.was5.ejbDeploy.workingdir}" failonerror="false"/> <mkdir dir="${maven.was5.ejbDeploy.workingdir}"/> @@ -46,7 +47,8 @@ </postGoal> <goal name="was5:startServer" description="Start a WebSphere Appserver"> - <ant:fail unless="maven.was5.startServer.server">maven.was.startServer.server must be specified (specifying maven.was5.server is sufficient)</ant:fail> + <ant:fail unless="maven.was5.startServer.server">maven.was5.startServer.server must be specified (specifying maven.was5.server is sufficient)</ant:fail> + <assert:assertFileExists file="${maven.was5.home}"/> <taskdef name="wasStartServer" classname="com.ibm.websphere.ant.tasks.StartServer" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasStartServer server="${maven.was5.startServer.server}"> @@ -67,7 +69,8 @@ </goal> <goal name="was5:stopServer" description="Stop a WebSphere Appserver"> - <ant:fail unless="maven.was5.stopServer.server">maven.was.stopServer.server must be specified (specifying maven.was5.server is sufficient)</ant:fail> + <ant:fail unless="maven.was5.stopServer.server">maven.was5.stopServer.server must be specified (specifying maven.was5.server is sufficient)</ant:fail> + <assert:assertFileExists file="${maven.was5.home}"/> <taskdef name="wasStopServer" classname="com.ibm.websphere.ant.tasks.StopServer" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasStopServer server="${maven.was5.stopServer.server}"> @@ -90,7 +93,8 @@ </goal> <goal name="was5:serverStatus" description="Show the status of a WebSphere Appserver"> - <ant:fail unless="maven.was5.serverStatus.server">maven.was.serverStatus.server must be specified (specifying maven.was5.server is sufficient)</ant:fail> + <ant:fail unless="maven.was5.serverStatus.server">maven.was5.serverStatus.server must be specified (specifying maven.was5.server is sufficient)</ant:fail> + <assert:assertFileExists file="${maven.was5.home}"/> <taskdef name="wasServerStatus" classname="com.ibm.websphere.ant.tasks.ServerStatus" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasServerStatus server="${maven.was5.serverStatus.server}"> @@ -107,6 +111,7 @@ </goal> <goal name="was5:listApps" description="List applications installed on a WebSphere Appserver"> + <assert:assertFileExists file="${maven.was5.home}"/> <taskdef name="wasListApps" classname="com.ibm.websphere.ant.tasks.ListApplications" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasListApps> <ant:setProperty name="profile" value="${maven.was5.listApps.profile}"/> @@ -123,6 +128,7 @@ <goal name="was5:installApp" description="Install an application on a WebSphere Appserver"> <ant:fail unless="maven.was5.installApp.ear">maven.was5.installApp.ear must be specified</ant:fail> + <assert:assertFileExists file="${maven.was5.home}"/> <taskdef name="wasInstallApp" classname="com.ibm.websphere.ant.tasks.InstallApplication" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasInstallApp ear="${maven.was5.installApp.ear}"> @@ -138,7 +144,8 @@ </goal> <goal name="was5:uninstallApp" description="Uninstall an application on a WebSphere Appserver"> - <ant:fail unless="maven.was5.uninstallApp.application">maven.was.uninstallApp.application must be specified</ant:fail> + <ant:fail unless="maven.was5.uninstallApp.application">maven.was5.uninstallApp.application must be specified</ant:fail> + <assert:assertFileExists file="${maven.was5.home}"/> <taskdef name="wasUninstallApp" classname="com.ibm.websphere.ant.tasks.UninstallApplication" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasUninstallApp application="${maven.was5.uninstallApp.application}"> @@ -154,7 +161,8 @@ </goal> <goal name="was5:startApp" description="Start an installed application on a WebSphere Appserver"> - <ant:fail unless="maven.was5.startApp.application">maven.was.startApp.application must be specified</ant:fail> + <ant:fail unless="maven.was5.startApp.application">maven.was5.startApp.application must be specified</ant:fail> + <assert:assertFileExists file="${maven.was5.home}"/> <taskdef name="wasStartApp" classname="com.ibm.websphere.ant.tasks.StartApplication" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasStartApp application="${maven.was5.startApp.application}"> @@ -173,7 +181,8 @@ </goal> <goal name="was5:stopApp" description="Stop an installed application on a WebSphere Appserver"> - <ant:fail unless="maven.was5.stopApp.application">maven.was.stopApp.application must be specified</ant:fail> + <ant:fail unless="maven.was5.stopApp.application">maven.was5.stopApp.application must be specified</ant:fail> + <assert:assertFileExists file="${maven.was5.home}"/> <taskdef name="wasStopApp" classname="com.ibm.websphere.ant.tasks.StopApplication" classpath="${maven.was5.home}/lib/wsanttasks.jar"/> <ant:wasStopApp application="${maven.was5.stopApp.application}"> 1.3 +3 -1 maven-plugins/was5/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/xdocs/changes.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- changes.xml 28 Jul 2004 15:20:17 -0000 1.2 +++ changes.xml 30 Jul 2004 05:13:31 -0000 1.3 @@ -6,11 +6,13 @@ <author email="dio...@us...">dIon Gillard</author> </properties> <body> + <release version="1.1-SNAPSHOT" date="in CVS"> + <action dev="diongillard" type="fix">Check ${maven.was5.home} exists before using</action> + </release> <release version="1.0" date="2004-07-28"> <action dev="diongillard" type="add">Add reinstallApp goal</action> <action dev="rlewisshell" type="add">Create goals that use the Websphere supplied ant tasks</action> </release> - </body> </document> |
From: dion g. <dio...@us...> - 2004-07-30 03:51:07
|
diongillard 04/07/29 20:50:57 Modified: was5 plugin.jelly Log: Add reminder Revision Changes Path 1.3 +2 -0 maven-plugins/was5/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/plugin.jelly,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- plugin.jelly 28 Jul 2004 15:01:50 -0000 1.2 +++ plugin.jelly 30 Jul 2004 03:50:57 -0000 1.3 @@ -1,6 +1,8 @@ <project default="serverStatus" xmlns:j="jelly:core" xmlns:ant="jelly:ant"> + <!-- TODO: Add a check to make sure maven.was5.home is a valid directory --> + <!-- generate deployment and rmic code for an ejb jar --> <goal name="was5:ejbDeploy" description="Generate deployment and RMIC code for an ejb jar"> <!-- clean up working dir --> |
From: Eric P. <de...@us...> - 2004-07-29 18:14:23
|
dep4b 04/07/29 11:14:17 Modified: findbugs project.xml Log: bump version Revision Changes Path 1.11 +1 -1 maven-plugins/findbugs/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/project.xml,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- project.xml 29 Jul 2004 16:31:22 -0000 1.10 +++ project.xml 29 Jul 2004 18:14:17 -0000 1.11 @@ -6,7 +6,7 @@ <id>maven-findbugs-plugin</id> <name>FindBugs Plug-in</name> <!-- groupId is in parent --> - <currentVersion>0.8.2</currentVersion> + <currentVersion>0.8.3-SNAPSHOT</currentVersion> <!-- organization is in parent --> <inceptionYear>2003</inceptionYear> <!-- package, logo are in parent. no gumpRepositoryId --> |
From: Eric P. <de...@us...> - 2004-07-29 18:09:57
|
dep4b 04/07/29 11:09:51 Modified: findbugs plugin.jelly findbugs/src/plugin-test maven.xml project.xml findbugs/xdocs changes.xml navigation.xml Added: findbugs/src/plugin-resources findbugs.jsl Log: Support new xdoc format and pretty "pmd" style report of results Revision Changes Path 1.6 +13 -19 maven-plugins/findbugs/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/plugin.jelly,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- plugin.jelly 29 Jul 2004 16:31:22 -0000 1.5 +++ plugin.jelly 29 Jul 2004 18:09:50 -0000 1.6 @@ -87,8 +87,8 @@ <findbugs classpathref="findbugs.classpath" pluginlistref="findbugs.pluginlist" reportLevel="${maven.findbugs.detail}" - output="xml" - outputFile="${maven.build.dir}/findbugs-raw-report.txt"> + output="xdocs" + outputFile="${maven.build.dir}/findbugs-raw-report.xml"> <j:forEach var="lib" items="${pom.artifacts}"> <auxClasspath path="${lib.path}"/> @@ -111,24 +111,18 @@ <class location="${maven.build.dest}" /> </findbugs> - - <j:set var="genDocs" value="${maven.gen.docs}" /> - <mkdir dir="${genDocs}"/> - <doc:text-xdoc - preamble=" - The following document contains the results of - FindBugs - http://findbugs.sourceforge.net/. - - This isn't formatted like a pretty CheckStyle / JDepend sheet as the FindBugs XML - output is very terse and does not describe what each error type is. We have no desire - to hardcode messages against FindBugs, so we'll wait until FindBugs XML output can be modified - to produce easy to use messages. - " - title="FindBugs Report" - section="FindBugs Results" - output="${genDocs}/findbugs-report.xml" - inputFile="${maven.build.dir}/findbugs-raw-report.txt"/> + <!-- Run JSL to transform the report into XDOC --> + + <echo>Converting the FindBugs report to xdoc ...</echo> + <doc:jsl + input="${maven.build.dir}/findbugs-raw-report.xml" + output="findbugs-report.xml" + stylesheet="${plugin.resources}/findbugs.jsl" + outputMode="xml" + prettyPrint="true" + /> + </goal> <!-- 1.3 +2 -2 maven-plugins/findbugs/src/plugin-test/maven.xml Index: maven.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/src/plugin-test/maven.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- maven.xml 29 Jul 2004 16:31:23 -0000 1.2 +++ maven.xml 29 Jul 2004 18:09:50 -0000 1.3 @@ -16,7 +16,7 @@ </goal> <goal name="test-findbugs"> - <j:set var="expectedFile" value="${maven.build.dir}/findbugs-raw-report.txt"/> + <j:set var="expectedFile" value="${maven.build.dir}/findbugs-raw-report.xml"/> <attainGoal name="findbugs"/> <util:file var="rawReport" name="${maven.build.dir}/test-reports/TEST-net.sf.mavenplugins.findbugs.MockUnitTest.txt" /> @@ -26,7 +26,7 @@ <util:file var="rawReport" name="${expectedFile}" /> <j:if test="${!(rawReport.exists())}"> - <fail>findbugs-raw-report.txt not generated</fail> + <fail>findbugs-raw-report.xml not generated</fail> </j:if> <delete file="${expectedFile}"/> </goal> 1.3 +1 -0 maven-plugins/findbugs/src/plugin-test/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/src/plugin-test/project.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- project.xml 29 Jul 2004 16:31:23 -0000 1.2 +++ project.xml 29 Jul 2004 18:09:50 -0000 1.3 @@ -28,5 +28,6 @@ <reports> <report>maven-findbugs-plugin</report> <report>maven-pmd-plugin</report> + <report>maven-jxr-plugin</report> </reports> </project> 1.8 +3 -0 maven-plugins/findbugs/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/xdocs/changes.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- changes.xml 29 Jul 2004 16:31:23 -0000 1.7 +++ changes.xml 29 Jul 2004 18:09:50 -0000 1.8 @@ -8,6 +8,9 @@ <body> <release version="0.8.2" date="29-JULY-2004"> <action dev="epugh" type="add"> + Switch to maven friendly raw report format. Add new "pmd" style report. + </action> + <action dev="epugh" type="add"> add maven.findbugs.detail which can be low, medium, or high to control which errors are displayed. </action> <action dev="epugh" type="add"> 1.4 +2 -0 maven-plugins/findbugs/xdocs/navigation.xml Index: navigation.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/xdocs/navigation.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- navigation.xml 19 Apr 2004 14:08:42 -0000 1.3 +++ navigation.xml 29 Jul 2004 18:09:50 -0000 1.4 @@ -15,8 +15,10 @@ <item name="Tasks" href="/tasks.html"/> </menu> <menu name="Downloads"> + <item name="0.8.2" href="http://maven-plugins.sourceforge.net/maven/plugins/maven-findbugs-plugin-0.8.2.jar"/> <item name="0.7.2" href="http://maven-plugins.sourceforge.net/maven/plugins/maven-findbugs-plugin-0.7.2.jar"/> <item name="0.7.1" href="http://maven-plugins.sourceforge.net/maven/plugins/maven-findbugs-plugin-0.7.1.jar"/> + </menu> </body> 1.1 maven-plugins/findbugs/src/plugin-resources/findbugs.jsl Index: findbugs.jsl =================================================================== <?xml version="1.0"?> <jsl:stylesheet select="$doc" xmlns:j="jelly:core" xmlns:jsl="jelly:jsl" xmlns:util="jelly:util" xmlns:x="jelly:xml" xmlns:doc="doc" xmlns="dummy" trim="false"> <!-- This needs to be instantiated here to be available in the template matches --> <j:useBean var="mavenTool" class="org.apache.maven.util.MavenTool"/> <j:useBean var="htmlescape" class="org.apache.velocity.anakia.Escape"/> <j:useBean var="fileutil" class="org.apache.velocity.texen.util.FileUtil"/> <j:useBean var="pathtool" class="org.apache.maven.util.DVSLPathTool"/> <jsl:template match="BugCollection"> <document> <properties> <title>FindBugs Results</title> </properties> <body> <section name="FindBugs Results"> <p> The following document contains the results of <a href="http://findbugs.sourceforge.net/">FindBugs</a>. </p> </section> <section name="Summary"> <j:set var="fileCount"><x:expr select="count(file)"/></j:set> <j:set var="errorCount"><x:expr select="count(file/BugInstance)"/></j:set> <table> <tr> <th>Files</th> <th>Errors</th> </tr> <tr> <td><doc:formatAsNumber string="${fileCount}" pattern="0"/></td> <td><doc:formatAsNumber string="${errorCount}" pattern="0"/></td> </tr> </table> </section> <section name="Files"> <table> <tr> <th>Files</th> <th>Violations</th> </tr> <x:set var="files" select="file"/> <!-- x:forEach is busted --> <j:forEach var="file" items="${files}"> <j:set var="name" value="${file.attribute('classname').getValue()}"/> <!--- +1 is for the trailing slash above --> <j:set var="errorCount"><x:expr select="count($file/BugInstance)"/></j:set> <j:if test="${errorCount != 0}"> <tr> <td> <a href="#${name}">${name}</a> </td> <td><doc:formatAsNumber string="${errorCount}" pattern="0"/></td> </tr> </j:if> </j:forEach> </table> <j:forEach var="file" items="${files}"> <x:set var="errorCount" select="count($file/BugInstance)"/> <j:if test="${errorCount != 0}"> <j:set var="name" value="${file.attribute('classname').getValue()}"/> <subsection name="${name}"> <table> <tr> <th>Violation</th> <th>Line</th> </tr> <x:set var="errors" select="$file/BugInstance"/> <j:forEach var="error" items="${errors}"> <tr> <td> <j:set var="errorMessage" value="${error.attribute('message').getValue()}"/> ${htmlescape.getText(errorMessage)} </td> <td> <j:set var="line" value="${error.attribute('line').getValue()}"/> <util:replace var="jxrName" value="${name}" oldChar="." newChar="/"/> <a href="xref/${jxrName}.html#${line}">${line}</a> </td> </tr> </j:forEach> </table> </subsection> </j:if> </j:forEach> </section> </body> </document> </jsl:template> </jsl:stylesheet> |
From: Eric P. <de...@us...> - 2004-07-29 16:31:30
|
dep4b 04/07/29 09:31:24 Modified: findbugs plugin.jelly project.xml plugin.properties project.properties findbugs/xdocs properties.xml changes.xml findbugs/src/plugin-test maven.xml project.xml Log: Prep for 0.8.2 Revision Changes Path 1.5 +9 -6 maven-plugins/findbugs/plugin.jelly Index: plugin.jelly =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/plugin.jelly,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- plugin.jelly 19 Apr 2004 13:35:34 -0000 1.4 +++ plugin.jelly 29 Jul 2004 16:31:22 -0000 1.5 @@ -5,7 +5,7 @@ FindBugs Plugin. Generate FindBugs reports using the FindBugs framework. ============================================================================= --> -<project xmlns:j="jelly:core" xmlns:doc="doc" xmlns:ant="jelly:ant" > +<project xmlns:j="jelly:core" xmlns:doc="doc" xmlns:ant="jelly:ant" xmlns:maven="jelly:maven" > <!-- ======================================================================== @@ -55,8 +55,10 @@ ======================================================================== --> <goal name="maven-findbugs-plugin:report" - description="Generate source code report with FindBugs" prereqs="jar"> - + description="Generate source code report with FindBugs"> + + <attainGoal name="java:compile"/> + <!-- Create the dirs if we start from a previously cleaned project --> <mkdir dir="${maven.build.dir}"/> <mkdir dir="${maven.docs.dest}"/> @@ -84,8 +86,8 @@ <findbugs classpathref="findbugs.classpath" pluginlistref="findbugs.pluginlist" - reportLevel="low" - output="text" + reportLevel="${maven.findbugs.detail}" + output="xml" outputFile="${maven.build.dir}/findbugs-raw-report.txt"> <j:forEach var="lib" items="${pom.artifacts}"> @@ -105,7 +107,8 @@ </j:if> <sourcePath path="${srcDir}"/> </j:if> - <class location="${maven.build.dir}/${maven.final.name}.jar" /> + <!--class location="${maven.build.dir}/${maven.final.name}.jar" /--> + <class location="${maven.build.dest}" /> </findbugs> 1.10 +9 -9 maven-plugins/findbugs/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/project.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- project.xml 13 May 2004 11:50:56 -0000 1.9 +++ project.xml 29 Jul 2004 16:31:22 -0000 1.10 @@ -6,7 +6,7 @@ <id>maven-findbugs-plugin</id> <name>FindBugs Plug-in</name> <!-- groupId is in parent --> - <currentVersion>0.7.2</currentVersion> + <currentVersion>0.8.2</currentVersion> <!-- organization is in parent --> <inceptionYear>2003</inceptionYear> <!-- package, logo are in parent. no gumpRepositoryId --> @@ -49,26 +49,26 @@ <dependency> <groupId>findbugs</groupId> <artifactId>findbugs</artifactId> - <version>0.7.2</version> - <url>http://www.cs.umd.edu/~pugh/java/bugs/</url> + <version>0.8.2</version> + <url>http://findbugs.sourceforge.net/</url> </dependency> <dependency> <groupId>findbugs</groupId> <artifactId>findbugs-ant</artifactId> - <version>0.7.2</version> - <url>http://www.cs.umd.edu/~pugh/java/bugs/</url> + <version>0.8.2</version> + <url>http://findbugs.sourceforge.net/</url> </dependency> <dependency> <groupId>findbugs</groupId> <artifactId>findbugs-coreplugin</artifactId> - <version>0.7.2</version> - <url>http://www.cs.umd.edu/~pugh/java/bugs/</url> + <version>0.8.2</version> + <url>http://findbugs.sourceforge.net/</url> </dependency> <dependency> <groupId>findbugs</groupId> <artifactId>findbugs-bcel</artifactId> - <version>0.7.2</version> - <url>http://www.cs.umd.edu/~pugh/java/bugs/</url> + <version>0.8.2</version> + <url>http://findbugs.sourceforge.net/</url> </dependency> <dependency> <groupId>dom4j</groupId> 1.2 +1 -0 maven-plugins/findbugs/plugin.properties Index: plugin.properties =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/plugin.properties,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- plugin.properties 19 Aug 2003 23:56:13 -0000 1.1 +++ plugin.properties 29 Jul 2004 16:31:22 -0000 1.2 @@ -7,3 +7,4 @@ # enable/disable findbugs maven.findbugs.enable = true +maven.findbugs.detail=medium 1.3 +1 -1 maven-plugins/findbugs/project.properties Index: project.properties =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/project.properties,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- project.properties 17 Feb 2004 13:58:34 -0000 1.2 +++ project.properties 29 Jul 2004 16:31:22 -0000 1.3 @@ -7,4 +7,4 @@ maven.ui.body.foreground=black maven.ui.banner.background=white -maven.repo.remote=http://www.ibiblio.org/maven,http://maven-plugins.sf.net/maven +maven.repo.remote=http://www.ibiblio.org/maven,http://maven-plugins.sourceforge.net/maven 1.2 +10 -1 maven-plugins/findbugs/xdocs/properties.xml Index: properties.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/xdocs/properties.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- properties.xml 19 Aug 2003 23:56:13 -0000 1.1 +++ properties.xml 29 Jul 2004 16:31:23 -0000 1.2 @@ -21,7 +21,16 @@ Specifies whether to run FindBugs or not. Useful when a reactor is used across multiple projects. </p> </td> - </tr> + </tr> + <tr> + <td>maven.findbugs.detail</td> + <td>Yes</td> + <td> + <p> + Specifies whether "low", "medium", or "high" priority bugs should be listed. Defaults to "medium". + </p> + </td> + </tr> </table> </section> 1.7 +12 -0 maven-plugins/findbugs/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/xdocs/changes.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- changes.xml 19 Apr 2004 14:08:42 -0000 1.6 +++ changes.xml 29 Jul 2004 16:31:23 -0000 1.7 @@ -6,6 +6,18 @@ </properties> <body> + <release version="0.8.2" date="29-JULY-2004"> + <action dev="epugh" type="add"> + add maven.findbugs.detail which can be low, medium, or high to control which errors are displayed. + </action> + <action dev="epugh" type="add"> + Instead of running findbugs against a compiled jar, run against the individual classes. This + avoids running the unit tests just to get a compiled jar. + </action> + <action dev="epugh" type="update"> + Use findbugs version 0.8.2. + </action> + </release> <release version="0.7.2" date="19-APR-2004"> <action dev="jlacoste" type="fix"> Fix generated link to findbugs report. 1.2 +6 -0 maven-plugins/findbugs/src/plugin-test/maven.xml Index: maven.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/src/plugin-test/maven.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- maven.xml 17 Feb 2004 14:01:04 -0000 1.1 +++ maven.xml 29 Jul 2004 16:31:23 -0000 1.2 @@ -18,6 +18,12 @@ <goal name="test-findbugs"> <j:set var="expectedFile" value="${maven.build.dir}/findbugs-raw-report.txt"/> <attainGoal name="findbugs"/> + + <util:file var="rawReport" name="${maven.build.dir}/test-reports/TEST-net.sf.mavenplugins.findbugs.MockUnitTest.txt" /> + <j:if test="${rawReport.exists()}"> + <fail>Unit test was run and report created! Should not have run unit tests.</fail> + </j:if> + <util:file var="rawReport" name="${expectedFile}" /> <j:if test="${!(rawReport.exists())}"> <fail>findbugs-raw-report.txt not generated</fail> 1.2 +2 -1 maven-plugins/findbugs/src/plugin-test/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/src/plugin-test/project.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- project.xml 17 Feb 2004 14:01:04 -0000 1.1 +++ project.xml 29 Jul 2004 16:31:23 -0000 1.2 @@ -22,10 +22,11 @@ </developers> <build> - <sourceDirectory>${basedir}/src/java</sourceDirectory> + <sourceDirectory>${basedir}/src/java</sourceDirectory>s </build> <reports> <report>maven-findbugs-plugin</report> + <report>maven-pmd-plugin</report> </reports> </project> |
From: Eric P. <de...@us...> - 2004-07-29 15:17:30
|
dep4b 04/07/29 08:17:23 Modified: findbugs .cvsignore Log: Ignore Eclipse files Revision Changes Path 1.2 +2 -0 maven-plugins/findbugs/.cvsignore Index: .cvsignore =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/findbugs/.cvsignore,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- .cvsignore 21 Aug 2003 12:19:29 -0000 1.1 +++ .cvsignore 29 Jul 2004 15:17:15 -0000 1.2 @@ -1,3 +1,5 @@ target maven.log velocity.log +.classpath +.project |
From: dion g. <dio...@us...> - 2004-07-29 05:11:10
|
diongillard 04/07/28 22:11:04 Modified: was5 project.xml Log: Add myself as a developer Revision Changes Path 1.7 +6 -1 maven-plugins/was5/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/project.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- project.xml 28 Jul 2004 15:08:58 -0000 1.6 +++ project.xml 29 Jul 2004 05:11:04 -0000 1.7 @@ -5,7 +5,7 @@ <id>maven-was5-plugin</id> <name>WebSphere 5 (5.0/5.1) Plugin</name> <!-- groupId is in parent --> - <currentVersion>1.0</currentVersion> + <currentVersion>1.1-SNAPSHOT</currentVersion> <!-- organization is in parent --> <inceptionYear>2004</inceptionYear> <!-- package, logo are in parent. no gumpRepositoryId --> @@ -37,6 +37,11 @@ <name>Richard Lewis-Shell</name> <email>rlewisshell at mac dot com</email> </developer> + <developer> + <id>diongillard</id> + <name>dIon Gillard</name> + <email>dio...@us...</email> + </developer> </developers> <!-- no contributors --> <!-- licenses section not done yet --> |
From: dion g. <dio...@us...> - 2004-07-28 15:20:23
|
diongillard 04/07/28 08:20:17 Modified: was5/xdocs changes.xml Log: updates Revision Changes Path 1.2 +7 -2 maven-plugins/was5/xdocs/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/xdocs/changes.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- changes.xml 9 Mar 2004 11:36:25 -0000 1.1 +++ changes.xml 28 Jul 2004 15:20:17 -0000 1.2 @@ -1,10 +1,15 @@ -<?xml version="1.0"?> +<?xml version="1.0" encoding="UTF-8"?> + <document> <properties> <title>Changes</title> + <author email="dio...@us...">dIon Gillard</author> </properties> - <body> + <release version="1.0" date="2004-07-28"> + <action dev="diongillard" type="add">Add reinstallApp goal</action> + <action dev="rlewisshell" type="add">Create goals that use the Websphere supplied ant tasks</action> + </release> </body> </document> |
From: dion g. <dio...@us...> - 2004-07-28 15:09:05
|
diongillard 04/07/28 08:08:59 Modified: was5 project.xml Log: developer connection for scm:prepare-release Revision Changes Path 1.6 +1 -1 maven-plugins/was5/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/project.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- project.xml 28 Jul 2004 15:07:20 -0000 1.5 +++ project.xml 28 Jul 2004 15:08:58 -0000 1.6 @@ -18,7 +18,7 @@ <repository> <connection>scm:cvs:pserver:ano...@cv...:/cvsroot/maven-plugins:maven-plugins/was5</connection> - <developerConnection>scm:cvs:pserver:${maven.username}@cvs.sourceforge.net:/cvsroot/maven-plugins:maven-plugins/was5</developerConnection> + <developerConnection>scm:cvs:ext:${maven.username}@cvs.sourceforge.net:/cvsroot/maven-plugins:maven-plugins/was5</developerConnection> <url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/maven-plugins/maven-plugins/was5/</url> </repository> |
From: dion g. <dio...@us...> - 2004-07-28 15:07:26
|
diongillard 04/07/28 08:07:20 Modified: was5 project.xml Log: developer connection for scm:prepare-release Revision Changes Path 1.5 +9 -2 maven-plugins/was5/project.xml Index: project.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/project.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- project.xml 12 Mar 2004 01:02:42 -0000 1.4 +++ project.xml 28 Jul 2004 15:07:20 -0000 1.5 @@ -5,7 +5,7 @@ <id>maven-was5-plugin</id> <name>WebSphere 5 (5.0/5.1) Plugin</name> <!-- groupId is in parent --> - <currentVersion>1.0-SNAPSHOT</currentVersion> + <currentVersion>1.0</currentVersion> <!-- organization is in parent --> <inceptionYear>2004</inceptionYear> <!-- package, logo are in parent. no gumpRepositoryId --> @@ -18,10 +18,17 @@ <repository> <connection>scm:cvs:pserver:ano...@cv...:/cvsroot/maven-plugins:maven-plugins/was5</connection> + <developerConnection>scm:cvs:pserver:${maven.username}@cvs.sourceforge.net:/cvsroot/maven-plugins:maven-plugins/was5</developerConnection> <url>http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/maven-plugins/maven-plugins/was5/</url> </repository> - <!-- no versions --> + <versions> + <version> + <id>1.0</id> + <name>1.0</name> + <tag>MAVEN_PLUGINS_WAS5_1_0</tag> + </version> + </versions> <!-- mailingLists are in parent --> <developers> |
From: dion g. <dio...@us...> - 2004-07-28 15:03:46
|
diongillard 04/07/28 08:03:38 Modified: was5/xdocs goals.xml Log: Reinstall app goal Revision Changes Path 1.2 +7 -0 maven-plugins/was5/xdocs/goals.xml Index: goals.xml =================================================================== RCS file: /cvsroot/maven-plugins/maven-plugins/was5/xdocs/goals.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- goals.xml 9 Mar 2004 11:36:25 -0000 1.1 +++ goals.xml 28 Jul 2004 15:03:37 -0000 1.2 @@ -19,6 +19,13 @@ <description>List applications installed on a WebSphere Appserver</description> </goal> <goal> + <name>was5:reinstallApp</name> + <description> + Stop an app, Stop the server, uninstall the app, install the app, start + the server and then start the app + </description> + </goal> + <goal> <name>was5:serverStatus</name> <description>Show the status of a WebSphere Appserver</description> </goal> |