springdoc-openapi-demos
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-demos</artifactId> <version>3.1.5</version> </dependency>
<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"> <modelVersion>4.0.0</modelVersion> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-demos</artifactId> <version>3.1.5</version> <packaging>pom</packaging> <name>Spring-openapi demos</name> <description>Spring-openapi demos</description> <url>https://springdoc.org/</url> <licenses> <license> <name>The Apache License, Version 2.0</name> <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> </license> </licenses> <developers> <developer> <name>Badr NASS</name> <email>support@springdoc.org</email> <organization>BADR</organization> <organizationUrl>https://springdoc.org/</organizationUrl> </developer> </developers> <scm> <url>git@github.com:springdoc/springdoc-openapi-demos.git</url> <connection>scm:git:git@github.com:springdoc/springdoc-openapi-demos.git </connection> <developerConnection> scm:git:git@github.com:springdoc/springdoc-openapi-demos.git </developerConnection> <tag>v3.1.5</tag> </scm> <distributionManagement> <snapshotRepository> <id>ossrh</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> <repository> <id>ossrh</id> <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> </distributionManagement> <repositories> <repository> <id>snapshots-repo</id> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>central</id> <url>https://repo.maven.apache.org/maven2</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>spring-release</id> <name>Spring release</name> <url>https://repo.spring.io/release</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>spring-snapshot</id> <name>Spring Snapshots</name> <url>https://repo.spring.io/snapshot</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>spring-milestone</id> <name>Spring Milestone</name> <url>https://repo.spring.io/milestone</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> </repositories> <modules> <module>springdoc-openapi-spring-boot-1</module> <module>springdoc-openapi-spring-boot-2-webmvc</module> <module>springdoc-openapi-spring-boot-2-webflux</module> <module>springdoc-openapi-spring-boot-2-webflux-functional</module> <module>sample-springdoc-openapi-book-service</module> <module>sample-springdoc-openapi-oauth2</module> <module>sample-springdoc-openapi-microservices</module> <module>sample-springdoc-openapi-person-service</module> <module>sample-springdoc-openapi-hateoas-service</module> <module>sample-springdoc-openapi-data-rest</module> </modules> <properties> <java.version>1.8</java.version> <resource.delimiter>@</resource.delimiter> <maven.compiler.source>${java.version}</maven.compiler.source> <maven.compiler.target>${java.version}</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <spring-boot.version>2.4.0</spring-boot.version> <springdoc.version>1.5.2</springdoc.version> <maven-source-plugin.version>3.0.1</maven-source-plugin.version> <maven-javadoc-plugin.version>3.0.1</maven-javadoc-plugin.version> <maven-gpg-plugin.version>1.6</maven-gpg-plugin.version> <maven-release-plugin.version>2.5.3</maven-release-plugin.version> <nexus-staging-maven-plugin>1.6.8</nexus-staging-maven-plugin> <jib-maven-plugin.version>2.5.0</jib-maven-plugin.version> <spring-boot-maven-plugin.version>2.3.4.RELEASE</spring-boot-maven-plugin.version> <springdoc-openapi-maven-plugin.version>1.0</springdoc-openapi-maven-plugin.version> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>${spring-boot.version}</version> <type>pom</type> <scope>import</scope> </dependency> <!-- OpenAPI 3 --> <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-ui</artifactId> <version>${springdoc.version}</version> </dependency> <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-webflux-ui</artifactId> <version>${springdoc.version}</version> </dependency> <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-webmvc-core</artifactId> <version>${springdoc.version}</version> </dependency> <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-security</artifactId> <version>${springdoc.version}</version> </dependency> <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-data-rest</artifactId> <version>${springdoc.version}</version> </dependency> <dependency> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-hateoas</artifactId> <version>${springdoc.version}</version> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> <exclusions> <exclusion> <groupId>org.junit.vintage</groupId> <artifactId>junit-vintage-engine</artifactId> </exclusion> </exclusions> </dependency> </dependencies> <build> <pluginManagement> <plugins> <plugin> <groupId>org.springdoc</groupId> <artifactId>springdoc-openapi-maven-plugin</artifactId> <version>${springdoc-openapi-maven-plugin.version}</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${spring-boot-maven-plugin.version}</version> <executions> <execution> <goals> <goal>build-info</goal> <goal>repackage</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>com.google.cloud.tools</groupId> <artifactId>jib-maven-plugin</artifactId> <version>${jib-maven-plugin.version}</version> <configuration> <from> <image>openjdk:8-jre-slim</image> </from> <to> <image> registry.hub.docker.com/springdocdemos/${project.artifactId} </image> </to> <container> <jvmFlags> <jvmFlag>-XshowSettings:vm</jvmFlag> <jvmFlag>-noverify</jvmFlag> <jvmFlag>-Dspring.main.lazy-initialization=true</jvmFlag> <jvmFlag>-XX:TieredStopAtLevel=1</jvmFlag> <jvmFlag>-XX:+UseSerialGC</jvmFlag> </jvmFlags> </container> </configuration> </plugin> </plugins> <resources> <resource> <directory>src/main/resources</directory> <filtering>true</filtering> </resource> </resources> </build> <profiles> <profile> <id>gpg</id> <build> <plugins> <plugin> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>${nexus-staging-maven-plugin}</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <artifactId>maven-release-plugin</artifactId> <version>${maven-release-plugin.version}</version> <configuration> <tagNameFormat>v@{project.version}</tagNameFormat> <autoVersionSubmodules>true</autoVersionSubmodules> <useReleaseProfile>false</useReleaseProfile> <releaseProfiles>gpg</releaseProfiles> <goals>deploy</goals> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>