RE: Maven Reporting - DashBoard-Maven-Plugin

2008-02-07 Thread Nagesh, Srinivas (IS Consultant)
Hi Stefan,

Thanks for your response.

As you mentioned I am looking for a common report.When I try using the 
dashboard-maven-plugin, I ran into the following problem

I went to http://mojo.codehaus.org/dashboard-maven-plugin/usage.html

1. Placed the dashboard plugin at the very end of the reporting tag.
2. Ran Maven Site. This actually generated the report before the findbugs 
plugin is executed. Shouldnt it supposed to run it at the last when all the 
other plugins have finished generating their reports?
3. Also as mentioned in the site above, what does this mean? add the dashboard 
report item in the left menu.

Would you happen to have a working example of the dashboard-maven-plugin?

Thanks

Srinivas
x3126

-Original Message-
From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 07, 2008 2:46 AM
To: Maven Users List
Subject: Re: Maven Reporting

Hi,

you may consolidate single reports for all modules (like Javadoc, JXR, 
...) using the aggregate feature of these reports. The question is, 
what do you really want to do? Your modules have different names for 
example, how do you consolidate that?

If you are looking for a common report on JUnit tests, Checkstyle, 
Findbugs etc. have a look at the dashboard-maven-plugin.

regards,

Stefan

Nagesh, Srinivas (IS Consultant) wrote:
 Hi All,
 
 I have a multi-project setup in maven
 
 -- Proj
 -- pom.xml -- Reporting
 -- Proj1
 -- pom.xml
 -- Proj2
 -- pom.xml
 
 When I specify reporting in the parent pom, the reports are generated in
 the respective children projects. I would like to know if there is a
 feature to create a consolidated report of the sub project (Proj1 
 Proj2)?
 
 Thanks
 
 Srini
 

-- 
best regards,

Stefan Seidel
software developer

VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.+49 (341) 9 60 50 07
fax.+49 (341) 9 60 50 92
mail.   [EMAIL PROTECTED]
web.www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

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


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



RE: Maven Reporting - DashBoard-Maven-Plugin

2008-02-07 Thread dvicente

Hi all,

as described in dashboard documentation :
http://mojo.codehaus.org/dashboard-maven-plugin/

you must add this in your pom.xml or settings.xml to use properly the
dashboard plugin:

pluginRepositories
pluginRepository
idCodehaus Snapshots/id
url http://snapshots.repository.codehaus.org//url
/pluginRepository
/pluginRepositories

But even if this configuration is well done, Maven doesn't recognize the
mvn dashboard-report:dashboard command.

and to work fine, you must run mvn
org.codehaus.mojo:dashboard-maven-plugin:1.0-SNAPSHOT:dashboard command
instead of mvn dashboard-report:dashboard.

See :

http://www.nabble.com/Make-a-Codehaus-plugin-works-on-a-local-configuration-tf4297606s177.html
or
http://www.nabble.com/Multimodule-code-coverage-report-tf4511339s177.html
or
http://jira.codehaus.org/browse/MOJO-899

In the project's beginning, i decided to modify the goal prefix to
dashboard-report instead of the default's one by adding in the pom.xml of
the dashboard plugin :

...
build

plugins
plugin
  artifactIdmaven-plugin-plugin/artifactId
  configuration
  goalPrefixdashboard-report/goalPrefix
  /configuration
/plugin
...
/plugins
...
/build


I think it's The Maven resolution problem of dashboard-report.

Maven does not resolve properly the plugin prefix.

it's for that : mvn dashboard-report:dashboard doesn't work correctly.

For the next release , i will post a vote to users@maven.apache.org  and
[EMAIL PROTECTED] mailing lists to delete this goalPrefix and let the
default's one which works fine.

After that, you will have to modify the goal prefix in your command line or
Continuum goals to use the dashboard report :

from dashboard-report:dashboard to dashboard:dashboard
or
from dashboard-report:persist to dashboard:persist

Best Regards

David Vicente

