RE: [Cobertura] Cobertura Report Not Showing

2011-02-28 Thread Collins, Russell
Thank you for your help. I am running mvn site.  I have also found a solution 
to my issue.  Basically, I run the plugin during the "package" phase.  This 
link is where I got my information

http://hedemark.net/blog/?cat=4



Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions

"Do or do not, there is no try." - Yoda


-Original Message-
From: Hilco Wijbenga [mailto:hilco.wijbe...@gmail.com]
Sent: Monday, February 28, 2011 11:23 AM
To: Maven Users List
Cc: Collins, Russell
Subject: Re: [Cobertura] Cobertura Report Not Showing

On 25 February 2011 22:58, Collins, Russell  wrote:
>
> I am not able to get this plugin to work properly.  The online documentation 
> is terrible.  When I run the plugin, I can get the results from the clean and 
> check goals.  However, it seems as though the cobertura goal isn't even 
> running.  Here is my xml:
>
> Plugin section
> ...
> 
>org.codehaus.mojo
>cobertura-maven-plugin
>2.4
>
>
>
>clean
>cobertura
>check
>
>
>
>
>
> ...
>
> Report section
>
> ...
> 
>
>
>org.codehaus.mojo
>cobertura-maven-plugin
>
>
>html
>xml
>
>target/site/cobertura
>
>
>
>  
> ...
>
> Once again, the clean and check seem to be functioning but  there is no site 
> created in any format when this is run.  Please help and update the online 
> documentation.  Thanks.

I just have


  


  org.codehaus.mojo
  cobertura-maven-plugin
  2.4
  

  html
  xml

  

  


And it all works fine. You are running "mvn site", right?

***
This message may contain confidential or proprietary information intended only
for the use of the addressee(s) named above or may contain information that is
legally privileged. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you are hereby
notified that reading, disseminating, distributing or copying this message is
strictly prohibited. If you have received this message by mistake, please
immediately notify us by replying to the message and delete the original
message and any copies immediately thereafter.

Thank you.



RE: [Cobertura] Cobertura Report Not Showing

2011-02-28 Thread Collins, Russell
Of course the base maven project is not going to do anything about the third 
party documentation.  However, based on what I have scene, there are a lot of 
questions and answers that are not just base maven.  There are announcements 
about third party tools along with questions that involve third party tools.  
Based on that, I thought that it would be acceptable to ask my questions and 
express to the community that the documentation did not provide enough 
information.


Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions

"Do or do not, there is no try." - Yoda


-Original Message-
From: Hilco Wijbenga [mailto:hilco.wijbe...@gmail.com]
Sent: Monday, February 28, 2011 11:23 AM
To: Maven Users List
Cc: Collins, Russell
Subject: Re: [Cobertura] Cobertura Report Not Showing

> -Original Message-
> From: Wayne Fay [mailto:wayne...@gmail.com]
> Sent: Friday, February 25, 2011 8:26 PM
> To: Maven Users List
> Subject: Re: [Cobertura] Cobertura Report Not Showing
>
>> I am not able to get this plugin to work properly.  The online documentation 
>> is terrible.
> ...
>>org.codehaus.mojo
> ...
>> Please help and update the online documentation.  Thanks.
>
> What exactly do you expect the Maven project to do about your problems
> with a third-party (Codehaus Mojo) plugin??

> -Original Message-
> From: Collins, Russell
> Sent: Monday, February 28, 2011 8:16 AM
> To: 'Maven Users List'
> Subject: RE: [Cobertura] Cobertura Report Not Showing
>
> Well, if you feel that way, then announcing third party plugins should not be 
> allowed on this mailing list as well.

What *do* you expect the Maven project to do about the documentation
of a third party plugin?

***
This message may contain confidential or proprietary information intended only
for the use of the addressee(s) named above or may contain information that is
legally privileged. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you are hereby
notified that reading, disseminating, distributing or copying this message is
strictly prohibited. If you have received this message by mistake, please
immediately notify us by replying to the message and delete the original
message and any copies immediately thereafter.

Thank you.



RE: [Cobertura] Cobertura Report Not Showing

2011-02-28 Thread Collins, Russell
Thank you.


Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions

"Do or do not, there is no try." - Yoda


-Original Message-
From: Ryan Connolly [mailto:ryn...@gmail.com]
Sent: Monday, February 28, 2011 11:22 AM
To: Maven Users List
Subject: Re: [Cobertura] Cobertura Report Not Showing

I think what Wayne was trying to say is that there is a separate list for
help with individual plugins.  In this case you may get more specific help
here:  http://mojo.codehaus.org/cobertura-maven-plugin/mail-lists.html




On Mon, Feb 28, 2011 at 9:16 AM, Collins, Russell wrote:

> ...and one more thing.  If you are not going to help, please don't respond.
>
>
> Russell Collins
> Sr. Software Engineer
> CoreLogic Spatial Solutions
>
> "Do or do not, there is no try." - Yoda
>
>
> -Original Message-
> From: Collins, Russell
> Sent: Monday, February 28, 2011 8:16 AM
> To: 'Maven Users List'
> Subject: RE: [Cobertura] Cobertura Report Not Showing
>
> Well, if you feel that way, then announcing third party plugins should not
> be allowed on this mailing list as well.
>
>
> Russell Collins
> Sr. Software Engineer
> CoreLogic Spatial Solutions
>
> "Do or do not, there is no try." - Yoda
>
> -Original Message-
> From: Wayne Fay [mailto:wayne...@gmail.com]
> Sent: Friday, February 25, 2011 8:26 PM
> To: Maven Users List
> Subject: Re: [Cobertura] Cobertura Report Not Showing
>
> > I am not able to get this plugin to work properly.  The online
> documentation is terrible.
> ...
> >org.codehaus.mojo
> ...
> > Please help and update the online documentation.  Thanks.
>
> What exactly do you expect the Maven project to do about your problems
> with a third-party (Codehaus Mojo) plugin??
>
> [Disclaimer: I also participate in the Codehaus.]
>
> Wayne
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>
> ***
> This message may contain confidential or proprietary information intended
> only
> for the use of the addressee(s) named above or may contain information that
> is
> legally privileged. If you are not the intended addressee, or the person
> responsible for delivering it to the intended addressee, you are hereby
> notified that reading, disseminating, distributing or copying this message
> is
> strictly prohibited. If you have received this message by mistake, please
> immediately notify us by replying to the message and delete the original
> message and any copies immediately thereafter.
>
> Thank you.
> 
>

***
This message may contain confidential or proprietary information intended only
for the use of the addressee(s) named above or may contain information that is
legally privileged. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you are hereby
notified that reading, disseminating, distributing or copying this message is
strictly prohibited. If you have received this message by mistake, please
immediately notify us by replying to the message and delete the original
message and any copies immediately thereafter.

Thank you.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



RE: [Cobertura] Cobertura Report Not Showing

2011-02-28 Thread Collins, Russell
...and one more thing.  If you are not going to help, please don’t respond.


Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions

"Do or do not, there is no try." - Yoda


-Original Message-----
From: Collins, Russell
Sent: Monday, February 28, 2011 8:16 AM
To: 'Maven Users List'
Subject: RE: [Cobertura] Cobertura Report Not Showing

Well, if you feel that way, then announcing third party plugins should not be 
allowed on this mailing list as well.


Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions

"Do or do not, there is no try." - Yoda

-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com]
Sent: Friday, February 25, 2011 8:26 PM
To: Maven Users List
Subject: Re: [Cobertura] Cobertura Report Not Showing

> I am not able to get this plugin to work properly.  The online documentation 
> is terrible.
...
>org.codehaus.mojo
...
> Please help and update the online documentation.  Thanks.

What exactly do you expect the Maven project to do about your problems
with a third-party (Codehaus Mojo) plugin??

[Disclaimer: I also participate in the Codehaus.]

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


***
This message may contain confidential or proprietary information intended only
for the use of the addressee(s) named above or may contain information that is
legally privileged. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you are hereby
notified that reading, disseminating, distributing or copying this message is
strictly prohibited. If you have received this message by mistake, please
immediately notify us by replying to the message and delete the original
message and any copies immediately thereafter.

Thank you.



RE: [Cobertura] Cobertura Report Not Showing

2011-02-28 Thread Collins, Russell
Well, if you feel that way, then announcing third party plugins should not be 
allowed on this mailing list as well.


Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions

"Do or do not, there is no try." - Yoda

-Original Message-
From: Wayne Fay [mailto:wayne...@gmail.com]
Sent: Friday, February 25, 2011 8:26 PM
To: Maven Users List
Subject: Re: [Cobertura] Cobertura Report Not Showing

