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> <groupId>com.mtvi.mediabus</groupId> <artifactId>mediabus</artifactId> <version>1.0.24-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>mediabus-transcoder</artifactId> <name>mediabus-transcoder</name> <version>1.0.24-SNAPSHOT</version> <description>Media Bus Transcoder service</description> <profiles> <profile> <id>buildWithIntegrationTestCoverage</id> <activation> <property> <name>buildWithIntegrationTestCoverage</name> <value>true</value> </property> </activation> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.3</version> <executions> <execution> <id>instrument-classes</id> <phase>package</phase> <goals> <goal>instrument</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <dependencies> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.3</version> <type>jar</type> </dependency> </dependencies> </plugin> </plugins> </build> </profile> </profiles> <repositories> <repository> <id>JBossMavenRepo</id> <name>JBoss Maven2 repo</name> <url>http://repository.jboss.org/maven2</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <dependencies> <dependency> <groupId>com.thoughtworks.xstream</groupId> <artifactId>xstream</artifactId> <version>1.3.1</version> </dependency> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.jdom</groupId> <artifactId>jdom</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>javax.jms</groupId> <artifactId>jms</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>com.mtvi.ucsa.common</groupId> <artifactId>CoreLib</artifactId> <version>2.1.5</version> </dependency> <dependency> <groupId>jboss.jbossesb</groupId> <artifactId>jbossesb-jbpm</artifactId> <version>4.5.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.jbpm</groupId> <artifactId>jbpm-jpdl</artifactId> <version>3.2.5</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.mtvi.mediabus</groupId> <artifactId>tarkus-common</artifactId> <version>${version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.mockrunner</groupId> <artifactId>mockrunner-jdk1.4-j2ee1.3</artifactId> <version>0.4</version> <scope>test</scope> <exclusions> <exclusion> <groupId>cglib-nodep</groupId> <artifactId>cglib-nodep</artifactId> </exclusion> <exclusion> <groupId>jboss</groupId> <artifactId>jboss-jee</artifactId> </exclusion> <exclusion> <groupId>xerces</groupId> <artifactId>xercesImpl</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.mtvnet.data-access</groupId> <artifactId>sql-mapper-jdbc</artifactId> <version>1.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-jaxrs</artifactId> <version>1.2.1.GA</version> <type>jar</type> </dependency> <dependency> <groupId>org.jboss.resteasy</groupId> <artifactId>resteasy-jaxb-provider</artifactId> <version>1.1.GA</version> <type>jar</type> </dependency> <dependency> <groupId>apache-xalan</groupId> <artifactId>serializer</artifactId> <version>j_2.7.0</version> </dependency> <dependency> <groupId>jboss.jbossts</groupId> <artifactId>jbossts-common</artifactId> <version>4.3.0.GA</version> </dependency> </dependencies> <properties> <skipTests>false</skipTests> </properties> <build> <finalName>${artifactId}-${version}</finalName> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.6</version> <configuration> <skipTests>${skipTests}</skipTests> </configuration> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>cobertura-maven-plugin</artifactId> <version>2.4</version> <configuration> <check> <haltOnFailure>false</haltOnFailure> <regexes> <regex> <pattern>com.mtvi.mediabus.anystream.*</pattern> <branchRate>80</branchRate> <lineRate>80</lineRate> </regex> </regexes> </check> <instrumentation> <includes> <include>com/mtvi/mediabus/anystream/*.class</include> </includes> </instrumentation> </configuration> <executions> <execution> <id>instrument</id> <phase>post-integration-test</phase> <goals> <goal>instrument</goal> <goal>cobertura</goal> <goal>check</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> <executions> <execution> <id>surefire-it</id> <phase>integration-test</phase> <goals> <goal>test</goal> </goals> <configuration> <skip>false</skip> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>maven-jetty-plugin</artifactId> <version>6.1.20</version> <configuration> <scanIntervalSeconds>10</scanIntervalSeconds> <stopKey>STOP</stopKey> <stopPort>1800</stopPort> </configuration> <executions> <execution> <id>start-jetty</id> <phase>pre-integration-test</phase> <goals> <goal>stop</goal> <goal>run</goal> </goals> <configuration> <scanIntervalSeconds>0</scanIntervalSeconds> <daemon>true</daemon> </configuration> </execution> <execution> <id>stop-jetty</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project> -- 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