On Wed, May 11, 2011 at 3:28 PM, jagadeeshg <jagadeesh...@hcl.com> wrote: > 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;
Your pom doesn't declare a dependency on junit. Are you sure your tests actually build and run? --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org