blob: eec409ba9c2c0ae555760684b57d26c4ea8aa9e3 [file]
<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.apache.geronimo.test</groupId>
<artifactId>geronimo-openapi-generation-test</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.geronimo</groupId>
<artifactId>geronimo-openapi-maven-plugin</artifactId>
<version>@project.version@</version>
<executions>
<execution>
<id>generate-openapi.json</id>
<goals>
<goal>openapi.json</goal>
</goals>
<configuration>
<application>com.test.MyApp</application>
<endpointClasses>
<endpointClass>com.test.SomeEndpoint</endpointClass>
</endpointClasses>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>2.1.4</version>
</dependency>
</dependencies>
</project>