The following issue has been updated:

    Updater: dion gillard (mailto:[EMAIL PROTECTED])
       Date: Mon, 4 Aug 2003 8:48 AM
    Comment:
Wouldn't it be better if the jdepend.properties was specified as a project property, 
rather than requiring a pre-goal?
    Changes:
             Fix Version changed to 1.1
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-631&page=history

---------------------------------------------------------------------
View the issue:

  http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-631


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-631
    Summary: more elements in jdepend classpath
       Type: Improvement

     Status: Unassigned
   Priority: Minor

 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             plugin-other
   Fix Fors:
             1.1
   Versions:
             1.0-beta-10

   Assignee: 
   Reporter: Norbert Pabis

    Created: Tue, 29 Jul 2003 7:19 AM
    Updated: Mon, 4 Aug 2003 8:48 AM

Description:
jdepend search for its jdepend.properties through classloader,
so it is good idea to add ${maven.build.dest} to classpath, 
to enable setting properties per project.

You can then add
<preGoal name="maven-jdepend-plugin:report">
  <copy failonerror="false" file="jdepend.properties" 
tofile="${maven.build.dest}/jdepend.properties"/>
</preGoal>

and you no longer have to have jdepend.properties in your home directory.

Patch:
--- src/plugins-build/jdepend/plugin.jelly.orig Tue Jul 29 14:08:49 2003
+++ src/plugins-build/jdepend/plugin.jelly      Tue Jul 29 14:09:10 2003
@@ -42,6 +42,7 @@
         <ant:path refid="maven-classpath"/>
         <ant:path refid="maven.dependency.classpath"/>
         <ant:pathelement path="${plugin.getDependencyPath('jdepend')}"/>
+        <ant:pathelement path="${maven.build.dest}"/>
       </ant:classpath>
     </ant:java>



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to