[arquillian-issues] [JBoss JIRA] Created: (ARQ-412) Tests/doc/examples: Auto-detect version of dependency to add to war.

Ondrej Zizka (JIRA) jira-events at lists.jboss.org
Thu Apr 7 18:01:33 EDT 2011


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


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: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list