Cannot generate report without component property set
-----------------------------------------------------
Key: MPJDEPEND-7
URL: http://jira.codehaus.org/browse/MPJDEPEND-7
Project: maven-jdepend-plugin
Type: Bug
Versions: 1.6
Environment: Windows, Maven 1.1b2, jdk 1.5.0_6
Reporter: stephane bouchet
Hi, when using jdepend the first time ( without any properties set), i cannot
generate report. see the trace below :
[java] [VERBOSE] Executing 'C:\jdk1.5.0_06\jre\bin\java.exe' with arguments:
'-classpath'
'C:\Maven\lib\ant-1.6.5.jar;C:\Maven\lib\ant-junit-1.6.5.jar;C:\Maven\lib\ant-launcher-1.6.5.jar;C:\Maven\lib\ant-trax-1.6.5.jar;C:\Maven\lib\commons-beanutils-1.6.1.jar;C:\Maven\lib\commons-cli-1.0-beta-2.jar;C:\Maven\lib\commons-collections-3.0.jar;C:\Maven\lib\commons-httpclient-2.0.2.jar;C:\Maven\lib\commons-io-1.0.jar;C:\Maven\lib\commons-jelly-1.0.jar;C:\Maven\lib\commons-jelly-tags-ant-1.1.jar;C:\Maven\lib\commons-jelly-tags-define-1.0.jar;C:\Maven\lib\commons-jelly-tags-util-1.1.1.jar;C:\Maven\lib\commons-jelly-tags-xml-1.1.jar;C:\Maven\lib\commons-jexl-1.0.jar;C:\Maven\lib\commons-lang-2.0.jar;C:\Maven\lib\commons-logging-1.0.3.jar;C:\Maven\lib\dom4j-1.4.jar;C:\Maven\lib\endorsed\xercesImpl-2.7.1.jar;C:\Maven\lib\forehead-1.0-beta-5.jar;C:\Maven\lib\log4j-1.2.8.jar;C:\Maven\lib\maven-model-3.0.1.jar;C:\Maven\lib\maven.jar;C:\Maven\lib\plexus-utils-1.0-alpha-2.jar;C:\Maven\lib\wagon-file-1.0-alpha-3.jar;C:\Maven\lib\wagon-http-1.0-alpha-3.jar;C:\Maven\lib\wagon-provider-api-1.0-alpha-3.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\commons-logging\jars\commons-logging-1.0.4.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\commons-io\jars\commons-io-1.1.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\jpox\jars\jpox-1.1.0-beta-4.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\jpox\jars\jpox-enhancer-1.1.0-beta-4.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\log4j\jars\log4j-1.2.8.jar;C:\Documents and
Settings\sbouchet\.maven\repository\jdo\jars\jdo-kodo-2.0.jar;C:\Documents and
Settings\sbouchet\.maven\repository\bcel\jars\bcel-5.1.jar;C:\Documents and
Settings\sbouchet\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Documents and
Settings\sbouchet\.maven\repository\hsqldb\jars\hsqldb-1.8.0.1.jar;C:\Documents
and Settings\sbouchet\.maven\repository\saxon\jars\saxon-8.6.1.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\saxon\jars\saxon-dom-8.6.1.jar;C:\Documents
and Settings\sbouchet\.maven\repository\ant\jars\ant-1.6.5.jar;C:\Documents and
Settings\sbouchet\.maven\repository\ant\jars\ant-launcher-1.6.5.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\ant\jars\ant-trax-1.6.5.jar;C:\Documents
and Settings\sbouchet\.maven\repository\fop\jars\fop-0.91beta.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\avalon-framework\jars\avalon-framework-20020627.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\lucene\jars\lucene-1.4.3.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\aspectj\jars\aspectjrt-1.5.0.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\kodo\jars\kodo-jdo-4.0.0-EA3.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\jta\jars\jta-spec-1.0.1.jar;C:\Documents
and Settings\sbouchet\.maven\repository\jca\jars\jca-1.0.jar;C:\Documents and
Settings\sbouchet\.maven\repository\batik\jars\batik-all-1.6.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\OpenOffice.org\jars\ridl.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\OpenOffice.org\jars\unoil.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\OpenOffice.org\jars\jurt.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\OpenOffice.org\jars\juh.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\OpenOffice.org\jars\sandbox.jar;C:\Documents
and Settings\sbouchet\.maven\repository\jdom\jars\jdom-1.0.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\jdepend\jars\jdepend-2.9.1.jar;C:\eclipse\workspace\castore-core\target\classes'
'jdepend.xmlui.JDepend'
'-components'
''
'-file'
'C:\eclipse\workspace\castore-core/target/jdepend-raw-report.xml'
'C:\eclipse\workspace\castore-core/target/classes'
The ' characters around the executable and arguments are
not part of the command.
[java] [DEBUG] fileset: Setup scanner in dir C:\Maven\lib with patternSet{
includes: [] excludes: [] }
[java] [DEBUG] fileset: Setup scanner in dir C:\Maven\lib with patternSet{
includes: [] excludes: [] }
[java] [DEBUG] Execute:Java13CommandLauncher: Executing
'C:\jdk1.5.0_06\jre\bin\java.exe' with arguments:
'-classpath'
'C:\Maven\lib\ant-1.6.5.jar;C:\Maven\lib\ant-junit-1.6.5.jar;C:\Maven\lib\ant-launcher-1.6.5.jar;C:\Maven\lib\ant-trax-1.6.5.jar;C:\Maven\lib\commons-beanutils-1.6.1.jar;C:\Maven\lib\commons-cli-1.0-beta-2.jar;C:\Maven\lib\commons-collections-3.0.jar;C:\Maven\lib\commons-httpclient-2.0.2.jar;C:\Maven\lib\commons-io-1.0.jar;C:\Maven\lib\commons-jelly-1.0.jar;C:\Maven\lib\commons-jelly-tags-ant-1.1.jar;C:\Maven\lib\commons-jelly-tags-define-1.0.jar;C:\Maven\lib\commons-jelly-tags-util-1.1.1.jar;C:\Maven\lib\commons-jelly-tags-xml-1.1.jar;C:\Maven\lib\commons-jexl-1.0.jar;C:\Maven\lib\commons-lang-2.0.jar;C:\Maven\lib\commons-logging-1.0.3.jar;C:\Maven\lib\dom4j-1.4.jar;C:\Maven\lib\endorsed\xercesImpl-2.7.1.jar;C:\Maven\lib\forehead-1.0-beta-5.jar;C:\Maven\lib\log4j-1.2.8.jar;C:\Maven\lib\maven-model-3.0.1.jar;C:\Maven\lib\maven.jar;C:\Maven\lib\plexus-utils-1.0-alpha-2.jar;C:\Maven\lib\wagon-file-1.0-alpha-3.jar;C:\Maven\lib\wagon-http-1.0-alpha-3.jar;C:\Maven\lib\wagon-provider-api-1.0-alpha-3.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\commons-logging\jars\commons-logging-1.0.4.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\commons-io\jars\commons-io-1.1.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\jpox\jars\jpox-1.1.0-beta-4.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\jpox\jars\jpox-enhancer-1.1.0-beta-4.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\log4j\jars\log4j-1.2.8.jar;C:\Documents and
Settings\sbouchet\.maven\repository\jdo\jars\jdo-kodo-2.0.jar;C:\Documents and
Settings\sbouchet\.maven\repository\bcel\jars\bcel-5.1.jar;C:\Documents and
Settings\sbouchet\.maven\repository\junit\jars\junit-3.8.1.jar;C:\Documents and
Settings\sbouchet\.maven\repository\hsqldb\jars\hsqldb-1.8.0.1.jar;C:\Documents
and Settings\sbouchet\.maven\repository\saxon\jars\saxon-8.6.1.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\saxon\jars\saxon-dom-8.6.1.jar;C:\Documents
and Settings\sbouchet\.maven\repository\ant\jars\ant-1.6.5.jar;C:\Documents and
Settings\sbouchet\.maven\repository\ant\jars\ant-launcher-1.6.5.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\ant\jars\ant-trax-1.6.5.jar;C:\Documents
and Settings\sbouchet\.maven\repository\fop\jars\fop-0.91beta.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\avalon-framework\jars\avalon-framework-20020627.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\lucene\jars\lucene-1.4.3.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\aspectj\jars\aspectjrt-1.5.0.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\kodo\jars\kodo-jdo-4.0.0-EA3.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\jta\jars\jta-spec-1.0.1.jar;C:\Documents
and Settings\sbouchet\.maven\repository\jca\jars\jca-1.0.jar;C:\Documents and
Settings\sbouchet\.maven\repository\batik\jars\batik-all-1.6.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\OpenOffice.org\jars\ridl.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\OpenOffice.org\jars\unoil.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\OpenOffice.org\jars\jurt.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\OpenOffice.org\jars\juh.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\OpenOffice.org\jars\sandbox.jar;C:\Documents
and Settings\sbouchet\.maven\repository\jdom\jars\jdom-1.0.jar;C:\Documents
and
Settings\sbouchet\.maven\repository\jdepend\jars\jdepend-2.9.1.jar;C:\eclipse\workspace\castore-core\target\classes'
'jdepend.xmlui.JDepend'
'-components'
''
'-file'
'C:\eclipse\workspace\castore-core/target/jdepend-raw-report.xml'
'C:\eclipse\workspace\castore-core/target/classes'
The ' characters around the executable and arguments are
not part of the command.
[java]
[java] Directory does not exist:
C:\eclipse\workspace\castore-core/target/jdepend-raw-report.xml
[java]
[java] usage:
[java]
[java] JDepend [-components <components>] [-file <output file>] <directory>
[directory2 [directory 3] ...]
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-pmd-plugin:maven-pmd-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven:maven-changes-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-jxr-plugin:maven-jxr-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven:maven-changelog-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-license-plugin:maven-license-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-developer-activity-plugin:maven-developer-activity-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven:maven-javadoc-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven:maven-multichanges-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-antlr-plugin:maven-antlr-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-jdepend-plugin:maven-jdepend-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven:maven-checkstyle-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-findbugs-plugin:maven-findbugs-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-java-plugin:maven-java-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-file-activity-plugin:maven-file-activity-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-javancss-plugin:maven-javancss-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-tasklist-plugin:maven-tasklist-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in maven:maven-simian-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-junit-report-plugin:maven-junit-report-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven:maven-artifact-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
maven-multiproject-plugin:maven-multiproject-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
statcvs:maven-statcvs-plugin
popping off [EMAIL PROTECTED] for [EMAIL PROTECTED] in
castor-platform:castore-core
Root cause
But when i set the component property in my projet.properties, it works well :
maven.jdepend.components=${maven.build.dest}
In the docs this property is set to ${maven.build.dest} by default !
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]