Skip to content

use with jersey requires exclusion in maven #81

@jillesvangurp

Description

@jillesvangurp

I followed the instructions for running and couldn't get my code working until I added an exclusion for the runtime dependency:

    <dependency>
        <groupId>com.wordnik</groupId>
        <artifactId>swagger-jaxrs_2.10</artifactId>
        <version>1.3.2</version>
        <exclusions>
            <exclusion>
                <groupId>javax.ws.rs</groupId>
                <artifactId>jsr311-api</artifactId>
            </exclusion>
        </exclusions>
    </dependency>    

The jsr311-api dependency conflicts with my jersey setup. It seems the wordnik jar has a dependency
javax.ws.rs:jsr311-api:jar:1.1.1:compile that conflicts with whatever jersey comes with.

You might want to update your documentation for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions