Force exclusion of jsr311
[music.git] / music-rest / pom.xml
index 84e86ed..d412cce 100755 (executable)
     </dependencyManagement>
 
     <dependencies>
-        <!-- Development -->
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>javax.servlet-api</artifactId>
-            <version>4.0.1</version>
-            <scope>provided</scope>
-        </dependency>
-        <!-- Springboot -->
+
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter</artifactId>
             <groupId>com.sun.jersey</groupId>
             <artifactId>jersey-client</artifactId>
             <version>${jersey1.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>javax.ws.rs</groupId>
+                    <artifactId>jsr311-api</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>com.sun.jersey</groupId>
                     <outputDirectory>${project.basedir}/distribution/music/</outputDirectory>
                     <addResources>true</addResources>
                     <finalName>MUSIC-SB</finalName>
+                    <excludes>
+                      <exclude>
+                        <groupId>javax.ws.rs</groupId>
+                        <artifactId>jsr311-api</artifactId>
+                      </exclude>
+                    </excludes>
                 </configuration>
                 <executions>
                     <execution>