graphql-java-kickstart/graphql-java-servlet

consider making servlet api's provided by server

eduarddrenth opened this issue · 0 comments

graphql-java-servlet now has a compile dependency on servlet api's. Normally these api's will be server provided.

of course user can exclude like below, but I think it would be good to add <scope>provided<scope>.

            <exclusions>
                <exclusion>
                    <groupId>jakarta.servlet</groupId>
                    <artifactId>jakarta.servlet-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>jakarta.websocket</groupId>
                    <artifactId>jakarta.websocket-api</artifactId>
                </exclusion>
                <exclusion>
                    <groupId>jakarta.websocket</groupId>
                    <artifactId>jakarta.websocket-client-api</artifactId>
                </exclusion>
            </exclusions>