Hi Gokul, I guess, the ntask feature is not mentioend as a required import feature in the analytics-core feature, can we get that added.
Cheers, Anjana. On Thu, Sep 3, 2015 at 12:15 PM, Sachith Punchihewa <[email protected]> wrote: > Hi Gokul, > > EMM's Carbon version is 4.4.0.I tried changing the Carbon version to > 4.4.1.Still it gives an error.the error and the log is given below. > Is there any other required features or version i need to install before > installing the above DAS feature? > > Installation failed. >> Cannot complete the install because one or more required items could not >> be found. >> Software being installed: WSO2 Carbon - Analytics Lite Feature >> 1.0.3.SNAPSHOT (org.wso2.carbon.analytics.lite.feature.group 1.0.3.SNAPSHOT) >> Missing requirement: WSO2 Carbon - Analytics Core Server Feature >> 1.0.3.SNAPSHOT (org.wso2.carbon.analytics.core.server.feature.group >> 1.0.3.SNAPSHOT) requires 'org.wso2.carbon.ntask.core.feature.group >> [4.4.4,4.5.0)' but it could not be found >> Cannot satisfy dependency: >> From: WSO2 Carbon - Analytics Lite Feature 1.0.3.SNAPSHOT >> (org.wso2.carbon.analytics.lite.feature.group 1.0.3.SNAPSHOT) >> To: org.wso2.carbon.analytics.core.server.feature.group [1.0.3.SNAPSHOT] >> Application failed, > > > > [ERROR] Failed to execute goal >> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen >> (3-p2-profile-generation) on project wso2mdm-profile-gen: P2 publisher >> return code was 13 -> [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 :wso2mdm-profile-gen > > > > Kamidu Sachith Punchihewa > *Software Engineer* > WSO2, Inc. > lean . enterprise . middleware > Mobile : +94 (0) 770566749 <%2B94%20%280%29%20773%20451194> > > > Disclaimer: This communication may contain privileged or other > confidential information and is intended exclusively for the addressee/s. > If you are not the intended recipient/s, or believe that you may have > received this communication in error, please reply to the sender indicating > that fact and delete the copy you received and in addition, you should not > print, copy, retransmit, disseminate, or otherwise use the information > contained in this communication. Internet communications cannot be > guaranteed to be timely, secure, error or virus-free. The sender does not > accept liability for any errors or omissions. > > On Wed, Sep 2, 2015 at 6:51 PM, Gokul Balakrishnan <[email protected]> wrote: > >> Hi Sachith, >> >> You do not need to build carbon-analytics locally, since Jenkins artefact >> builds are cached on Nexus. In any case, your second entry appears correct, >> however the issue seems to be a mismatch in Carbon versions. Can you please >> check EMM's Carbon version? Since DAS features are on 4.4.1, Carbon 4.4.1 >> or greater is required. >> >> Thanks, >> >> On 2 September 2015 at 18:40, Sachith Punchihewa <[email protected]> >> wrote: >> >>> Hi DAS Team, >>> >>> I tried installing *WSO2 Carbon - Analytics Lite Feature* to EMM using >>> the following entries in P2 Profile Gen Pom. >>> >>>> <featureArtifactDef> >>>> org.wso2.carbon.analytics:analytics-lite-feature:1.0.3-SNAPSHOT >>>> </featureArtifactDef> >>> >>> and >>> >>> <feature> >>>> <id>analytics-lite-feature.group</id> >>>> <version>1.0.3-SNAPSHOT</version> >>>> </feature> >>> >>> >>> When i use above entries it gives the following error. >>> >>> [INFO] --- carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) @ >>>> wso2mdm-profile-gen --- >>>> [ERROR] Error occured when processing the Feature Artifact: >>>> org.wso2.carbon.analytics:analytics-lite-feature:1.0.3-SNAPSHOT >>>> org.apache.maven.plugin.MojoExecutionException: Error occured when >>>> processing the Feature Artifact: >>>> org.wso2.carbon.analytics:analytics-lite-feature:1.0.3-SNAPSHOT >>>> at >>>> org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:322) >>>> at >>>> org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:197) >>>> at >>>> org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:191) >>>> at >>>> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101) >>>> at >>>> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209) >>>> 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:320) >>>> 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:57) >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) >>>> at java.lang.reflect.Method.invoke(Method.java:606) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) >>>> at >>>> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) >>>> Caused by: org.apache.maven.plugin.MojoExecutionException: ERROR >>>> at >>>> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:60) >>>> at >>>> org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:319) >>>> ... 23 more >>>> Caused by: >>>> org.apache.maven.artifact.resolver.ArtifactNotFoundException: Failure to >>>> find org.wso2.carbon.analytics:analytics-lite-feature:zip:1.0.3-SNAPSHOT in >>>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in >>>> the local repository, resolution will not be reattempted until the update >>>> interval of wso2-nexus has elapsed or updates are forced >>>> Try downloading the file manually from the project website. >>>> Then, install it using the command: >>>> mvn install:install-file -DgroupId=org.wso2.carbon.analytics >>>> -DartifactId=analytics-lite-feature -Dversion=1.0.3-SNAPSHOT >>>> -Dpackaging=zip -Dfile=/path/to/file >>>> Alternatively, if you host your own repository you can deploy the file >>>> there: >>>> mvn deploy:deploy-file -DgroupId=org.wso2.carbon.analytics >>>> -DartifactId=analytics-lite-feature -Dversion=1.0.3-SNAPSHOT >>>> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >>>> >>>> org.wso2.carbon.analytics:analytics-lite-feature:zip:1.0.3-SNAPSHOT >>>> from the specified remote repositories: >>>> wso2-nexus (http://maven.wso2.org/nexus/content/groups/wso2-public/, >>>> releases=true, snapshots=true), >>>> wso2.releases ( >>>> http://maven.wso2.org/nexus/content/repositories/releases/, >>>> releases=true, snapshots=true), >>>> wso2.snapshots ( >>>> http://maven.wso2.org/nexus/content/repositories/snapshots/, >>>> releases=false, snapshots=true), >>>> central (http://repo.maven.apache.org/maven2, releases=true, >>>> snapshots=false) >>>> at >>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:219) >>>> at >>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:157) >>>> at >>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:525) >>>> at >>>> org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:56) >>>> ... 24 more >>>> Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: >>>> Failure to find >>>> org.wso2.carbon.analytics:analytics-lite-feature:zip:1.0.3-SNAPSHOT in >>>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in >>>> the local repository, resolution will not be reattempted until the update >>>> interval of wso2-nexus has elapsed or updates are forced >>>> at >>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538) >>>> at >>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216) >>>> at >>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:193) >>>> at >>>> org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveArtifact(DefaultRepositorySystem.java:286) >>>> at >>>> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:213) >>>> ... 27 more >>>> Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: >>>> Failure to find >>>> org.wso2.carbon.analytics:analytics-lite-feature:zip:1.0.3-SNAPSHOT in >>>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in >>>> the local repository, resolution will not be reattempted until the update >>>> interval of wso2-nexus has elapsed or updates are forced >>>> at >>>> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:230) >>>> at >>>> org.sonatype.aether.impl.internal.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:204) >>>> at >>>> org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:427) >>> >>> >>> the final log is given below. >>> >>> [ERROR] Failed to execute goal >>>> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) on >>>> project wso2mdm-profile-gen: Error occured when processing the Feature >>>> Artifact: org.wso2.carbon.analytics:analytics-lite-feature:1.0.3-SNAPSHOT: >>>> ERROR: Failure to find >>>> org.wso2.carbon.analytics:analytics-lite-feature:zip:1.0.3-SNAPSHOT in >>>> http://maven.wso2.org/nexus/content/groups/wso2-public/ was cached in >>>> the local repository, resolution will not be reattempted until the update >>>> interval of wso2-nexus has elapsed or updates are forced >>>> [ERROR] >>>> [ERROR] Try downloading the file manually from the project website. >>>> [ERROR] >>>> [ERROR] Then, install it using the command: >>>> [ERROR] mvn install:install-file -DgroupId=org.wso2.carbon.analytics >>>> -DartifactId=analytics-lite-feature -Dversion=1.0.3-SNAPSHOT >>>> -Dpackaging=zip -Dfile=/path/to/file >>>> [ERROR] >>>> [ERROR] Alternatively, if you host your own repository you can deploy >>>> the file there: >>>> [ERROR] mvn deploy:deploy-file -DgroupId=org.wso2.carbon.analytics >>>> -DartifactId=analytics-lite-feature -Dversion=1.0.3-SNAPSHOT >>>> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >>>> [ERROR] >>>> [ERROR] >>>> [ERROR] >>>> org.wso2.carbon.analytics:analytics-lite-feature:zip:1.0.3-SNAPSHOT >>>> [ERROR] >>>> [ERROR] from the specified remote repositories: >>>> [ERROR] wso2-nexus ( >>>> http://maven.wso2.org/nexus/content/groups/wso2-public/, >>>> releases=true, snapshots=true), >>>> [ERROR] wso2.releases ( >>>> http://maven.wso2.org/nexus/content/repositories/releases/, >>>> releases=true, snapshots=true), >>>> [ERROR] wso2.snapshots ( >>>> http://maven.wso2.org/nexus/content/repositories/snapshots/, >>>> releases=false, snapshots=true), >>>> [ERROR] central (http://repo.maven.apache.org/maven2, releases=true, >>>> snapshots=false) >>>> [ERROR] -> [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 :wso2mdm-profile-gen >>> >>> >>> >>> As a Solution i try building *carbon-analytics *locally.Still the same >>> error was there. >>> I check my .m@ repository manually there i can find the >>> *analytics-lite-feature1.0.3-SNAPSHOT* >>> Given below is the screen capture of the m2 repository. >>> >>> Finally i tried changing the Initial Entries as follows. >>> >>> <!-- DAS Features --> >>>> <featureArtifactDef> >>>> >>>> org.wso2.carbon.analytics:org.wso2.carbon.analytics.lite.feature:1.0.3-SNAPSHOT >>>> </featureArtifactDef> >>>> <!-- End of DAS Features --> >>> >>> >>> >>> <!-- DAS Features --> >>>> <feature> >>>> <id>org.wso2.carbon.analytics.lite.feature.group</id> >>>> <version>1.0.3-SNAPSHOT</version> >>>> </feature> >>>> <!-- End of DAS Features --> >>> >>> >>> The new change result in a new error .the error and the log is given >>> below. >>> >>> Installation failed.Cannot complete the install because one or more >>>> required items could not be found. >>>> Software being installed: WSO2 Carbon - Analytics Lite Feature >>>> 1.0.3.SNAPSHOT (org.wso2.carbon.analytics.lite.feature.group >>>> 1.0.3.SNAPSHOT) >>>> Missing requirement: WSO2 Carbon - Analytics Data Source RDBMS Server >>>> Feature 1.0.3.SNAPSHOT >>>> (org.wso2.carbon.analytics.datasource.rdbms.server.feature.group >>>> 1.0.3.SNAPSHOT) requires 'org.wso2.carbon.core.feature.group [4.4.1,4.5.0)' >>>> but it could not be found >>>> Cannot satisfy dependency: >>>> From: WSO2 Carbon - Analytics Lite Feature 1.0.3.SNAPSHOT >>>> (org.wso2.carbon.analytics.lite.feature.group 1.0.3.SNAPSHOT) >>>> To: org.wso2.carbon.analytics.datasource.rdbms.server.feature.group >>>> [1.0.3.SNAPSHOT] >>> >>> >>> >>> [ERROR] Failed to execute goal >>>> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-profile-gen >>>> (3-p2-profile-generation) on project wso2mdm-profile-gen: P2 publisher >>>> return code was 13 -> [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 :wso2mdm-profile-gen >>> >>> >>> Any Idea Why this happens. >>> >>> Thanks & Regards. >>> Kamidu Sachith Punchihewa >>> *Software Engineer* >>> WSO2, Inc. >>> lean . enterprise . middleware >>> Mobile : +94 (0) 770566749 <%2B94%20%280%29%20773%20451194> >>> >>> >>> Disclaimer: This communication may contain privileged or other >>> confidential information and is intended exclusively for the addressee/s. >>> If you are not the intended recipient/s, or believe that you may have >>> received this communication in error, please reply to the sender indicating >>> that fact and delete the copy you received and in addition, you should not >>> print, copy, retransmit, disseminate, or otherwise use the information >>> contained in this communication. Internet communications cannot be >>> guaranteed to be timely, secure, error or virus-free. The sender does not >>> accept liability for any errors or omissions. >>> >> >> >> >> -- >> Gokul Balakrishnan >> Senior Software Engineer, >> WSO2, Inc. http://wso2.com >> Mob: +94 77 593 5789 | +1 650 272 9927 >> > > -- *Anjana Fernando* Senior Technical Lead WSO2 Inc. | http://wso2.com lean . enterprise . middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
