You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-dev@ws.apache.org by ip...@apache.org on 2004/12/05 21:44:04 UTC

svn commit: r109909 - /incubator/muse/trunk/dev-build.properties /incubator/muse/trunk/maven.xml /incubator/muse/trunk/project.properties /incubator/muse/trunk/project.xml

Author: ips
Date: Sun Dec  5 12:44:01 2004
New Revision: 109909

URL: http://svn.apache.org/viewcvs?view=rev&rev=109909
Log:
added target to generate clover HTML report; added props in dev-build.properties necessary to use licensed version of Clover

Added:
   incubator/muse/trunk/dev-build.properties
Modified:
   incubator/muse/trunk/maven.xml
   incubator/muse/trunk/project.properties
   incubator/muse/trunk/project.xml

Added: incubator/muse/trunk/dev-build.properties
Url: http://svn.apache.org/viewcvs/incubator/muse/trunk/dev-build.properties?view=auto&rev=109909
==============================================================================
--- (empty file)
+++ incubator/muse/trunk/dev-build.properties	Sun Dec  5 12:44:01 2004
@@ -0,0 +1,10 @@
+# -----------------------------------------------------------------------
+# User-specific properties for the Maven build. You can override these
+# properties by passing them on the command line as system parameters 
+# (i.e. -Dkey=value).
+# -----------------------------------------------------------------------
+
+# CLOVER PLUGIN
+#################
+maven.clover.jar = ${maven.repo.local}/clover/jars/clover.jar
+maven.clover.license.path = ${maven.repo.local}/clover/licenses/clover.license

Modified: incubator/muse/trunk/maven.xml
Url: http://svn.apache.org/viewcvs/incubator/muse/trunk/maven.xml?view=diff&rev=109909&p1=incubator/muse/trunk/maven.xml&r1=109908&p2=incubator/muse/trunk/maven.xml&r2=109909
==============================================================================
--- incubator/muse/trunk/maven.xml	(original)
+++ incubator/muse/trunk/maven.xml	Sun Dec  5 12:44:01 2004
@@ -13,9 +13,8 @@
   
   <property environment="env" />
     
-  <property name="test.config.wsdd" location="${maven.build.dir}/test-classes/server-config.wsdd" />
-  <j:set var="dep" value="${pom.getDependency('muse:disk-types')}" />     
-  <j:set var="diskjar" value="${maven.repo.local}/${dep.ArtifactDirectory}/${dep.Type}s/${dep.ArtifactId}-${dep.Version}.${dep.Type}" />
+  <property name="test.config.wsdd" location="${maven.build.dir}/test-classes/server-config.wsdd" />  
+  <j:set var="diskjar" value="${pom.getDependencyPath('muse:disk-types')}" />
 	
   <preGoal name="java:prepare-filesystem">
     <j:if test="${context.getVariable('maven.ajar.src.enabled')}" >
@@ -88,16 +87,15 @@
     <property name="forrest.install.dir" location="${forrest.home}/../.." />
     <property name="forrest.ant.home"    location="${forrest.install.dir}/tools/ant" />
     
-    	<!-- unzip disk.wsdl -->	
-	<mkdir dir="${basedir}/src/site/content/tutorial/disk/src/wsdl" />
-	<echo>Expanding disk.wsdl from jar  ${diskjar}</echo>
-	<unzip src="${diskjar}" dest="${basedir}/src/site/content/tutorial/disk/src/">        
-  	  <patternset>
-   	    <include name="wsdl/disk.wsdl"/>           
-  	  </patternset> 
-    	</unzip>
+    <!-- unzip disk.wsdl -->	
+    <mkdir dir="${basedir}/src/site/content/tutorial/disk/src/wsdl" />
+    <echo>Expanding disk.wsdl from jar  ${diskjar}</echo>
+    <unzip src="${diskjar}" dest="${basedir}/src/site/content/tutorial/disk/src/">        
+      <patternset>
+        <include name="wsdl/disk.wsdl"/>           
+      </patternset> 
+    </unzip>
     	
-
     <java classname="org.apache.tools.ant.Main"
           fork="true"
           failonerror="true"
@@ -445,6 +443,7 @@
   <goal name="test:html-report" 
         prereqs="maven-junit-report-plugin:report, xdoc:transform" 
         description="Runs test plugin and creates an HTML report in target/docs/" />
+  
   <goal name="findbugs:html-report" 
         prereqs="install-findbugs-plugin"
         description="Runs findbugs plugin and creates an HTML report in target/docs/">
@@ -452,6 +451,13 @@
      <attainGoal name="maven-findbugs-plugin:report" />
      <attainGoal name="xdoc:transform" />
   </goal>  
+  
+  <goal name="clover:html-report" 
+        description="Runs clover plugin and creates an HTML report in target/docs/">
+     <attainGoal name="maven-clover-plugin:report" />
+     <attainGoal name="xdoc:transform" />
+  </goal>  
+  
   <!-- NOTE: DO NOT use a prereq for running statcvs:report since it will cause
              a Maven validation error if the statcvs plugin is not yet installed -->
   <goal name="statcvs:html-report" 

Modified: incubator/muse/trunk/project.properties
Url: http://svn.apache.org/viewcvs/incubator/muse/trunk/project.properties?view=diff&rev=109909&p1=incubator/muse/trunk/project.properties&r1=109908&p2=incubator/muse/trunk/project.properties&r2=109909
==============================================================================
--- incubator/muse/trunk/project.properties	(original)
+++ incubator/muse/trunk/project.properties	Sun Dec  5 12:44:01 2004
@@ -37,19 +37,16 @@
 maven.xdoc.date = left
 maven.xdoc.version = ${pom.currentVersion}
 
-# setting distribution URL enables generation of download report
-maven.xdoc.distributionUrl = http://mip.esr.hp.com/wsdm/muse/dist/
-
 # CHANGELOG PLUGIN
 ####################
 # Tells changelog plugin we're using SVN, not CVS
-maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory 
+maven.changelog.factory = org.apache.maven.svnlib.SvnChangeLogFactory 
 
 # CHANGES PLUGIN
 ##################
-# For the changes plugin to link issue with Issuezilla
-maven.changes.issue.template = %URL%/issues/show_bug.cgi?id=%ISSUE%
-
+# For the changes plugin to link issue with JIRA
+maven.changes.issue.template = http://nagoya.apache.org/jira/browse/MUSE-%ISSUE%
+  
 # MAVEN.XML GOALS
 ###################
 site.dest.dir = ${basedir}/../site
@@ -64,5 +61,3 @@
 
 wsrf.disk.types.src.dir = ${maven.build.dir}/generated/src
 wsrf.disk.types.classes.dir = ${maven.build.dir}/generated/classes
-wsrf.disk.types.jar = ${maven.build.dir}/disk-types-SNAPSHOT.jar
-wsrf.disk.types.src.jar = ${maven.build.dir}/disk-types-src-SNAPSHOT.jar

Modified: incubator/muse/trunk/project.xml
Url: http://svn.apache.org/viewcvs/incubator/muse/trunk/project.xml?view=diff&rev=109909&p1=incubator/muse/trunk/project.xml&r1=109908&p2=incubator/muse/trunk/project.xml&r2=109909
==============================================================================
--- incubator/muse/trunk/project.xml	(original)
+++ incubator/muse/trunk/project.xml	Sun Dec  5 12:44:01 2004
@@ -384,6 +384,7 @@
   <reports>
     <!--<report>maven-checkstyle-plugin</report>-->
     <!--<report>maven-changelog-plugin</report>-->
+    <report>maven-clover-plugin</report>
     <!--<report>maven-developer-activity-plugin</report>-->
     <!--<report>maven-file-activity-plugin</report>-->
     <report>maven-javadoc-plugin</report>

---------------------------------------------------------------------
To unsubscribe, e-mail: muse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-dev-help@ws.apache.org