I believe, this was due to not having proper groupIds assigned for the
entries corresponding to "org.wso2.carbon.jaxws.webapp.mgt.server.feature"
in the p2-profile.

@Harshan, please confirm.

On Tue, Jan 27, 2015 at 4:14 PM, Harshan Liyanage <[email protected]> wrote:

> Hi,
>
> I'm getting the following error when build the product.
> org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0 artifact is available
> in m2 repo as well. Does anyone know the reason for this issue?
>
> [INFO] --- carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) @
> wso2cdm-profile-gen ---
> [ERROR] Error occured when processing the Feature Artifact:
> org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0
> org.apache.maven.plugin.MojoExecutionException: Error occured when
> processing the Feature Artifact:
> org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0
> 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:106)
> at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> 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:317)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> 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: Could not find
> the version for org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0
> at
> org.wso2.maven.p2.FeatureArtifact.resolveVersion(FeatureArtifact.java:118)
> at
> org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:318)
> ... 23 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] WSO2 CDM - Parent ................................. SUCCESS [0.913s]
> [INFO] WSO2 Carbon - Device Management Component ......... SUCCESS [0.027s]
> [INFO] WSO2 Carbon - Device Management Commons ........... SUCCESS [2.320s]
> [INFO] WSO2 Carbon - Device Management Core .............. SUCCESS [9.607s]
> [INFO] WSO2 Carbon - Policy Management Component ......... SUCCESS [0.018s]
> [INFO] WSO2 Carbon - Policy Management Common ............ SUCCESS [0.729s]
> [INFO] WSO2 Carbon - Policy Management Core .............. SUCCESS [0.771s]
> [INFO] WSO2 Carbon - Policy Decision Point ............... SUCCESS [0.275s]
> [INFO] WSO2 Carbon - Device Management Feature ........... SUCCESS [0.021s]
> [INFO] WSO2 Carbon - Device Management Server Feature .... SUCCESS [0.953s]
> [INFO] WSO2 Carbon - Policy Management Feature ........... SUCCESS [0.023s]
> [INFO] WSO2 Carbon - Policy Management Server Feature .... SUCCESS [0.377s]
> [INFO] WSO2 Connected Device Manager (CDM) - Parent ...... SUCCESS [0.025s]
> [INFO] WSO2 Connected Device Manager (CDM) - P2 Profile Gen  FAILURE
> [1.108s]
> [INFO] WSO2 Connected Device Manager (CDM) - Distribution  SKIPPED
> [INFO] WSO2 CDM - Integration Tests ...................... SKIPPED
> [INFO] WSO2 CDM Integration Test Common .................. SKIPPED
> [INFO] WSO2 CDM - Integration Admin Clients .............. SKIPPED
> [INFO] WSO2 CDM - Integration Test Utils ................. SKIPPED
> [INFO] WSO2 CDM - Integration Test Ui Pages .............. SKIPPED
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 17.898s
> [INFO] Finished at: Tue Jan 27 14:23:26 IST 2015
> [INFO] Final Memory: 75M/1973M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.wso2.maven:carbon-p2-plugin:1.5.4:p2-repo-gen (2-p2-repo-generation) on
> project wso2cdm-profile-gen: Error occured when processing the Feature
> Artifact: org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0: Could not
> find the version for org.wso2.carbon.jaxws.webapp.mgt.server.feature:4.2.0
> -> [Help 1]
>
> Thanks,
>
> Lakshitha Harshan
> Software Engineer
> Mobile: *+94724423048*
> Email: [email protected]
> Blog : http://harshanliyanage.blogspot.com/
> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
> lean.enterprise.middleware.
>



-- 
Prabath Abeysekara
Associate Technical Lead, Data TG.
WSO2 Inc.
Email: [email protected]
Mobile: +94774171471
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to