Fixed r 132975. Thanks Ajith
On Sat, Jul 14, 2012 at 12:08 PM, Ajith Vitharana <[email protected]> wrote: > The reason is agent feature has excluded from features/data-agents/pom.xml. > > <modules> > * <!--<module>agent</module>-->* > <module>mediation</module> > <module>service</module> > </modules> > > Thanks > Ajith > > On Sat, Jul 14, 2012 at 12:05 PM, Ajith Vitharana <[email protected]> wrote: > >> Hi all, >> >> I'm getting following error. >> >> [INFO] --- carbon-p2-plugin:1.5-SNAPSHOT:p2-repo-gen >> (2-p2-repo-generation) @ am-p2-profile --- >> [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:318) >> 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: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.artifact.resolver.ArtifactNotFoundException: >> Failure to find >> org.wso2.carbon:org.wso2.carbon.bam.agent.feature:zip:4.0.0-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 >> -DartifactId=org.wso2.carbon.bam.agent.feature -Dversion=4.0.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.bam.agent.feature -Dversion=4.0.0-SNAPSHOT >> -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] >> >> >> org.wso2.carbon:org.wso2.carbon.bam.agent.feature:zip:4.0.0-SNAPSHOT >> >> >> -- >> Ajith Vitharana. >> WSO2 Inc. - http://wso2.org >> Email : [email protected] >> Mobile : +94714631794 >> >> >> > > > -- > Ajith Vitharana. > WSO2 Inc. - http://wso2.org > Email : [email protected] > Mobile : +94714631794 > > > -- Ajith Vitharana. WSO2 Inc. - http://wso2.org Email : [email protected] Mobile : +94714631794
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