> I am not able to get this plugin to work properly.  The online documentation 
> is terrible.
...
>org.codehaus.mojo
...
> Please help and update the online documentation.  Thanks.

What exactly do you expect the Maven project to do about your problems
with a third-party (Codehaus Mojo) plugin??

[Disclaimer: I also participate in the Codehaus.]

Wayne

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org


***
This message may contain confidential or proprietary information intended only
for the use of the addressee(s) named above or may contain information that is
legally privileged. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you are hereby
notified that reading, disseminating, distributing or copying this message is
strictly prohibited. If you have received this message by mistake, please
immediately notify us by replying to the message and delete the original
message and any copies immediately thereafter.

Thank you.



[Cobertura] Cobertura Report Not Showing

2011-02-25 Thread Collins, Russell

I am not able to get this plugin to work properly.  The online documentation is 
terrible.  When I run the plugin, I can get the results from the clean and 
check goals.  However, it seems as though the cobertura goal isn't even 
running.  Here is my xml:

Plugin section
...

org.codehaus.mojo
cobertura-maven-plugin
2.4



clean
cobertura
check





...

Report section

...



org.codehaus.mojo
cobertura-maven-plugin


html
xml

target/site/cobertura



  
...

Once again, the clean and check seem to be functioning but  there is no site 
created in any format when this is run.  Please help and update the online 
documentation.  Thanks.



Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions



"Do or do not, there is no try." - Yoda



***
This message may contain confidential or proprietary information intended only
for the use of the addressee(s) named above or may contain information that is
legally privileged. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you are hereby
notified that reading, disseminating, distributing or copying this message is
strictly prohibited. If you have received this message by mistake, please
immediately notify us by replying to the message and delete the original
message and any copies immediately thereafter.

Thank you.



RE: PMD'S or findbug's report

2011-02-24 Thread Collins, Russell
As far as Findbugs goes, also make sure you are using the same thresholds 
(analysis effort) and the same bugs are included/excluded in both places.


Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions

"Do or do not, there is no try." - Yoda

-Original Message-
From: bmat...@gmail.com [mailto:bmat...@gmail.com] On Behalf Of Baptiste MATHUS
Sent: Thursday, February 24, 2011 1:04 AM
To: Maven Users List
Subject: Re: PMD'S or findbug's report

Hi,
Most likely, you might not be using the same version of pmd/findbugs.
As long as you take care to define the same rule you'll have the same
results (at least I can say that for pmd as we're using it almost every
day).

Cheers
Le 24 févr. 2011 01:59, "jy hu"  a écrit :
> Hi Everyone,
>
> I am wondering why there is a maked difference in the checking result
> (Pmd,or Findbugs) between mvn site and plug-in in Eclipse .
>
>
> Here are two checks for the same maven project as bellow ,
> 1, I installed the Pmd and Findbugs's plug-in in Eclipse. then to check
the
> project by using PMD or Findbugs.I found many codes were marked in java
> files.
>
> 2, I typed mvn site via Cmd or run MVN in Eclipse after I configed Pmd and
> FindBugs's report in POM.xml. then I open the index.html in site folder,
but
> only several errors were marked in the Pmd or FindBug's report.
> particularly, PMD's report included an info in a java file.
>
> I don't why, Does anyone tell me what I am missing in MVN? why are they
> difference? Many thanks!
>
> --
> **
> *Warm wishes,*
> *Jaina(hu jun ying)*

***
This message may contain confidential or proprietary information intended only
for the use of the addressee(s) named above or may contain information that is
legally privileged. If you are not the intended addressee, or the person
responsible for delivering it to the intended addressee, you are hereby
notified that reading, disseminating, distributing or copying this message is
strictly prohibited. If you have received this message by mistake, please
immediately notify us by replying to the message and delete the original
message and any copies immediately thereafter.

Thank you.



RE: subversion vs maven

2011-02-16 Thread Collins, Russell
This sounds like you need to do more svn updates on projects you are working 
on.  My suggestion would be to do that SVN update on those projects, resolve 
any conflicts, and then run the maven install.  This will make your version 
into the latest in your repository.

It may also help if you checked in your code a little quicker.  You might be 
letting your code get to far out of sync.


Russell Collins
Sr. Software Engineer
CoreLogic Spatial Solutions

