|
| 1 | +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <parent> |
| 7 | + <groupId>org.opendevstack.apiservice</groupId> |
| 8 | + <artifactId>devstack-api-service</artifactId> |
| 9 | + <version>0.0.3</version> |
| 10 | + </parent> |
| 11 | + |
| 12 | + <artifactId>api-project</artifactId> |
| 13 | + <name>API Projects</name> |
| 14 | + <description>API module for managing EDP projects</description> |
| 15 | + |
| 16 | + <dependencies> |
| 17 | + <dependency> |
| 18 | + <groupId>org.springframework.boot</groupId> |
| 19 | + <artifactId>spring-boot-starter-web</artifactId> |
| 20 | + </dependency> |
| 21 | + |
| 22 | + <dependency> |
| 23 | + <groupId>org.springframework.boot</groupId> |
| 24 | + <artifactId>spring-boot-starter-security</artifactId> |
| 25 | + </dependency> |
| 26 | + |
| 27 | + <dependency> |
| 28 | + <groupId>org.springframework.boot</groupId> |
| 29 | + <artifactId>spring-boot-starter-oauth2-resource-server</artifactId> |
| 30 | + </dependency> |
| 31 | + |
| 32 | + <dependency> |
| 33 | + <groupId>org.springframework.boot</groupId> |
| 34 | + <artifactId>spring-boot-starter-validation</artifactId> |
| 35 | + </dependency> |
| 36 | + |
| 37 | + <dependency> |
| 38 | + <groupId>org.springdoc</groupId> |
| 39 | + <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId> |
| 40 | + </dependency> |
| 41 | + |
| 42 | + <dependency> |
| 43 | + <groupId>org.opendevstack.apiservice</groupId> |
| 44 | + <artifactId>service-projects</artifactId> |
| 45 | + <version>${project.version}</version> |
| 46 | + </dependency> |
| 47 | + |
| 48 | + <dependency> |
| 49 | + <groupId>io.jsonwebtoken</groupId> |
| 50 | + <artifactId>jjwt-api</artifactId> |
| 51 | + <version>0.12.3</version> |
| 52 | + </dependency> |
| 53 | + |
| 54 | + <dependency> |
| 55 | + <groupId>io.jsonwebtoken</groupId> |
| 56 | + <artifactId>jjwt-impl</artifactId> |
| 57 | + <version>0.12.3</version> |
| 58 | + <scope>runtime</scope> |
| 59 | + </dependency> |
| 60 | + |
| 61 | + <dependency> |
| 62 | + <groupId>io.jsonwebtoken</groupId> |
| 63 | + <artifactId>jjwt-jackson</artifactId> |
| 64 | + <version>0.12.3</version> |
| 65 | + <scope>runtime</scope> |
| 66 | + </dependency> |
| 67 | + |
| 68 | + <dependency> |
| 69 | + <groupId>org.projectlombok</groupId> |
| 70 | + <artifactId>lombok</artifactId> |
| 71 | + <scope>provided</scope> |
| 72 | + </dependency> |
| 73 | + |
| 74 | + <dependency> |
| 75 | + <groupId>org.mapstruct</groupId> |
| 76 | + <artifactId>mapstruct</artifactId> |
| 77 | + <version>1.6.3</version> |
| 78 | + </dependency> |
| 79 | + |
| 80 | + <dependency> |
| 81 | + <groupId>org.openapitools</groupId> |
| 82 | + <artifactId>jackson-databind-nullable</artifactId> |
| 83 | + <version>${jackson-databind-nullable.version}</version> |
| 84 | + </dependency> |
| 85 | + |
| 86 | + <!-- Test dependencies --> |
| 87 | + |
| 88 | + <dependency> |
| 89 | + <groupId>org.springframework.boot</groupId> |
| 90 | + <artifactId>spring-boot-starter-test</artifactId> |
| 91 | + <scope>test</scope> |
| 92 | + </dependency> |
| 93 | + <dependency> |
| 94 | + <groupId>org.springframework.security</groupId> |
| 95 | + <artifactId>spring-security-core</artifactId> |
| 96 | + </dependency> |
| 97 | + </dependencies> |
| 98 | + |
| 99 | + <build> |
| 100 | + <plugins> |
| 101 | + <plugin> |
| 102 | + <groupId>org.apache.maven.plugins</groupId> |
| 103 | + <artifactId>maven-compiler-plugin</artifactId> |
| 104 | + <configuration> |
| 105 | + <annotationProcessorPaths> |
| 106 | + <path> |
| 107 | + <groupId>org.projectlombok</groupId> |
| 108 | + <artifactId>lombok</artifactId> |
| 109 | + <version>${lombok.version}</version> |
| 110 | + </path> |
| 111 | + <path> |
| 112 | + <groupId>org.mapstruct</groupId> |
| 113 | + <artifactId>mapstruct-processor</artifactId> |
| 114 | + <version>1.6.3</version> |
| 115 | + </path> |
| 116 | + </annotationProcessorPaths> |
| 117 | + </configuration> |
| 118 | + </plugin> |
| 119 | + <plugin> |
| 120 | + <groupId>org.openapitools</groupId> |
| 121 | + <artifactId>openapi-generator-maven-plugin</artifactId> |
| 122 | + <executions> |
| 123 | + <execution> |
| 124 | + <id>generate-api-project</id> |
| 125 | + <goals> |
| 126 | + <goal>generate</goal> |
| 127 | + </goals> |
| 128 | + <configuration> |
| 129 | + <generatorName>spring</generatorName> |
| 130 | + <output>${project.basedir}</output> |
| 131 | + <library>spring-boot</library> |
| 132 | + <inputSpec>${project.basedir}/openapi/api-project.yaml</inputSpec> |
| 133 | + <apiPackage>org.opendevstack.apiservice.project.api</apiPackage> |
| 134 | + <modelPackage>org.opendevstack.apiservice.project.model</modelPackage> |
| 135 | + <invokerPackage>org.opendevstack.apiservice.project</invokerPackage> |
| 136 | + <skipOverwrite>false</skipOverwrite> |
| 137 | + <generateApiTests>false</generateApiTests> |
| 138 | + <generateModelTests>false</generateModelTests> |
| 139 | + <generateApiDocumentation>false</generateApiDocumentation> |
| 140 | + <generateModelDocumentation>false</generateModelDocumentation> |
| 141 | + <generateSupportingFiles>false</generateSupportingFiles> |
| 142 | + <configOptions> |
| 143 | + <interfaceOnly>true</interfaceOnly> |
| 144 | + <useSpringBoot3>true</useSpringBoot3> |
| 145 | + <documentationProvider>springdoc</documentationProvider> |
| 146 | + <skipDefaultInterface>true</skipDefaultInterface> |
| 147 | + <hideGenerationTimestamp>true</hideGenerationTimestamp> |
| 148 | + <useTags>true</useTags> |
| 149 | + </configOptions> |
| 150 | + </configuration> |
| 151 | + </execution> |
| 152 | + </executions> |
| 153 | + </plugin> |
| 154 | + <plugin> |
| 155 | + <groupId>org.springframework.boot</groupId> |
| 156 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 157 | + <configuration> |
| 158 | + <skip>true</skip> |
| 159 | + </configuration> |
| 160 | + </plugin> |
| 161 | + </plugins> |
| 162 | + </build> |
| 163 | +</project> |
0 commit comments