After installing the plugin locally (mvn clean source:jar install) I
have added it as follow:

        <dependency>
            <groupId>struts2-jsr303-validator-plugin</groupId>
            <artifactId>jsr303-validator</artifactId>
            <version>1.0-SNAPSHOT</version>
        </dependency>

        <dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-validator</artifactId>
            <version>4.3.1.Final</version>
        </dependency>


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2013/10/8 Umesh Awasthi <umeshawas...@gmail.com>:
> Thanks Everyone, issue was with my Eclipse as it was not updating project
> dependencies.
>
>
> On Mon, Oct 7, 2013 at 10:50 PM, Umesh Awasthi <umeshawas...@gmail.com>wrote:
>
>> I have got root cause of my issue. I was not checking it thoroughly and
>> thinking that my plugin is not being loaded properly.
>>
>> Not sure about root cause yet. I have declared plugin dependency in my
>> Struts2 sample application's pom.xml as
>>
>> <dependency>
>>        <groupId>bean-validator-plugin</groupId>
>>         <artifactId>bean-validator</artifactId>
>>         <version>1.0-SNAPSHOT</version>
>>   </dependency>
>>
>> but some how this is not being included in my Application, i used Eclipse
>> export to export war file in standalone tomcat server and on cross checking
>> lib folder,my plugin jar file was not there.
>>
>> Thanks
>> Umesh
>>
>>
>> On Mon, Oct 7, 2013 at 10:28 PM, Dave Newton <davelnew...@gmail.com>wrote:
>>
>>> On Mon, Oct 7, 2013 at 12:53 PM, Umesh Awasthi <umeshawas...@gmail.com
>>> >wrote:
>>>
>>> > Not sure why its showing this structure, i tried git for first time so
>>> > might be i have done some wrong steps.
>>> >
>>>
>>> No, it's fine; that's part of the github directory structure.
>>>
>>>
>>> > On Mon, Oct 7, 2013 at 10:06 PM, Martin Gainty <mgai...@hotmail.com>
>>> > wrote:
>>> >
>>> > > struts-plugin.xml should be always be located in
>>> > >
>>> > >
>>> > >
>>> >
>>> https://github.com/umeshawasthi/jsr303-validator-plugin/src/main/resources/struts-plugin.xml
>>>
>>>
>>> It is.
>>>
>>> Dave
>>>
>>
>>
>>
>> --
>> With Regards
>> Umesh Awasthi
>> http://www.travellingrants.com/
>>
>>
>>
>
>
>
> --
> With Regards
> Umesh Awasthi
> http://www.travellingrants.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to