1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>service-redscarf</artifactId>
- <groupId>com.crunii.microservice</groupId>
- <version>${micro.version}</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>service-redscarf-biz</artifactId>
- <properties>
- <maven.compiler.source>8</maven.compiler.source>
- <maven.compiler.target>8</maven.compiler.target>
- </properties>
- <dependencies>
- <dependency>
- <groupId>com.crunii.microservice</groupId>
- <artifactId>service-redscarf-api</artifactId>
- <version>${micro.version}</version>
- </dependency>
- <dependency>
- <groupId>com.crunii.microservice</groupId>
- <artifactId>micro-core</artifactId>
- </dependency>
- </dependencies>
- <!-- 不使用自动生成代码 -->
- <!--<build>
- <plugins>
- <plugin>
- <groupId>org.openapitools</groupId>
- <artifactId>openapi-generator-maven-plugin</artifactId>
- <version>6.6.0</version>
- <executions>
- <execution>
- <goals>
- <goal>generate</goal>
- </goals>
- <configuration>
- <templateDirectory>${session.executionRootDirectory}/openapi/template</templateDirectory>
- <inputSpec>openapi/hlj.yaml</inputSpec>
- <generatorName>spring</generatorName>
- <apiPackage>com.crunii.micro.service.redscarf.controller</apiPackage>
- <modelPackage>com.crunii.micro.service.redscarf.dto</modelPackage>
- <generateModelDocumentation>true</generateModelDocumentation>
- <skipValidateSpec>false</skipValidateSpec>
- <configOptions>
- <delegatePattern>true</delegatePattern>
- <title>swagger</title>
- <serializableModel>true</serializableModel>
- </configOptions>
- <!– https://github.com/OpenAPITools/openapi-generator/issues/4680#issuecomment-656199687–>
- <importMappings>
- <importMapping>Request=javax.servlet.http.HttpServletRequest</importMapping>
- </importMappings>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!– 指定多个源代码目录、多个资源文件目录 –>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>3.3.0</version>
- <executions>
- <execution>
- <id>add-source</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>add-source</goal>
- </goals>
- <configuration>
- <sources>
- <source>src/java/main</source>
- <source>
- ${project.build.directory}/generated-sources/openapi/src/java/main</source>
- </sources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>-->
- </project>
|