Maven Issue with javadoc

2011-05-11 Thread Jagadeesh Naidu G
com/mtvi/mediabus/anystream/*.class





instrument
   
post-integration-test

   
instrument
   
cobertura
check





org.apache.maven.plugins
   
maven-surefire-plugin

true



surefire-it
   
integration-test

test


false





org.apache.maven.plugins
   
maven-javadoc-plugin

true



org.mortbay.jetty
maven-jetty-plugin
6.1.20

   
10
STOP
1800




start-jetty
   
pre-integration-test

stop
run


   
0
   
true



stop-jetty
   
post-integration-test

stop






 

--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-Issue-with-javadoc-tp4386627p4386627.html
Sent from the Maven - Users mailing list archive at Nabble.com.

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



Re: Maven Issue with javadoc

2011-05-11 Thread Wayne Fay
> /u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/target/generated-classes/cobertura/com/mtvi/mediabus/anystream/AnystreamResponseHandler.class
>        class file contains wrong class: org.junit.Test
>        Please remove or make sure it appears in the correct subdirectory of
> the classpath.
>        import com.mtvi.mediabus.anystream.AnystreamResponseHandler;

Maven simply calls our to Javadoc to run this task. Most likely your
Java code has a problem or perhaps there's a bug in Javadoc.

Wayne

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



RE: Maven Issue with javadoc

2011-05-11 Thread Jagadeesh Naidu G
Hi,


Please help me out if you have any idea?. Same code is working fine for mvn 
site and mvn javadoc:javadoc and its not working for only mvn release:perform.




Thanks & Regards,
Jagadeesh G. | Lead Engineer  | HCL Technologies Ltd. | ETA-2 Navaur|
Chennai, India. |  Mobile: +91-9840124794 Land:+91 4447464105 | 
www.hcl.<http://www.hcl.in/>com

[cid:image001.jpg@01CC1016.B43997E0]

From: Wayne Fay [via Maven] 
[mailto:ml-node+4387515-1373628335-207...@n5.nabble.com]
Sent: Wednesday, May 11, 2011 8:01 PM
To: Jagadeesh Guthikonda
Subject: Re: Maven Issue with javadoc

> /u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/target/generated-classes/cobertura/com/mtvi/mediabus/anystream/AnystreamResponseHandler.class
>class file contains wrong class: org.junit.Test
>Please remove or make sure it appears in the correct subdirectory of
> the classpath.
>import com.mtvi.mediabus.anystream.AnystreamResponseHandler;

Maven simply calls our to Javadoc to run this task. Most likely your
Java code has a problem or perhaps there's a bug in Javadoc.

Wayne

-
To unsubscribe, e-mail: [hidden 
email]
For additional commands, e-mail: [hidden 
email]



If you reply to this email, your message will be added to the discussion below:
http://maven.40175.n5.nabble.com/Maven-Issue-with-javadoc-tp4386627p4387515.html
To unsubscribe from Maven Issue with javadoc, click 
here<http://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4386627&code=amFnYWRlZXNoLmdrQGhjbC5jb218NDM4NjYyN3wtMTkyNjU4NzUzOA==>.


::DISCLAIMER::
---

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and
attachments please check them for viruses and defect.

---


--
View this message in context: 
http://maven.40175.n5.nabble.com/Maven-Issue-with-javadoc-tp4386627p4387530.html
Sent from the Maven - Users mailing list archive at Nabble.com.

Re: Maven Issue with javadoc

2011-05-11 Thread Wendy Smoak
On Wed, May 11, 2011 at 3:02 AM, Jagadeesh Naidu G  wrote:
>    Embedded error: Error rendering Maven report: Exit code: 1 -
> /u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/src/test/java/com/mtvi/mediabus/anystream/AnystreamResponseHandlerTest.java:11:
> cannot access com.mtvi.mediabus.anystream.AnystreamResponseHandler
>        bad class file:
> /u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/target/generated-classes/cobertura/com/mtvi/mediabus/anystream/AnystreamResponseHandler.class
>        class file contains wrong class: org.junit.Test

The location of the bad class file is ...generated-classes/cobertura... .

Try disabling the Coberura plugin and see if the problem goes away.
Then look at your configuration for both Cobertura and Javadoc.  Do
you even *want* Javadoc for generated classes?

-- 
Wendy

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