Hi Lasith, Did you increase the default values of the MAVEN_OPTS parameter. I think this is due to the size of the MaxParamSize. Try increasing the values.
Thanks, Manoj Best Regards.. Manoj Kumara Software Engineer WSO2, Inc.; http://wso2.com Twitter: http://twitter.com/ManKuma Mobile: +94713448188 On Tue, Aug 20, 2013 at 1:39 AM, Lasith Chandrasekara <[email protected]>wrote: > Hi, > > I am getting following error when building branch on Windows. > It seems after branching file name is too long and Windows can't run java > for that long file name. > > -Lasith. > > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Integration Test Reporting 4.6.0 > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ > org.wso2.carbon.registry.integration.reports --- > [INFO] Verifying module descriptor ... > [INFO] Pom descriptor modification detected. > [INFO] Deleting > C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target > [INFO] > [INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @ > org.wso2.carbon.registry.integration.reports --- > [INFO] Deleting > C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target > [INFO] > [INFO] --- maven-dependency-plugin:2.1:copy-dependencies > (copy-emma-dependencies) @ org.wso2.carbon.registry.integration.reports --- > [INFO] Copying emma-2.1.5320.jar to > C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target\emma\emma-2.1.5320.jar > [INFO] > [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ > org.wso2.carbon.registry.integration.reports --- > [INFO] Installing > C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\pom.xml > to > C:\Users\Lasith\.m2\repository\org\wso2\governance\org.wso2.carbon.registry.integrat > ion.reports\4.6.0\org.wso2.carbon.registry.integration.reports-4.6.0.pom > [INFO] > [INFO] --- exec-maven-plugin:1.2.1:exec (my-exec) @ > org.wso2.carbon.registry.integration.reports --- > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Registry TestNG Test Module ....................... SUCCESS [8.351s] > [INFO] Registry Resources TestNG Test Module ............. SUCCESS [7.254s] > [INFO] Registry Metadata TestNG Test Module .............. SUCCESS [3.929s] > [INFO] Registry Extensibility TestNG Test Module ......... SUCCESS [3.793s] > [INFO] Registry JIRA TestNG Test Module .................. SUCCESS [3.706s] > [INFO] Registry Search and Versioning TestNG Test Module . SUCCESS [3.537s] > [INFO] Registry Permissions TestNG Test Module ........... SUCCESS [3.894s] > [INFO] Registry Governance API TestNG Test Module ........ SUCCESS > [22.649s] > [INFO] Registry TestNG Test Module ....................... SUCCESS [3.286s] > [INFO] Registry UI Test Module ........................... SUCCESS [2.892s] > [INFO] Integration Test Reporting ........................ FAILURE [0.950s] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1:05.472s > [INFO] Finished at: Tue Aug 20 01:27:06 IST 2013 > [INFO] Final Memory: 56M/1140M > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > org.codehaus.mojo:exec-maven-plugin:1.2.1:exec (my-exec) on project > org.wso2.carbon.registry.integration.reports: Command execution failed. > *Cannot > run program > "java" (in directory > "C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry\reports\target"): > * CreateProcess error=206, The filename or extension is too long -> [Help > 1] > [ERROR] > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > [ERROR] > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :org.wso2.carbon.registry.integration.reports > C:\svn\tb\platform\products\greg\4.6.0\modules\integration\registry> > > > _______________________________________________ > Dev mailing list > [email protected] > http://wso2.org/cgi-bin/mailman/listinfo/dev > >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
