maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barrie Treloar <baerr...@gmail.com>
Subject Re: Maven Issue
Date Thu, 12 May 2011 00:24:00 GMT
On Wed, May 11, 2011 at 3:28 PM, jagadeeshg <jagadeesh.gk@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-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message