Hi Tharindu,

Thank you. Adding the repo as you mentioned worked. I had not configured
the repo properly.

Regards.

On Wed, Mar 11, 2015 at 11:02 AM, Tharindu Edirisinghe <[email protected]>
wrote:

> Hi Sabra,
>
> Can you add the repo as following and check again. In your config you
> haven't mentioned the updatePolicy as well which might be a possible cause.
>
>     <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>
>
> On Wed, Mar 11, 2015 at 10:56 AM, Sabra Ossen <[email protected]> wrote:
>
>> Hi,
>>
>> I am trying to implement a Data Service Task Class as mentioned in link
>> [1]. I need to import the following classes.
>>
>> import org.wso2.carbon.dataservices.core.DataServiceFault;
>> import org.wso2.carbon.dataservices.core.engine.ParamValue;
>> import org.wso2.carbon.dataservices.task.DataTask;
>> import org.wso2.carbon.dataservices.task.DataTaskContext;
>>
>> Therefore I added the repository and dependencies to my pom as follows.
>>
>> <repositories>
>>
>>     <repository>
>>         <id>org.wso2.carbon</id>
>>         
>> <url>http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/</url>
>>     </repository>
>>
>> </repositories>
>>
>>
>> <dependencies>
>>     <dependency>
>>         <groupId>org.wso2.carbon</groupId>
>>         <artifactId>org.wso2.carbon.dataservices.task</artifactId>
>>         <version>4.2.2</version>
>>     </dependency>
>>
>>     <dependency>
>>         <groupId>org.wso2.carbon</groupId>
>>         <artifactId>org.wso2.carbon.dataservices.core</artifactId>
>>         <version>4.2.4</version>
>>     </dependency>
>> </dependencies>
>>
>> But it states that both of the dependencies (versions) are not found.
>>
>> The links [2] and [3] shows that the respective versions exist, as well.
>>
>> Any help or clarification on this issue is appreciated.
>>
>> [1] https://docs.wso2.com/display/DSS322/Scheduling+Tasks
>>
>> [2]
>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/org.wso2.carbon.dataservices.task/
>>
>> [3]
>> http://maven.wso2.org/nexus/content/groups/wso2-public/org/wso2/carbon/org.wso2.carbon.dataservices.core/
>>
>> Thanks.
>> --
>> Sabra Ossen
>> *Software Engineering Intern*
>> Mobile : +94 (0) 775 837 356
>> [email protected]
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
>
> Tharindu Edirisinghe
> Software Engineer | WSO2 Inc
> Identity Server Team
> mobile : +94 775 181586
>



-- 
Sabra Ossen
*Software Engineering Intern*
Mobile : +94 (0) 775 837 356
[email protected]
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to