On Sunday 15 February 2009 18:34:05 phillips1021 wrote:
> Dave and Wes - Thank you both for the replies.
>
> We can exclude the xWork 2.1.2 jar dependency from Struts 2.1.6 in our
> pom.xml file for our projects as Wes suggests.  However, it doesn't appear
> that xWork 2.1.3 jar is available in the repository as this fails:
>
> <dependency>
>       <groupId>com.opensymphony</groupId>
>       <artifactId>xwork</artifactId>
>       <version>2.1.3</version>
>       <scope>compile</scope>
>     </dependency>
>
> Bruce

2.1.3 is a snapshot. I don't know if xwork is published to a snapshot repo. I 
would try enabling snapshots, then change the dependency to 2.1.3-SNAPSHOT

If that doesn't work (which it may not), you can grab a copy of it somewhere, 
or build it yourself. I would suggest building, it only takes a minute to 
checkout from SVN and compile, this way you can trust the source. If you grab 
a copy of the jar, rather than building, you'll have to `mvn install` it.

Of course, you can go the ol' fashioned (C / OSS) way and find the patch that 
fixes your problem, apply it and rebuild the 2.1.2 with the patch applied. 
Either way, there are many options, I suppose the route you take depends more 
on your needs than anything else.

-Wes

-- 

Wes Wannemacher
Author - Struts 2 In Practice 
Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
http://www.manning.com/wannemacher


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

Reply via email to