Swagger-UI using Spring framework
[cps.git] / cps / cps-rest / pom.xml
index f9be75b..d10e0b6 100644 (file)
             <artifactId>swagger-annotations</artifactId>\r
         </dependency>\r
         <dependency>\r
-            <groupId>io.swagger.core.v3</groupId>\r
-            <artifactId>swagger-jaxrs2</artifactId>\r
+            <groupId>io.springfox</groupId>\r
+            <artifactId>springfox-boot-starter</artifactId>\r
         </dependency>\r
+\r
         <dependency>\r
             <groupId>org.springframework.boot</groupId>\r
             <artifactId>spring-boot-starter-test</artifactId>\r
                 <groupId>org.springframework.boot</groupId>\r
                 <artifactId>spring-boot-maven-plugin</artifactId>\r
             </plugin>\r
+            <!-- Swagger code generation. -->\r
             <plugin>\r
-                <!-- Download Swagger UI webjar. -->\r
-                <groupId>org.apache.maven.plugins</groupId>\r
-                <artifactId>maven-dependency-plugin</artifactId>\r
-            </plugin>\r
-            <plugin>\r
-                <!-- Copy Swagger UI resources to static resources directory. -->\r
-                <groupId>org.apache.maven.plugins</groupId>\r
-                <artifactId>maven-resources-plugin</artifactId>\r
-            </plugin>\r
-            <plugin>\r
-                <!-- Replace the OpenAPI specification example URL with the local one. -->\r
-                <groupId>com.google.code.maven-replacer-plugin</groupId>\r
-                <artifactId>replacer</artifactId>\r
+                <groupId>io.swagger.codegen.v3</groupId>\r
+                <artifactId>swagger-codegen-maven-plugin</artifactId>\r
             </plugin>\r
         </plugins>\r
     </build>\r