"Do or do not, there is no try." - Yoda

-Original Message-
From: Zilvinas Vilutis [mailto:cika...@gmail.com]
Sent: Wednesday, February 16, 2011 2:41 PM
To: Maven Users List
Cc: Thiessen, Todd (Todd)
Subject: Re: subversion vs maven

> You don't need to do a full build AND you will only be using artifacts in 
> your local repository.  Sounds like its exactly what you want.
Exactly :) When doing it incrementally - that's how it should work
when building only "changed" projects and their dependents, what the
original question was

> So when you get in in the morning, issue a mvn -U install on your module,
> and you will get latest artifacts installed to your local repo (don't have to
> do a full build).  For the rest of the day, do a mvn install to do your module
> builds and snapshots won't get updated."
Yeah, this sounds good when working in a dev environment.

However I'm "on my own" in the customers' office where network latency
is not enough to download the artifacts quickly.

Anyways, in this case - if I changed my code yesterday and did not
commit it to SVN - then the downloaded snapshot would be newer and
will be put in my webapp's "war". In most cases - other people are
updating the same projects as I'm working on so they would almost all
the time match the right projects to be built. And my projects would
not get built during the "full-build" - they would already exist in my
local repo so they would be picked up when building the war.

I guess I will try to make the most use of the maven reactor (
http://docs.codehaus.org/display/MAVEN/Make+Like+Reactor+Mode ) to use
the "--project-list" ( for specifying updated projects ) and
"--also-make-dependents" parameters is exactly what I want.

Thank you all for ideas & help!

Žilvinas Vilutis

Mobile:   (+370) 652 38353
E-mail:   cika...@gmail.com



On Wed, Feb 16, 2011 at 1:22 PM, Thiessen, Todd (Todd)
 wrote:
> Ok. You should be able to achieve the same result by configuring your 
> settings.xml file to never update snapshots. That way you have more control. 
> When you want to get latest snapshots, issue mvn -U install.
>
> You don't need to do a full build AND you will only be using artifacts in 
> your local repository.  Sounds like its exactly what you want.
>
> So when you get in in the morning, issue a mvn -U install on your module, and 
> you will get latest artifacts installed to your local repo (don't have to do 
> a full build).  For the rest of the day, do a mvn install to do your module 
> builds and snapshots won't get updated.
>
> Just a thought. Hope it helps.
>
>> -Original Message-
>> From: Zilvinas Vilutis [mailto:cika...@gmail.com]
>> Sent: Wednesday, February 16, 2011 3:12 PM
>> To: Maven Users List
>> Cc: Thiessen, Todd (Todd)
>> Subject: Re: subversion vs maven
>>
>> Theoretically - yes
>> Practically - no
>>
>> We were using the approach with CI and snapshots from the repo long
>> time ago, however in a lot of cases we came to a case where the
>> project does not compile or work as expected when having different
>> snapshot versions, or takes just a very long time to at least package
>> the project you're working on, so in the long term to make it quick,
>> safe and making sure that all my modified but not committed modules
>> get into the app from my local, not external repo ( in case they're
>> "older" ) - we just do the build on our boxes.
>>
>> Žilvinas Vilutis
>>
>> Mobile:   (+370) 652 38353
>> E-mail:   cika...@gmail.com
>>
>>
>>
>> 2011/2/16 Thiessen, Todd (Todd) :
>> > You could control your dependencies by checking out which ever
>> dependencies you care about and ensure you build those as well.
>>  Normally, you would just want the snapshot versions anyway.  There is
>> also a properity in your settings.xml file to instruct maven to never
>> check for updates. To get latest snapshot artifacts you would have to
>> issue a mvn -U.
>> >
>> > The whole idea here is that you should only every be compiling and
>> downloading what you need. Let your CI server do the full builds. You
>> should rarely have to.
>> >
>> >> -Original Message-
>> >> From: Zilvinas Vilutis [mailto:cika...@gmail.com]
>> >> Sent: Wednesday, February 16, 2011 1:52 PM
>> >> To: Maven Users List
>> >> Cc: Thiessen, Todd (Todd)
>> >> Subject: Re: subversion vs maven
>> >>
>> >> yes, we could set this up.
>> >>
>> >> However there's 2 things:
>> >> - We're working with "SNAPSHOT" versions most of the time with CI you
>> >> can hardly control when to use YOUR code versus from the rep