Here's the log of 'org.wso2.carbon.stratos.common.stub' !! [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.wso2.carbon:org.wso2.carbon.stratos.common.stub:bundle:3.2.0 [WARNING] 'parent.relativePath' points at org.wso2.carbon:carbon-platform instead of org.wso2.carbon:service-stubs, please verify your project structure @ org.wso2.carbon:org.wso2.carbon.stratos.common.stub:3.2.0-SNAPSHOT, /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/pom.xml, line 21, column 13 [WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:build-helper-maven-plugin is missing. @ org.wso2.carbon:org.wso2.carbon.stratos.common.stub:3.2.0-SNAPSHOT, /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/pom.xml, line 66, column 21 [WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead. [WARNING] The expression ${pom.artifactId} is deprecated. Please use ${project.artifactId} instead. [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building WSO2 Carbon - Stratos Common Stubs 3.2.0 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ org.wso2.carbon.stratos.common.stub --- [INFO] Deleting /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target [INFO] [INFO] --- incremental-build-plugin:1.3:incremental-build (default) @ org.wso2.carbon.stratos.common.stub --- [INFO] Verifying module descriptor ... [INFO] Pom descriptor modification detected. [INFO] Deleting /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (auto-clean) @ org.wso2.carbon.stratos.common.stub --- [INFO] Deleting /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target [INFO] [INFO] --- build-helper-maven-plugin:1.7:add-source (add-source) @ org.wso2.carbon.stratos.common.stub --- [INFO] Source directory: /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target/generated-code/src added. [INFO] [INFO] --- maven-resources-plugin:2.5:resources (default-resources) @ org.wso2.carbon.stratos.common.stub --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 1 resource [INFO] [INFO] --- maven-antrun-plugin:1.1:run (source-code-generation) @ org.wso2.carbon.stratos.common.stub --- [INFO] Executing tasks [java] Retrieving document at 'src/main/resources/PackageInfoServce.wsdl'. [java] Dec 8, 2011 10:04:42 AM org.apache.axis2.schema.SchemaCompiler compile [java] WARNING: No schemaLocation for import of http://packages.common.carbon.wso2.org/xsd; compilation may fail [INFO] Executed tasks [INFO] [INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ org.wso2.carbon.stratos.common.stub --- [INFO] Compiling 10 source files to /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target/classes [INFO] [INFO] --- maven-resources-plugin:2.5:testResources (default-testResources) @ org.wso2.carbon.stratos.common.stub --- [debug] execute contextualize [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ org.wso2.carbon.stratos.common.stub --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.11:test (default-test) @ org.wso2.carbon.stratos.common.stub --- [INFO] No tests to run. [INFO] Surefire report directory: /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target/surefire-reports
------------------------------------------------------- T E S T S ------------------------------------------------------- Results : Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] --- maven-bundle-plugin:2.3.4:bundle (default-bundle) @ org.wso2.carbon.stratos.common.stub --- [WARNING] Warning building bundle org.wso2.carbon:org.wso2.carbon.stratos.common.stub:bundle:3.2.0 : Did not find matching referal for !org.wso2.carbon.stratos.common.packages.stub.* [INFO] [INFO] --- maven-install-plugin:2.3.1:install (default-install) @ org.wso2.carbon.stratos.common.stub --- [INFO] Installing /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/target/org.wso2.carbon.stratos.common.stub-3.2.0.jar to /home/nirmal/.m2/repository/org/wso2/carbon/org.wso2.carbon.stratos.common.stub/3.2.0/org.wso2.carbon.stratos.common.stub-3.2.0.jar [INFO] Installing /media/wso2/carbon/carbon/service-stubs/org.wso2.carbon.stratos.common.stub/pom.xml to /home/nirmal/.m2/repository/org/wso2/carbon/org.wso2.carbon.stratos.common.stub/3.2.0/org.wso2.carbon.stratos.common.stub-3.2.0.pom [INFO] [INFO] --- maven-bundle-plugin:2.3.4:install (default-install) @ org.wso2.carbon.stratos.common.stub --- [INFO] Local OBR update disabled (enable with -DobrRepository) [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.737s [INFO] Finished at: Thu Dec 08 10:04:46 IST 2011 [INFO] Final Memory: 14M/490M [INFO] ------------------------------------------------------------------------ It appears like JAR is created but without classes inside! Any idea? On Wed, Dec 7, 2011 at 12:56 AM, Kasun Gajasinghe <kas...@wso2.com> wrote: > Hi Nirmal, > > This is error is possibly due to an incorrectly built stub. Apparently, the > stub for package org.wso2.carbon.stratos.common.packages.stub has never > generated in your case. Make sure that the relevant project that is > responsible for generating this stub in service-stubs has no issue when > building. Though the build get *successful*, the WSDL2Java may have *failed* > with some exception thrown. This has happened to me before. I had to comment > out some modules, and restart the build from carbon root. In my case, it was > about missing some Axiom deps. > > Regards, > --KasunG > > On Tue, Dec 6, 2011 at 9:47 PM, Nirmal Fernando <nir...@wso2.com> wrote: >> >> Hi, >> >> Here's the error log regarding $subject. >> >> [ERROR] Failed to execute goal >> org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile >> (default-compile) on project org.wso2.carbon.gapp.registration.ui: >> Compilation failure: Compilation failure: >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[27,51] >> package org.wso2.carbon.stratos.common.packages.stub does not exist >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[28,51] >> package org.wso2.carbon.stratos.common.packages.stub does not exist >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[90,47] >> cannot find symbol >> [ERROR] symbol : class PackageInfo >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[107,11] >> cannot find symbol >> [ERROR] symbol : class PackageInfo >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[93,17] >> cannot find symbol >> [ERROR] symbol : class PackageInfo >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[110,5] >> cannot find symbol >> [ERROR] symbol : class PackageInfoServiceStub >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[111,5] >> cannot find symbol >> [ERROR] symbol : class PackageInfo >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[111,37] >> cannot find symbol >> [ERROR] symbol : class PackageInfo >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[113,27] >> cannot find symbol >> [ERROR] symbol : class PackageInfoServiceStub >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[114,12] >> cannot find symbol >> [ERROR] symbol : class PackageInfo >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[116,30] >> cannot find symbol >> [ERROR] symbol : class PackageInfo >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[117,17] >> cannot find symbol >> [ERROR] symbol : class PackageInfo >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] >> [ERROR] >> /media/wso2/carbon/carbon/components/stratos/org.wso2.carbon.gapp.registration.ui/src/main/java/org/wso2/carbon/gapp/registration/ui/GoolgeAppsRegistrationClient.java:[118,34] >> cannot find symbol >> [ERROR] symbol : class PackageInfo >> [ERROR] location: class >> org.wso2.carbon.gapp.registration.ui.GoolgeAppsRegistrationClient >> [ERROR] -> [Help 1] >> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to >> execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.1:compile >> (default-compile) on project org.wso2.carbon.gapp.registration.ui: >> Compilation failure >> at >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:213) >> at >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153) >> at >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145) >> at >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) >> at >> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) >> at >> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) >> at >> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) >> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:319) >> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156) >> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537) >> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196) >> at org.apache.maven.cli.MavenCli.main(MavenCli.java:141) >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >> at >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >> at >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >> at java.lang.reflect.Method.invoke(Method.java:597) >> at >> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) >> at >> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) >> at >> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) >> at >> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) >> Caused by: org.apache.maven.plugin.CompilationFailureException: >> Compilation failure >> at >> org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:656) >> at >> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:128) >> at >> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) >> at >> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) >> ... 19 more >> [ERROR] >> [ERROR] >> >> >> Thanks. >> >> -- >> >> regards, >> Nirmal >> >> Software Engineer, WSO2 Inc. >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > -- regards, Nirmal Software Engineer, WSO2 Inc. _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev