HI Vimalanathan,

Add following repos to your pom file. This should solve the issue.
<repositories>
        <repository>
            <id>wso2-nexus</id>
            <name>WSO2 internal Repository</name>
            <url>http://maven.wso2.org/nexus/content/groups/wso2-public/
</url>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>daily</updatePolicy>
                <checksumPolicy>ignore</checksumPolicy>
            </releases>
        </repository>

        <repository>
            <id>wso2.releases</id>
            <name>WSO2 internal Repository</name>
            <url>http://maven.wso2.org/nexus/content/repositories/releases/
</url>
            <releases>
                <enabled>true</enabled>
                <updatePolicy>daily</updatePolicy>
                <checksumPolicy>ignore</checksumPolicy>
            </releases>
        </repository>
<repositories>

Thanks,
Harsha

On Wed, Sep 17, 2014 at 12:18 PM, Aruna Karunarathna <ar...@wso2.com> wrote:

> Hi Vimalathan,
>
> Can you try adding the wso2 repo to your pom.xml file.
>
> Regards,
> Aruna
>
> On Tue, Sep 16, 2014 at 10:56 AM, Vimalanathan Rajeevan <
> rajeev...@wso2.com> wrote:
>
>> Hi,
>>
>> I got a maven build failure when trying to create a service stub after
>> successfully creating server component and generating .wsdl file. I was
>> following a tutorial [1].
>> [1]
>> http://wso2.com/library/tutorials/2014/03/how-to-write-a-wso2-carbon-component/
>>
>> Please find  the attached org.wso2.carbon.student.mgt.stub → pom.xml
>> file is used. I am getting the following error when building 
>> "org.wso2.carbon.student.mgt.stub"
>> module using maven.
>>
>> *Failed to execute goal on project org.wso2.carbon.student.mgt.stub:
>> Could not resolve dependencies for project
>> org.wso2.carbon:org.wso2.carbon.student.mgt.stub:bundle:4.2.0:*
>>
>> *The following artifacts could not be resolved:
>> org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v10,
>> org.apache.ws.commons.axiom.wso2:axiom:jar:1.2.11.wso2v4,
>> wsdl4j.wso2:wsdl4j:jar:1.6.2.wso2v4: *
>>
>> *Failure to find org.apache.axis2.wso2:axis2:jar:1.6.1.wso2v10 in
>> http://repo.maven.apache.org/maven2 <http://repo.maven.apache.org/maven2>
>> was cached in the local repository, resolution will not be reattempted
>> until the update interval of central has elapsed or updates are forced*
>>
>> It seems like problem with maven dependency versions. Please help me to
>> get this resolved.
>>
>> Best Regards,
>> V.Rajeevan
>> Software Engineer,
>> WSO2 Inc. :http://wso2.com
>>
>> Mobile : +94 773090875
>> Email : rajeev...@wso2.com
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> *Aruna Sujith Karunarathna* | Software Engineer
> WSO2, Inc | lean. enterprise. middleware.
> #20, Palm Grove, Colombo 03, Sri Lanka
> Mobile: +94 71 9040362 | Work: +94 112145345
> Email: ar...@wso2.com | Web: www.wso2.com
>
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Harsha Kumara
Software Engineer, WSO2 Inc.
Mobile: +94775505618
Blog:harshcreationz.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to