Maven Issue with javadoc

2011-05-11 Thread Jagadeesh Naidu G
While iam doing release my application iam getting error as below. Please
help me out how to solve this issue.

  Loading source files for package
com.mtvi.mediabus.anystream.restservices...
Constructing Javadoc information...
1 error
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Error during page generation

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
Please remove or make sure it appears in the correct subdirectory of
the classpath.
import com.mtvi.mediabus.anystream.AnystreamResponseHandler;
   ^

Command line was:cd
/u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/target/site/testapidocs
 /usr/java/jdk1.5.0_07/jre/../bin/javadoc @options @packages
[INFO]

[INFO] For more information, run Maven with the -e switch
[INFO]

[INFO] Total time: 16 minutes 23 seconds
[INFO] Finished at: Tue May 10 07:27:44 EDT 2011
[INFO] Final Memory: 202M/509M
[INFO]

2011-05-10 07:27:45.551::INFO:  Shutdown hook executing
2011-05-10 07:27:45.552::INFO:  Shutdown hook complete
[INFO]

[ERROR] BUILD ERROR
[INFO]

[INFO] Maven execution failed, exit code: '1'

[INFO]

[INFO] For more information, run Maven with the -e switch 


Hi please find the pom.xml below for the above issue.






project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd;
parent
groupIdcom.mtvi.mediabus/groupId
artifactIdmediabus/artifactId
version1.0.24-SNAPSHOT/version
/parent
modelVersion4.0.0/modelVersion
artifactIdmediabus-transcoder/artifactId
namemediabus-transcoder/name
version1.0.24-SNAPSHOT/version
descriptionMedia Bus Transcoder service/description
   
profiles
profile
   
idbuildWithIntegrationTestCoverage/id
activation
property
   
namebuildWithIntegrationTestCoverage/name
valuetrue/value
/property
/activation
build
plugins
plugin
   
groupIdorg.codehaus.mojo/groupId
   
artifactIdcobertura-maven-plugin/artifactId
version2.3/version
executions
execution
   
idinstrument-classes/id
   
phasepackage/phase
goals
   
goalinstrument/goal
/goals
/execution
/executions
/plugin
   
plugin
   
groupIdorg.mortbay.jetty/groupId
   
artifactIdmaven-jetty-plugin/artifactId
dependencies
dependency
  

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]/user/SendEmail.jtp?type=nodenode=4387515i=0by-user=t
For additional commands, e-mail: [hidden 
email]/user/SendEmail.jtp?type=nodenode=4387515i=1by-user=t



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 
herehttp://maven.40175.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=4386627code=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.