If the packaging is set to jar in the POM you can build a test-jar. This
does not work when packaging is set to ejb. Since the POM always allows
you to set a testSourceDirectory for all package types I don't the
reason for this limitation. 

 

Is this something that can be added to Jira as a feature request or was
it a deliberate choice to only allow test-jars for jar projects?

Reply via email to