]
Ondrej Zizka reassigned ARQ-412:
--------------------------------
Assignee: Aslak Knutsen
Tests/doc/examples: Auto-detect version of dependency to add to war.
--------------------------------------------------------------------
Key: ARQ-412
URL:
https://issues.jboss.org/browse/ARQ-412
Project: Arquillian
Issue Type: Enhancement
Security Level: Public(Everyone can see)
Reporter: Ondrej Zizka
Assignee: Aslak Knutsen
In various container tests (jetty and tomcat ATM), there's hard-coded version of
weld-servlet being packed to WAR.
I changed this to take some class's package's SpecificationVersion so that
it's aligned with pom.xml (or whatever version is on classpath).
https://gist.github.com/908830
I suggest to make this a standard for tests.
Also, I thought of having weld-servlet packed automatically by some test enricher, so
that user wouldn't have to do this at all.
If it's size (2.1 MB) is a concern, it could scan for CDI annotations and if found,
it would pack it.
Doable?
--
This message is automatically generated by JIRA.
For more information on JIRA, see: