maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jagadeesh Naidu G <jagadeesh...@hcl.com>
Subject Maven Issue with release:perform
Date Thu, 12 May 2011 10:11:03 GMT
Hi,

 I am able to build the application successes fully, But while doing mvn
release: perform I am facing one issue with maven. Please help me out how to
fix this issue.  Any help is greatly appreciated.



[WARNING] Javadoc Warnings
        [WARNING]
/u/wc/work/local/mediabus/mediabus-rel/trunk/target/checkout/mediabus-transcoder/src/main/java/com/mtvi/mediabus/actions/TranscodeService.java:32:
warning - @author tag has no arguments.
        [INFO] Generate "Test JavaDocs" report.
        [WARNING] -top option is not supported on Java version < 1.6. Ignore
this option.
        Loading source files for package com.mtvi.mediabus.anystream...
        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:6:
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: java.util.Map
        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: 10 minutes 30 seconds
        [INFO] Finished at: Thu May 12 03:59:46 EDT 2011
        [INFO] Final Memory: 209M/509M
        [INFO]
------------------------------------------------------------------------
        2011-05-12 03:59:47.617::INFO:  Shutdown hook executing
        2011-05-12 03:59:47.618::INFO:  Shutdown hook complete
        [INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Maven execution failed, exit code: '1'

-----------------------------------------------------------parent
pom.xml----------------
<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</groupId>
		<artifactId>master-java</artifactId>
		<version>9</version>
	</parent>
	<modelVersion>4.0.0</modelVersion>
	<groupId>com.mtvi.mediabus</groupId>
	<artifactId>mediabus</artifactId>
	<packaging>pom</packaging>
	<version>1.0.24-SNAPSHOT</version>
	<name>Media Bus Framework</name>
	<url>http://plateng.mtvi.com/projects/mediabus</url>
	<distributionManagement>
		<site>
			<id>linux-app-1</id>
			<url>
               
scp://linux-app-1.1515.mtvi.com/www/mtv/dev/docs/plateng.mtvi.com/projects/mediabus	
            </url>
		</site>
	</distributionManagement>
	<scm>
	
<connection>scm:svn:https://subversion.1515.mtvi.com/java/platformEngineering/MediaBus-Services/trunk/</connection>
	
<developerConnection>scm:svn:https://subversion.1515.mtvi.com/java/platformEngineering/MediaBus-Services/trunk/</developerConnection>
	
<url>http://fisheye.mtvi.com/browse/Java/platformEngineering/MediaBus-Services/trunk/</url>
	</scm>
	<build>
		<plugins>
			<plugin>
				<artifactId>maven-release-plugin</artifactId>
				<configuration>
					<goals>deploy site-deploy utils:distribute-ear</goals>
				</configuration>
			</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>
				<dependencies>
					<dependency>
						<groupId>org.codehaus.mojo</groupId>
						<artifactId>cobertura-maven-plugin</artifactId>
						<version>2.3</version>
						<type>jar</type>
					</dependency>
				</dependencies>
				<configuration>
					<connectors>
						<connector
implementation="org.mortbay.jetty.nio.SelectChannelConnector">
							<port>${env.MEDIABUS_JETTY_PORT}</port>
						</connector>
					</connectors>
				</configuration>
			</plugin>
			
		</plugins>
		<resources>
			<resource>
				<directory>${basedir}/src/main/resources</directory>
				<filtering>true</filtering>
			</resource>
		</resources>
	</build>
	<modules>
		<module>tarkus-common</module>
		<module>mediabus-tarkus</module>
		<module>mediabus-tarkus-passthrough</module>
		<module>mediabus-acquisition</module>
		<module>mediabus-transcoder</module>
		<module>mediabus-approval</module>
		<module>mediabus-moderation</module>
		<module>mediabus-publish</module>
		<module>alias-import</module>
		<module>mediabus-ear</module>
		<module>mediabus-common</module>
		<module>mediabus-client</module>
		<module>mediabus-mediavalidation</module>
		<module>mediabus-alias</module>
		<module>mediabus-webservices</module>
		<module>alias-import-transcode</module>
		<module>mediabus-batch-reencode</module>
		<module>mediabus-batch-validation</module>
		<module>mediabus-batch-itemsccmap</module>
	</modules>
	<dependencies>
		<dependency>
			<groupId>jboss.jbossesb</groupId>
			<artifactId>rosetta</artifactId>
			<version>4.5.0</version>
		</dependency>
		<dependency>
			<groupId>jboss.jbossesb</groupId>
			<artifactId>jbossesb-jbpm</artifactId>
			<version>4.5.0</version>
		</dependency>
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.15</version>
		</dependency>
		<dependency>
			<groupId>jboss.jbossesb</groupId>
			<artifactId>milyn-smooks-core</artifactId>
			<version>1.1.1</version>
		</dependency>
		<dependency>
			<groupId>commons-net</groupId>
			<artifactId>commons-net</artifactId>
			<version>2.0</version>
		</dependency>
		<dependency>
			<groupId>javax.jws</groupId>
			<artifactId>jsr181-api</artifactId>
			<version>1.0-MR1</version>
		</dependency>
		<dependency>
			<groupId>jboss.jbossesb</groupId>
			<artifactId>jbossesb-soap</artifactId>
			<version>4.5.0</version>
		</dependency>

		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.8.2</version>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.8.2</version>
			<scope>compile</scope>
		</dependency>

		<dependency>
			<groupId>apache-xalan</groupId>
			<artifactId>xalan</artifactId>
			<version>j_2.7.0</version>
			<exclusions>
				<exclusion>
					<groupId>junit</groupId>
					<artifactId>junit</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

	</dependencies>
	<properties>
		<confluence.space>MediaBus</confluence.space>
		<siteName>mediabus.mtvnservices.com</siteName>
		<devHost>platform-jboss-003.1515.mtvi.com</devHost>
		<devInstance>platform-jboss-003.1515.mtvi.com</devInstance>
		<qaHost>platform-jboss-004.1515.mtvi.com</qaHost>
		<qaInstance>mediabus/mediabus.mtvnservices-q.mtvi.com</qaInstance>
	</properties>
</project>

Module pom.xml


<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.5</version>
								<type>jar</type>
							</dependency>
						</dependencies>
					</plugin>
				</plugins>
			</build>
		</profile>
	</profiles>
	<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>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.8.2</version>
		</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>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
	</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>
						</goals>
					</execution>
				</executions>
			</plugin>
			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>cobertura-maven-plugin</artifactId>
				<version>2.3</version>
				<configuration>
					<instrumentation>
						<includes>
							<include>com/mtvi/mediabus/anystream/*.class</include>
						</includes>
						<excludes>
						
<exclude>com/mtvi/mediabus/anystream/AnystreamConstant.class</exclude>
						</excludes>
					</instrumentation>
				</configuration>
				<executions>
					<execution>
						<id>instrument</id>
						<phase>post-integration-test</phase>
						<goals>
							<goal>cobertura</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.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-release-perform-tp4389847p4389847.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message