Use Synapse 2.1.0-wso2v4 and point to WSO2 Nexus repo at http://maven.wso2.org/nexus/content/groups/wso2-public/.
Thanks, Hiranya On Sat, Nov 26, 2011 at 3:16 AM, Jorge Infante Osorio <jorg...@uci.cu>wrote: > Thanks Hiranya. > > I try to mvn compile this Project but with a lot of missing artifacts [1] > around 23. > > Anyone can send me an working POM file with recent versions for this > project? > > I use this external repositories: > > http://people.apache.org/repo/m2-incubating-repository > http://dist.wso2.org/maven2 > http://repo1.maven.org/maven2 > http://download.java.net/maven/2/ > > And I use Archiva as the repository management tool. > > > [1] 6) JLex:JLex:jar:0.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=JLex -DartifactId=JLex > -Dversion=0.0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=JLex -DartifactId=JLex -Dversion=0.0 > -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) > org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT > 2) org.apache.synapse:synapse-core:jar:1.2 > 3) JLex:JLex:jar:0.0 > > 7) bouncycastle:bcprov-jdk13:jar:132 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=bouncycastle > -DartifactId=bcprov-jdk13 -Dversion=132 -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=bouncycastle > -DartifactId=bcprov-jdk13 -Dversion=132 -Dpackaging=jar > -Dfile=/path/to/file > -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) > org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT > 2) org.apache.synapse:synapse-core:jar:1.2 > 3) org.apache.rampart:rampart-policy:jar:1.4 > 4) bouncycastle:bcprov-jdk13:jar:132 > > 8) org.opensymphony:quartz:jar:1.6.0 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.opensymphony > -DartifactId=quartz -Dversion=1.6.0 -Dpackaging=jar -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.opensymphony -DartifactId=quartz > -Dversion=1.6.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] > -DrepositoryId=[id] > > Path to dependency: > 1) > org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT > 2) org.apache.synapse:synapse-core:jar:1.2 > 3) org.opensymphony:quartz:jar:1.6.0 > > 9) org.apache.commons:commons-vfs:jar:1.1-587797 > > Try downloading the file manually from the project website. > > Then, install it using the command: > mvn install:install-file -DgroupId=org.apache.commons > -DartifactId=commons-vfs -Dversion=1.1-587797 -Dpackaging=jar > -Dfile=/path/to/file > > Alternatively, if you host your own repository you can deploy the file > there: > mvn deploy:deploy-file -DgroupId=org.apache.commons > -DartifactId=commons-vfs -Dversion=1.1-587797 -Dpackaging=jar > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > Path to dependency: > 1) > org.wso2.esb.tutorial.mediators:surcharge-stock-quote-mediator:jar:SNAPSHOT > 2) org.apache.synapse:synapse-core:jar:1.2 > 3) org.apache.commons:commons-vfs:jar:1.1-587797 > > > > Saludos, > Ing. Jorge Infante Osorio. > J´Dpto Soluciones SOA. > CDAE. > Fac. 5. > UCI. > > De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En > nombre de Hiranya Jayathilaka > Enviado el: jueves, 24 de noviembre de 2011 9:11 > Para: carbon-dev@wso2.org > Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article > > Try something more recent like 2.1.0-wso2v4 > > Thanks, > Hiranya > On Thu, Nov 24, 2011 at 6:50 PM, Jorge Infante Osorio <jorg...@uci.cu> > wrote: > Using the pom file in > http://docs.wso2.org/display/ESB/Writing+a+WSO2+ESB+Mediator I have this > error: > > Missing: > ---------- > 1) org.apache.synapse:synapse-core:jar:1.3.0.wso2v1 > > Which is the right version for this artifact? > > > Saludos, > Ing. Jorge Infante Osorio. > J´Dpto Soluciones SOA. > CDAE. > Fac. 5. > UCI. > > De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En > nombre de Sadeep Jayasumana > Enviado el: jueves, 24 de noviembre de 2011 2:36 > > Para: carbon-dev@wso2.org > Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article > > Hi, > > However, there was another error in the same page. > "repository/component/mediators" should be corrected as > "repository/components/lib". Nirdesha will correct this. > > Thanks, > Sadeep > On Thu, Nov 24, 2011 at 12:13 PM, Hiranya Jayathilaka <hira...@wso2.com> > wrote: > > On Thu, Nov 24, 2011 at 12:03 PM, Samisa Abeysinghe <sam...@wso2.com> > wrote: > > On Wed, Nov 23, 2011 at 11:21 AM, Sadeep Jayasumana <sad...@wso2.com> > wrote: > Hi Jorge, > On Wed, Nov 23, 2011 at 9:37 AM, Jorge Infante Osorio <jorg...@uci.cu> > wrote: > Hi Hiranya, thanks. I will try it them. > > I ask because in the same article another user post this issue: > > Hi Upal, > Nice article. I have taken the attached zip , created a jar of it using > maven and tried placing the jar in ESB-HOME/lib folder. > > Please note that as Hiranya mentioned, JAR has to be put into > <ESB_HOME>/repository/components/lib. > > In that case, the doc is buggy, as it mentioned ' {ESB > HOME}\repository\components\dropins" see: > http://docs.wso2.org/display/ESB/W > riting+a+WSO2+ESB+Mediator > > This is actually correct. The article does mention that jar should be an > OSGi bundle: > In this case it is necessary to make the mediator an OSGI fragment of the > synapse-core bundler. To achieve this, use > the <Fragment-Host>synapse-core</Fragment-Host>. > After you created the mediator, drop the JAR file in to the {ESB > HOME}\repository\components\dropins folder. > > > Please fix. > > > Thanks, > Sadeep > > On starting ESB, I > see an exception as below > Start Level Event Dispatcher] ERROR Activator Failed to start Carbon UI > java.lang.Exception: ConfigurationContext Service is not available > at org.wso2.carbon.ui.internal.Activator.start(Activator.java:108) > at > > org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleConte > xtImpl.java:999) > at java.security.AccessController.doPrivileged(Native Method) > at > > org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(Bu > ndleContextImpl.java:993) > at > > org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleConte > xtImpl.java:974) > at > > org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.j > ava:346) > at > > org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundl > e.java:350) > at > > org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.ja > va:1118) > at > > org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(Sta > rtLevelManager.java:634) > at > > org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLeve > lManager.java:508) > at > > org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(S > tartLevelManager.java:282) > at > > org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(Sta > rtLevelManager.java:468) > at > > org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager. > java:195) > at > > org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManage > r.java:297) > > and this is the author´s response: > > This article applies to ESB versions prior to 2.x. The current releases are > based on OSGi modular framework for Java, thus it the process is bit > different. We are on the process of documenting articles related with the > current releases of ESB. > > > Any way I will reproduce the steps and see. > > Saludos, > Ing. Jorge Infante Osorio. > J´Dpto Soluciones SOA. > CDAE. > Fac. 5. > UCI. > De: carbon-dev-boun...@wso2.org [mailto:carbon-dev-boun...@wso2.org] En > nombre de Hiranya Jayathilaka > Enviado el: martes, 22 de noviembre de 2011 23:03 > Para: carbon-dev@wso2.org > Asunto: Re: [Carbon-dev] Writing a Mediator in WSO2 ESB article > > Hi Jorge, > > The API and the development procedure hasn't changed. So you can write a > class extending the AbstractMediator class of Synapse, compile it into a > jar > file and drop it into repository/components/lib directory. > > I don't think we have any recent articles on this topic. > > Thanks, > Hiranya > 2011/11/23 Jorge Infante Osorio <jorg...@uci.cu> > Hi all. > > I want to know if exits an update of $subject, because it was written for > ESB versions prior to 2.x. > > Thanks, > Saludos, > Ing. Jorge Infante Osorio. > J´Dpto Soluciones SOA. > CDAE. > Fac. 5. > UCI. > > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > -- > Hiranya Jayathilaka > Associate Technical Lead; > WSO2 Inc.; http://wso2.org > E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com > > Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE > ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU! > http://www.antiterroristas.cu > http://justiciaparaloscinco.wordpress.com > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > -- > Sadeep Jayasumana > > Software Engineer > WSO2 Inc. > Email - sad...@wso2.com > Mobile - +94 77 22 66 507 > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > Thanks, > Samisa... > Samisa Abeysinghe > VP Engineering > WSO2 Inc. > http://wso2.com > http://wso2.org > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > -- > Hiranya Jayathilaka > Associate Technical Lead; > WSO2 Inc.; http://wso2.org > E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > -- > Sadeep Jayasumana > > Software Engineer > WSO2 Inc. > Email - sad...@wso2.com > Mobile - +94 77 22 66 507 > > > > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > > > > -- > Hiranya Jayathilaka > Associate Technical Lead; > WSO2 Inc.; http://wso2.org > E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 > Blog: http://techfeast-hiranya.blogspot.com > > > > Fin a la injusticia, LIBERTAD AHORA A NUESTROS CINCO COMPATRIOTAS QUE SE > ENCUENTRAN INJUSTAMENTE EN PRISIONES DE LOS EEUU! > http://www.antiterroristas.cu > http://justiciaparaloscinco.wordpress.com > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > -- Hiranya Jayathilaka Associate Technical Lead; WSO2 Inc.; http://wso2.org E-mail: hira...@wso2.com; Mobile: +94 77 633 3491 Blog: http://techfeast-hiranya.blogspot.com
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev