Rajith
But in OSGI world version matters AFAIK. Since this is a stub generation
there wont be API changes. Otherwise it could be a case as well.

Thanks & Regards
Danushka Fernando
Software Engineer
WSO2 inc. http://wso2.com/
Mobile : +94716332729


On Wed, Aug 27, 2014 at 9:22 PM, Rajith Vitharana <[email protected]> wrote:

> Hi,
>
> As per my understanding changing the version won't be a problem as long as
> the sample can be compiled with that version. Because these are just
> compile time dependencies and required classes are provided by the server
> in runtime. If these libraries are packed with the created artifact, then
> again using the correct version will be mandatory. But since these are just
> compile time dependencies and libraries won't get packed inside the created
> artifact, I don't think changing the version would be a problem. Correct me
> if I'm wrong. :)
>
> Thanks,
>
>
> On Wed, Aug 27, 2014 at 6:47 PM, Danushka Fernando <[email protected]>
> wrote:
>
>> Hi Akila
>>
>> Change following
>>
>> <dependency> <groupId>org.apache.axis2</groupId>
>> <artifactId>axis2</artifactId> <version>${axis2_version}</version>
>> </dependency> <dependency> <groupId>org.apache.axis2</groupId>
>> <artifactId>axis2-adb</artifactId> <version>${axis2_version}</version>
>> </dependency> <dependency> <groupId>org.apache.axis2</groupId>
>> <artifactId>axis2-transport-http</artifactId>
>> <version>${axis2_version}</version> </dependency> <dependency>
>> <groupId>org.apache.axis2</groupId>
>> <artifactId>axis2-transport-local</artifactId>
>> <version>${axis2_version}</version> </dependency>
>>
>> as follows
>>
>>  <dependency> <groupId>org.apache.axis2*.wso2*</groupId>
>> <artifactId>axis2</artifactId> <version>${axis2_version}</version>
>> </dependency> <dependency> <groupId>org.apache.axis2*.wso2*</groupId>
>> <artifactId>axis2-adb</artifactId> <version>${axis2_version}</version>
>> </dependency> <dependency> <groupId>org.apache.axis2*.wso2*</groupId>
>> <artifactId>axis2-transport-http</artifactId>
>> <version>${axis2_version}</version> </dependency> <dependency>
>> <groupId>org.apache.axis2*.wso2*</groupId>
>> <artifactId>axis2-transport-local</artifactId>
>> <version>${axis2_version}</version> </dependency>
>>
>> and axis2 version from 1.6.1-wso2v10 to *1.6.1.wso2v10*.
>>
>> Thanks & Regards
>> Danushka Fernando
>> Software Engineer
>> WSO2 inc. http://wso2.com/
>> Mobile : +94716332729
>>
>>
>> On Wed, Aug 27, 2014 at 6:32 PM, Akila Nimantha [IT/EKO/LOITS] <
>> [email protected]> wrote:
>>
>>>  Hi Danushka,
>>>
>>>
>>>
>>> I also tried with your solution. But still it give the(below) same
>>> error. Please check attached pom file.
>>>
>>>
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] BUILD FAILURE
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 1:21.250s
>>> [INFO] Finished at: Wed Aug 27 18:23:01 IST 2014
>>> [INFO] Final Memory: 8M/982M
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] Failed to execute goal on project WSO2-Axis2-Client: Could not
>>> resolve dependencies for project WSO2:WSO2-Axis2-Client:jar:0.0.1-SNAPSHOT:
>>> Failure to find org.apache.axis2:axis2:jar:1.6.1-wso2v10 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 -> [Help 1]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
>>>
>>> Regards,
>>>
>>> Akila
>>>
>>>
>>>
>>> *From:* Danushka Fernando [mailto:[email protected]]
>>> *Sent:* Wednesday, August 27, 2014 2:20 PM
>>> *To:* Rajith Vitharana
>>> *Cc:* Akila Nimantha [IT/EKO/LOITS]; [email protected]
>>>
>>> *Subject:* Re: [Dev] Failed to execute goal on project WSO2-Axis2-Client
>>>
>>>
>>>
>>> Hi Akila
>>>
>>> 1. You are using a wrong repository I guess use following instead
>>>
>>>
>>>
>>>    <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>
>>>
>>>    </repositories>
>>>
>>> 2. If you are using wso2 products its better to use wso2v10 rather than
>>> wso2v9 of axis2 since it is the version shipped in wso2 products.
>>>
>>> 3. Can you post the full build error here.
>>>
>>>
>>>   Thanks & Regards
>>>
>>> Danushka Fernando
>>>
>>> Software Engineer
>>>
>>> WSO2 inc. http://wso2.com/
>>>
>>> Mobile : +94716332729
>>>
>>>
>>>
>>> On Wed, Aug 27, 2014 at 2:05 PM, Rajith Vitharana <[email protected]>
>>> wrote:
>>>
>>>  Nice being able to help :)
>>>
>>>
>>>
>>> On Wed, Aug 27, 2014 at 1:18 PM, Akila Nimantha [IT/EKO/LOITS] <
>>> [email protected]> wrote:
>>>
>>>  Hi Rajith,
>>>
>>>
>>>
>>> Now it generated target files without errors. Thanks for your instant
>>> reply.
>>>
>>>
>>>
>>> Regards,
>>>
>>> Akila
>>>
>>>
>>>
>>> *From:* Rajith Vitharana [mailto:[email protected]]
>>> *Sent:* Wednesday, August 27, 2014 12:49 PM
>>> *To:* Akila Nimantha [IT/EKO/LOITS]
>>> *Cc:* [email protected]
>>> *Subject:* Re: [Dev] Failed to execute goal on project WSO2-Axis2-Client
>>>
>>>
>>>
>>> Hi Akila,
>>>
>>>
>>>
>>> It seems axis2 client version "1.6.1-wso2v10" is not released to nexus
>>> yet. So try building the sample with axis2 version "1.6.1-wso2v9" as shown
>>> below.
>>>
>>>
>>>
>>> <axis2_version>1.6.1-wso2v9</axis2_version>
>>>
>>>
>>>
>>> Thanks,
>>>
>>>
>>>
>>> On Wed, Aug 27, 2014 at 12:22 PM, Akila Nimantha [IT/EKO/LOITS] <
>>> [email protected]> wrote:
>>>
>>>
>>>
>>> Hi all,
>>>
>>>
>>>
>>> We tried to build application server Helloservice jar file using maven.
>>> When I trying to build the project using “mvn clean install” I got
>>> following error.also I have attached generated POM file and wsdl file as
>>> well.
>>>
>>>
>>>
>>> “
>>>
>>>  Failed to execute goal on project WSO2-Axis2-Client: Could not resolve
>>> dependencies for project WSO2:WSO2-Axis2-Client:jar:0.0.1-SNAPSHOT: Failure
>>> to find org.apache.axis2:axis2:jar:1.6.1-wso2v10 in
>>> http://dist.wso2.org/maven2/ was cached in the local repository,
>>> resolution will not be reattempted until the update interval of wso2-Nexus
>>> has elapsed or updates are forced -> [Help 1]
>>>
>>> “
>>>
>>> Also I tried replacing repository element with as below,
>>>
>>>  <repository>
>>>
>>>             <id>wso2-nexus</id>
>>>
>>>             <name>WSO2 internal Repository</name>
>>>
>>>             <url>http://maven.wso2.org/nexus/content/groups/wso2-public/
>>> </url>
>>>
>>> </repository>
>>>
>>>
>>>
>>> But it still give the same error..
>>>
>>>
>>>
>>> Regards,
>>>
>>> Akila
>>>
>>> This message (including any attachments) is intended only for the use of
>>> the individual or entity to which it is addressed and may contain
>>> information that is non-public, proprietary, privileged, confidential, and
>>> exempt from disclosure under applicable law or may constitute as attorney
>>> work product. If you are not the intended recipient, you are hereby
>>> notified that any use, dissemination, distribution, or copying of this
>>> communication is strictly prohibited. If you have received this
>>> communication in error, notify us immediately by telephone and (i) destroy
>>> this message if a facsimile or (ii) delete this message immediately if this
>>> is an electronic communication. Thank you.
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Rajith Vitharana
>>>
>>> Software Engineer,
>>> WSO2 Inc. : wso2.com
>>> Mobile : +94715883223
>>> Blog : http://lankavitharana.blogspot.com/
>>>
>>> This message (including any attachments) is intended only for the use of
>>> the individual or entity to which it is addressed and may contain
>>> information that is non-public, proprietary, privileged, confidential, and
>>> exempt from disclosure under applicable law or may constitute as attorney
>>> work product. If you are not the intended recipient, you are hereby
>>> notified that any use, dissemination, distribution, or copying of this
>>> communication is strictly prohibited. If you have received this
>>> communication in error, notify us immediately by telephone and (i) destroy
>>> this message if a facsimile or (ii) delete this message immediately if this
>>> is an electronic communication. Thank you.
>>>
>>>
>>>
>>>
>>>
>>> --
>>>
>>> Rajith Vitharana
>>>
>>> Software Engineer,
>>> WSO2 Inc. : wso2.com
>>> Mobile : +94715883223
>>> Blog : http://lankavitharana.blogspot.com/
>>>
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>>
>>> This message (including any attachments) is intended only for the use of
>>> the individual or entity to which it is addressed and may contain
>>> information that is non-public, proprietary, privileged, confidential, and
>>> exempt from disclosure under applicable law or may constitute as attorney
>>> work product. If you are not the intended recipient, you are hereby
>>> notified that any use, dissemination, distribution, or copying of this
>>> communication is strictly prohibited. If you have received this
>>> communication in error, notify us immediately by telephone and (i) destroy
>>> this message if a facsimile or (ii) delete this message immediately if this
>>> is an electronic communication. Thank you.
>>>
>>
>>
>
>
> --
> Rajith Vitharana
>
> Software Engineer,
> WSO2 Inc. : wso2.com
> Mobile : +94715883223
> Blog : http://lankavitharana.blogspot.com/
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to