Elliotte Rusty Harold created XERCESJ-1800:
----------------------------------------------

             Summary: Tests included in production. jar?
                 Key: XERCESJ-1800
                 URL: https://issues.apache.org/jira/browse/XERCESJ-1800
             Project: Xerces2-J
          Issue Type: Bug
            Reporter: Elliotte Rusty Harold


Copilot thinks we're including tests in the production jar:

Putting this test in the production package causes it to be shipped in 
xercesImpl.jar when packaging after tests (for example, ant test jar). The 
tests target compiles into ${build.dest} (build.xml:374–375), and the jar 
target packages org/apache/** from that same directory (build.xml:333–336), 
including this JUnit-dependent class. Move the test to a package outside the 
production include patterns and update its batch-test entry, or explicitly 
exclude test classes from the production jars.

I'm not sure this is true but if it is it needs to be fixed



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to