The second error is due to an invalid entry in the service pom. Supun..
On Mon, Mar 7, 2011 at 1:42 PM, Supun Kamburugamuva <su...@wso2.com> wrote: > This error was due to the eventing feature. > > <featureArtifactDef>org.wso2.carbon:org.wso2.carbon.eventing.feature:${carbon.version}</featureArtifactDef> > > At the moment I've commented out this feature. But still the build > fails with the following error. > > [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] > [INFO] [carbon-p2:p2-repo-gen {execution: 2-p2-repo-generation}] > [ERROR] ERROR > org.apache.maven.plugin.MojoExecutionException: ERROR > at > org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:43) > at > org.wso2.maven.p2.RepositoryGenMojo.getProcessedFeatureArtifacts(RepositoryGenMojo.java:360) > at > org.wso2.maven.p2.RepositoryGenMojo.createRepo(RepositoryGenMojo.java:193) > at > org.wso2.maven.p2.RepositoryGenMojo.execute(RepositoryGenMojo.java:187) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) > at > org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) > 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.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: > System is offline. > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.wso2.carbon > -DartifactId=org.wso2.carbon.common.feature -Dversion=1.1.0-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 > -DartifactId=org.wso2.carbon.common.feature -Dversion=1.1.0-SNAPSHOT > -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > org.wso2.carbon:org.wso2.carbon.common.feature:zip:1.1.0-SNAPSHOT > > > > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:203) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:90) > at > org.wso2.maven.p2.generate.utils.MavenUtils.getResolvedArtifact(MavenUtils.java:39) > ... 22 more > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] ERROR > > System is offline. > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.wso2.carbon > -DartifactId=org.wso2.carbon.common.feature -Dversion=1.1.0-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 > -DartifactId=org.wso2.carbon.common.feature -Dversion=1.1.0-SNAPSHOT > -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > > org.wso2.carbon:org.wso2.carbon.common.feature:zip:1.1.0-SNAPSHOT > > > Thanks, > Supun.. > > On Mon, Mar 7, 2011 at 12:22 PM, Supun Kamburugamuva <su...@wso2.com> wrote: >> !ENTRY org.eclipse.equinox.p2.director.app 4 0 2011-03-07 12:20:46.825 >> !MESSAGE The installable unit >> org.wso2.carbon.logging.mgt.feature.group/3.2.0.SNAPSHOT has not been >> found. >> >> P2 fails with the above error while building the ESB. >> >> Thanks, >> -- >> Supun Kamburugamuva >> Technical Lead & Product Manager, WSO2 Inc.; http://wso2.com >> Member, Apache Software Foundation; http://www.apache.org >> WSO2 Inc.; http://wso2.org >> E-mail: su...@wso2.com; Mobile: +94 77 431 3585 >> Blog: http://supunk.blogspot.com >> > > > > -- > Supun Kamburugamuva > Technical Lead & Product Manager, WSO2 Inc.; http://wso2.com > Member, Apache Software Foundation; http://www.apache.org > WSO2 Inc.; http://wso2.org > E-mail: su...@wso2.com; Mobile: +94 77 431 3585 > Blog: http://supunk.blogspot.com > -- Supun Kamburugamuva Technical Lead & Product Manager, WSO2 Inc.; http://wso2.com Member, Apache Software Foundation; http://www.apache.org WSO2 Inc.; http://wso2.org E-mail: su...@wso2.com; Mobile: +94 77 431 3585 Blog: http://supunk.blogspot.com _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev