I need to create something like the BasicAuthHandler proposed on the WSO2 ESB documentation but using the WSO2 Developer Studio. On the WSO2 ESB documentation they suggest downloading one existing example but don't gives any clue about howto make it using WSO2 Developer Studio. Is not the WSO2 Developer Studio the right way of developing custom code for the WSO2 Carbon platform?
Asked
Active
Viewed 280 times
0
-
I download all the source code and try to import it into WSO2 Developer Studio as a maven project and it shows me the error: "Missing artifact org.apache.synapse:synapse-core:jar:2.1.1-wso2v2" – yeiniel Feb 24 '16 at 16:47
1 Answers
1
Steps:
- Download the code
- Run mvn clean install -e
- Import the code as a maven project using the WSO2 Developer Studio 3.8.0
It work fine for me.
Please check that you have org.apache.synapse:synapse-core:jar:2.1.1-wso2v2 in your maven repo. you can add a wso2 maven repo to your pom.xml file:
<repositories>
<repository>
<id>wso2-maven2-repository</id>
<url>http://dist.wso2.org/maven2</url>
</repository>
</repositories>

Jorge Infante Osorio
- 2,143
- 15
- 26
-
Can you tell me from where i can download the dependencies? Is not documented on the product documentation page referenced above or on the code repository. – yeiniel Feb 24 '16 at 17:40
-
-
I can see in the pom file the name and version of the dependency i'm missing but i can't find in the pom file a location from where i can download the dependency. – yeiniel Feb 24 '16 at 17:48
-
I update my answer , please add the repository and run the command again. – Jorge Infante Osorio Feb 24 '16 at 17:49
-
Well it appears that updating the pom as you suggested is making it work. I think this need to be added to the POM on the repo don't you think? – yeiniel Feb 24 '16 at 17:50
-
I create an [issue](https://wso2.org/jira/browse/ESBJAVA-4440) so future documentation readers don't get stuck with the same problem. – yeiniel Feb 24 '16 at 18:09
-