Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakarta.ee-community] Maven Versioning Rules

On 11/28/18 12:57 PM, Bill Shannon wrote:
If you want to run code (e.g., unit tests), you need an implementation, not just the API definitions.  Again, the API jar file was only intended to be used when compiling.
Unfortunately there is no compile-only scope with Maven.
The closest thing is provided, however provided scope goes into the test classpath.

Having a stripped API JAR file in the test class-path can have undesired side-effects.
E.g. Arquillian was broken with the old javax:javaee-api:6.0

Back to the top