SrinivasN wrote:
 
 I did... the second command never worked... it complains that it cannot
 find the dashboard-report plugin. I even set up the repository as
 mentioned and it downloaded while generating site... but the second
 command doesn't work.
 
 Thanks
 
 Srinivas
 x3126
 
 -Original Message-
 From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 07, 2008 10:00 AM
 To: Maven Users List
 Subject: Re: Maven Reporting - DashBoard-Maven-Plugin
 
 Quote:
 To generate the site and the correct dashboard report, you must run the 
 dashboard report plugin in 2 passes :
 # mvn site
 # mvn dashboard-report:dashboard
 
 You should execute these two commands on the command line.
 
 regards,
 
 Stefan
 
 Nagesh, Srinivas (IS Consultant) wrote:
 Hi Stefan,
 
 Thanks for your response.
 
 As you mentioned I am looking for a common report.When I try using the
 dashboard-maven-plugin, I ran into the following problem
 
 I went to http://mojo.codehaus.org/dashboard-maven-plugin/usage.html
 
 1. Placed the dashboard plugin at the very end of the reporting tag.
 2. Ran Maven Site. This actually generated the report before the findbugs
 plugin is executed. Shouldnt it supposed to run it at the last when all
 the other plugins have finished generating their reports?
 3. Also as mentioned in the site above, what does this mean? add the
 dashboard report item in the left menu.
 
 Would you happen to have a working example of the dashboard-maven-plugin?
 
 Thanks
 
 Srinivas
 x3126
 
 -Original Message-
 From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 07, 2008 2:46 AM
 To: Maven Users List
 Subject: Re: Maven Reporting
 
 Hi,
 
 you may consolidate single reports for all modules (like Javadoc, JXR, 
 ...) using the aggregate feature of these reports. The question is, 
 what do you really want to do? Your modules have different names for 
 example, how do you consolidate that?
 
 If you are looking for a common report on JUnit tests, Checkstyle, 
 Findbugs etc. have a look at the dashboard-maven-plugin.
 
 regards,
 
 Stefan
 
 Nagesh, Srinivas (IS Consultant) wrote:
 Hi All,

 I have a multi-project setup in maven

 -- Proj
 -- pom.xml -- Reporting
 -- Proj1
 -- pom.xml
 -- Proj2
 -- pom.xml

 When I specify reporting in the parent pom, the reports are generated in
 the respective children projects. I would like to know if there is a
 feature to create a consolidated report of the sub project (Proj1 
 Proj2)?

 Thanks

 Srini

 
 
 -- 
 best regards,
 
 Stefan Seidel
 software developer
 
 VUB Printmedia GmbH
 Chopinstraße 4
 D-04103 Leipzig
 Germany
 tel.+49 (341) 9 60 50 07
 fax.+49 (341) 9 60 50 92
 mail.   [EMAIL PROTECTED]
 web.www.vub.de
 
 HRB Köln 24015
 UStID DE 122 649 251
 GF Dr. Achim Preuss Neudorf,
 Dr. Christian Preuss Neudorf
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED

RE: Maven Reporting - DashBoard-Maven-Plugin

2008-02-07 Thread dvicente

Hi all,

as described in dashboard documentation :
http://mojo.codehaus.org/dashboard-maven-plugin/

you must add this in your pom.xml or settings.xml to use properly the
dashboard plugin:

pluginRepositories
pluginRepository
idCodehaus Snapshots/id
url http://snapshots.repository.codehaus.org//url
/pluginRepository
/pluginRepositories

But even if this configuration is well done, Maven doesn't recognize the
mvn dashboard-report:dashboard command.

and to work fine, you must run mvn
org.codehaus.mojo:dashboard-maven-plugin:1.0-SNAPSHOT:dashboard command
instead of mvn dashboard-report:dashboard.

See :

http://www.nabble.com/Make-a-Codehaus-plugin-works-on-a-local-configuration-tf4297606s177.html
or
http://www.nabble.com/Multimodule-code-coverage-report-tf4511339s177.html
or
http://jira.codehaus.org/browse/MOJO-899

In the project's beginning, i decided to modify the goal prefix to
dashboard-report instead of the default's one by adding in the pom.xml of
the dashboard plugin :

...
build

plugins
plugin
  artifactIdmaven-plugin-plugin/artifactId
  configuration
  goalPrefixdashboard-report/goalPrefix
  /configuration
/plugin
...
/plugins
...
/build


I think it's The Maven resolution problem of dashboard-report.

Maven does not resolve properly the plugin prefix.

it's for that : mvn dashboard-report:dashboard doesn't work correctly.

For the next release , i will post a vote to users@maven.apache.org  and
[EMAIL PROTECTED] mailing lists to delete this goalPrefix and let the
default's one which works fine.

After that, you will have to modify the goal prefix in your command line or
Continuum goals to use the dashboard report :

from dashboard-report:dashboard to dashboard:dashboard
or
from dashboard-report:persist to dashboard:persist

Best Regards

David Vicente

SrinivasN wrote:
 
 I did... the second command never worked... it complains that it cannot
 find the dashboard-report plugin. I even set up the repository as
 mentioned and it downloaded while generating site... but the second
 command doesn't work.
 
 Thanks
 
 Srinivas
 x3126
 
 -Original Message-
 From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 07, 2008 10:00 AM
 To: Maven Users List
 Subject: Re: Maven Reporting - DashBoard-Maven-Plugin
 
 Quote:
 To generate the site and the correct dashboard report, you must run the 
 dashboard report plugin in 2 passes :
 # mvn site
 # mvn dashboard-report:dashboard
 
 You should execute these two commands on the command line.
 
 regards,
 
 Stefan
 
 Nagesh, Srinivas (IS Consultant) wrote:
 Hi Stefan,
 
 Thanks for your response.
 
 As you mentioned I am looking for a common report.When I try using the
 dashboard-maven-plugin, I ran into the following problem
 
 I went to http://mojo.codehaus.org/dashboard-maven-plugin/usage.html
 
 1. Placed the dashboard plugin at the very end of the reporting tag.
 2. Ran Maven Site. This actually generated the report before the findbugs
 plugin is executed. Shouldnt it supposed to run it at the last when all
 the other plugins have finished generating their reports?
 3. Also as mentioned in the site above, what does this mean? add the
 dashboard report item in the left menu.
 
 Would you happen to have a working example of the dashboard-maven-plugin?
 
 Thanks
 
 Srinivas
 x3126
 
 -Original Message-
 From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 07, 2008 2:46 AM
 To: Maven Users List
 Subject: Re: Maven Reporting
 
 Hi,
 
 you may consolidate single reports for all modules (like Javadoc, JXR, 
 ...) using the aggregate feature of these reports. The question is, 
 what do you really want to do? Your modules have different names for 
 example, how do you consolidate that?
 
 If you are looking for a common report on JUnit tests, Checkstyle, 
 Findbugs etc. have a look at the dashboard-maven-plugin.
 
 regards,
 
 Stefan
 
 Nagesh, Srinivas (IS Consultant) wrote:
 Hi All,

 I have a multi-project setup in maven

 -- Proj
 -- pom.xml -- Reporting
 -- Proj1
 -- pom.xml
 -- Proj2
 -- pom.xml

 When I specify reporting in the parent pom, the reports are generated in
 the respective children projects. I would like to know if there is a
 feature to create a consolidated report of the sub project (Proj1 
 Proj2)?

 Thanks

 Srini

 
 
 -- 
 best regards,
 
 Stefan Seidel
 software developer
 
 VUB Printmedia GmbH
 Chopinstraße 4
 D-04103 Leipzig
 Germany
 tel.+49 (341) 9 60 50 07
 fax.+49 (341) 9 60 50 92
 mail.   [EMAIL PROTECTED]
 web.www.vub.de
 
 HRB Köln 24015
 UStID DE 122 649 251
 GF Dr. Achim Preuss Neudorf,
 Dr. Christian Preuss Neudorf
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED

RE: Maven Reporting - DashBoard-Maven-Plugin

2008-02-07 Thread nicklist
Try:

mvn org.codehaus.mojo:dashboard-maven-plugin:1.0-SNAPSHOT:dashboard

or whatever version you're using.

With regards,

Nick Stolwijk



-Original Message-
From: Nagesh, Srinivas (IS Consultant) [mailto:[EMAIL PROTECTED]
Sent: Thu 2/7/2008 4:03 PM
To: Maven Users List
Subject: RE: Maven Reporting - DashBoard-Maven-Plugin
 
I did... the second command never worked... it complains that it cannot find 
the dashboard-report plugin. I even set up the repository as mentioned and it 
downloaded while generating site... but the second command doesn't work.

Thanks

Srinivas
x3126

-Original Message-
From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 07, 2008 10:00 AM
To: Maven Users List
Subject: Re: Maven Reporting - DashBoard-Maven-Plugin

Quote:
To generate the site and the correct dashboard report, you must run the 
dashboard report plugin in 2 passes :
# mvn site
# mvn dashboard-report:dashboard

You should execute these two commands on the command line.

regards,

Stefan

Nagesh, Srinivas (IS Consultant) wrote:
 Hi Stefan,
 
 Thanks for your response.
 
 As you mentioned I am looking for a common report.When I try using the 
 dashboard-maven-plugin, I ran into the following problem
 
 I went to http://mojo.codehaus.org/dashboard-maven-plugin/usage.html
 
 1. Placed the dashboard plugin at the very end of the reporting tag.
 2. Ran Maven Site. This actually generated the report before the findbugs 
 plugin is executed. Shouldnt it supposed to run it at the last when all the 
 other plugins have finished generating their reports?
 3. Also as mentioned in the site above, what does this mean? add the 
 dashboard report item in the left menu.
 
 Would you happen to have a working example of the dashboard-maven-plugin?
 
 Thanks
 
 Srinivas
 x3126
 
 -Original Message-
 From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 07, 2008 2:46 AM
 To: Maven Users List
 Subject: Re: Maven Reporting
 
 Hi,
 
 you may consolidate single reports for all modules (like Javadoc, JXR, 
 ...) using the aggregate feature of these reports. The question is, 
 what do you really want to do? Your modules have different names for 
 example, how do you consolidate that?
 
 If you are looking for a common report on JUnit tests, Checkstyle, 
 Findbugs etc. have a look at the dashboard-maven-plugin.
 
 regards,
 
 Stefan
 
 Nagesh, Srinivas (IS Consultant) wrote:
 Hi All,

 I have a multi-project setup in maven

 -- Proj
 -- pom.xml -- Reporting
 -- Proj1
 -- pom.xml
 -- Proj2
 -- pom.xml

 When I specify reporting in the parent pom, the reports are generated in
 the respective children projects. I would like to know if there is a
 feature to create a consolidated report of the sub project (Proj1 
 Proj2)?

 Thanks

 Srini

 

-- 
best regards,

Stefan Seidel
software developer

VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.+49 (341) 9 60 50 07
fax.+49 (341) 9 60 50 92
mail.   [EMAIL PROTECTED]
web.www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

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


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




RE: Maven Reporting - DashBoard-Maven-Plugin

2008-02-07 Thread Nagesh, Srinivas (IS Consultant)
I did... the second command never worked... it complains that it cannot find 
the dashboard-report plugin. I even set up the repository as mentioned and it 
downloaded while generating site... but the second command doesn't work.

Thanks

Srinivas
x3126

-Original Message-
From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 07, 2008 10:00 AM
To: Maven Users List
Subject: Re: Maven Reporting - DashBoard-Maven-Plugin

Quote:
To generate the site and the correct dashboard report, you must run the 
dashboard report plugin in 2 passes :
# mvn site
# mvn dashboard-report:dashboard

You should execute these two commands on the command line.

regards,

Stefan

Nagesh, Srinivas (IS Consultant) wrote:
 Hi Stefan,
 
 Thanks for your response.
 
 As you mentioned I am looking for a common report.When I try using the 
 dashboard-maven-plugin, I ran into the following problem
 
 I went to http://mojo.codehaus.org/dashboard-maven-plugin/usage.html
 
 1. Placed the dashboard plugin at the very end of the reporting tag.
 2. Ran Maven Site. This actually generated the report before the findbugs 
 plugin is executed. Shouldnt it supposed to run it at the last when all the 
 other plugins have finished generating their reports?
 3. Also as mentioned in the site above, what does this mean? add the 
 dashboard report item in the left menu.
 
 Would you happen to have a working example of the dashboard-maven-plugin?
 
 Thanks
 
 Srinivas
 x3126
 
 -Original Message-
 From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, February 07, 2008 2:46 AM
 To: Maven Users List
 Subject: Re: Maven Reporting
 
 Hi,
 
 you may consolidate single reports for all modules (like Javadoc, JXR, 
 ...) using the aggregate feature of these reports. The question is, 
 what do you really want to do? Your modules have different names for 
 example, how do you consolidate that?
 
 If you are looking for a common report on JUnit tests, Checkstyle, 
 Findbugs etc. have a look at the dashboard-maven-plugin.
 
 regards,
 
 Stefan
 
 Nagesh, Srinivas (IS Consultant) wrote:
 Hi All,

 I have a multi-project setup in maven

 -- Proj
 -- pom.xml -- Reporting
 -- Proj1
 -- pom.xml
 -- Proj2
 -- pom.xml

 When I specify reporting in the parent pom, the reports are generated in
 the respective children projects. I would like to know if there is a
 feature to create a consolidated report of the sub project (Proj1 
 Proj2)?

 Thanks

 Srini

 

-- 
best regards,

Stefan Seidel
software developer

VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.+49 (341) 9 60 50 07
fax.+49 (341) 9 60 50 92
mail.   [EMAIL PROTECTED]
web.www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

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


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



Re: Maven Reporting - DashBoard-Maven-Plugin

2008-02-07 Thread VUB Stefan Seidel

Quote:
To generate the site and the correct dashboard report, you must run the 
dashboard report plugin in 2 passes :

# mvn site
# mvn dashboard-report:dashboard

You should execute these two commands on the command line.

regards,

Stefan

Nagesh, Srinivas (IS Consultant) wrote:

Hi Stefan,

Thanks for your response.

As you mentioned I am looking for a common report.When I try using the 
dashboard-maven-plugin, I ran into the following problem

I went to http://mojo.codehaus.org/dashboard-maven-plugin/usage.html

1. Placed the dashboard plugin at the very end of the reporting tag.
2. Ran Maven Site. This actually generated the report before the findbugs 
plugin is executed. Shouldnt it supposed to run it at the last when all the 
other plugins have finished generating their reports?
3. Also as mentioned in the site above, what does this mean? add the dashboard 
report item in the left menu.

Would you happen to have a working example of the dashboard-maven-plugin?

Thanks

Srinivas
x3126

-Original Message-
From: VUB Stefan Seidel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 07, 2008 2:46 AM

To: Maven Users List
Subject: Re: Maven Reporting

Hi,

you may consolidate single reports for all modules (like Javadoc, JXR, 
...) using the aggregate feature of these reports. The question is, 
what do you really want to do? Your modules have different names for 
example, how do you consolidate that?


If you are looking for a common report on JUnit tests, Checkstyle, 
Findbugs etc. have a look at the dashboard-maven-plugin.


regards,

Stefan

Nagesh, Srinivas (IS Consultant) wrote:

Hi All,

I have a multi-project setup in maven

-- Proj
-- pom.xml -- Reporting
-- Proj1
-- pom.xml
-- Proj2
-- pom.xml

When I specify reporting in the parent pom, the reports are generated in
the respective children projects. I would like to know if there is a
feature to create a consolidated report of the sub project (Proj1 
Proj2)?

Thanks

Srini





--
best regards,

Stefan Seidel
software developer

VUB Printmedia GmbH
Chopinstraße 4
D-04103 Leipzig
Germany
tel.+49 (341) 9 60 50 07
fax.+49 (341) 9 60 50 92
mail.   [EMAIL PROTECTED]
web.www.vub.de

HRB Köln 24015
UStID DE 122 649 251
GF Dr. Achim Preuss Neudorf,
Dr. Christian Preuss Neudorf

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