swagger-ui-integration
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.shipstone</groupId> <artifactId>swagger-ui-integration</artifactId> <version>1.0</version> </dependency>
<?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"> <modelVersion>4.0.0</modelVersion> <groupId>org.shipstone</groupId> <artifactId>swagger-ui-integration</artifactId> <version>1.0</version> <packaging>jar</packaging> <url>https://github.com/ptitbob/swagger-ui-integration</url> <name>swagger-ui-integration</name> <description>Swagger core and UI integration effortless for JavaEE application</description> <licenses> <license> <name>GNU LESSER GENERAL PUBLIC LICENSE version 3</name> <url>http://www.gnu.org/licenses/lgpl-3.0.fr.html</url> </license> </licenses> <developers> <developer> <name>Francois Robert</name> <email>francois.robert@shipstone.org</email> <url>http://www.shipstone.org</url> <timezone>Europe/Paris</timezone> <roles> <role>Developer</role> </roles> </developer> </developers> <scm> <url>https://github.com/ptitbob/swagger-ui-integration</url> <connection>scm:git:git@github.com:ptitbob/swagger-ui-integration.git</connection> <developerConnection>scm:git:git@github.com:ptitbob/swagger-ui-integration.git</developerConnection> <tag>v1.0</tag> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.java.version>1.7</project.java.version> <javaee.version>7.0</javaee.version> <maven.min.version>3.3.0</maven.min.version> <swagger.version>1.5.8</swagger.version> <swagger-ui.version>2.1.4</swagger-ui.version> <javax.servlet.version>3.0.1</javax.servlet.version> <slf4j.version>1.7.19</slf4j.version> <upstream.url>https://github.com/swagger-api/swagger-ui/archive</upstream.url> <destDir>${project.build.outputDirectory}/META-INF/resources/${project.artifactId}</destDir> </properties> <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> <dependencies> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-jaxrs</artifactId> <version>${swagger.version}</version> <exclusions> <exclusion> <groupId>javax.ws.rs</groupId> <artifactId>jsr311-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <version>${javax.servlet.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.ws.rs</groupId> <artifactId>${jax.ws.rs.apiName}</artifactId> <version>${jax.ws.rs.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>${slf4j.version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>wagon-maven-plugin</artifactId> <version>1.0-beta-4</version> <executions> <execution> <phase>process-resources</phase> <goals> <goal>download-single</goal> </goals> <configuration> <url>${upstream.url}</url> <fromFile>v${swagger-ui.version}.zip</fromFile> <toFile>${project.basedir}/temp/swagger-ui-dist.zip</toFile> </configuration> </execution> </executions> </plugin> <plugin> <artifactId>maven-antrun-plugin</artifactId> <version>1.8</version> <executions> <execution> <phase>process-resources</phase> <goals> <goal>run</goal> </goals> <configuration> <target> <unzip src="${project.basedir}/temp/swagger-ui-dist.zip" dest="${project.basedir}/temp/ui/" /> <copy todir="${destDir}"> <fileset dir="${project.basedir}/temp/ui/swagger-ui-${swagger-ui.version}/dist/" includes="**/*" /> </copy> <delete dir="${project.basedir}/temp" includeemptydirs="true" /> </target> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.2</version> <configuration> <source>${project.java.version}</source> <target>${project.java.version}</target> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.5.3</version> <configuration> <tagNameFormat>v@{project.version}</tagNameFormat> <autoVersionSubmodules>true</autoVersionSubmodules> <useReleaseProfile>false</useReleaseProfile> <releaseProfiles>release</releaseProfiles> <goals>deploy</goals> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>jaxrs1</id> <activation> <activeByDefault>true</activeByDefault> </activation> <properties> <jax.ws.rs.apiName>jsr311-api</jax.ws.rs.apiName> <jax.ws.rs.version>1.1.1</jax.ws.rs.version> </properties> </profile> <profile> <id>jaxrs2</id> <activation> <activeByDefault>false</activeByDefault> </activation> <properties> <jax.ws.rs.apiName>javax.ws.rs-api</jax.ws.rs.apiName> <jax.ws.rs.version>2.0</jax.ws.rs.version> </properties> </profile> <profile> <id>checksum</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>net.ju-n.maven.plugins</groupId> <artifactId>checksum-maven-plugin</artifactId> <version>1.3</version> <executions> <execution> <goals> <goal>artifacts</goal> </goals> </execution> </executions> <configuration> <fileSets> <fileSet> <directory>target</directory> <exclude>*.asc</exclude> </fileSet> </fileSets> <algorithms> <algorithm>MD5</algorithm> <algorithm>SHA-1</algorithm> </algorithms> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>release</id> <activation> <activeByDefault>false</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.3</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>1.6</version> <configuration> </configuration> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>2.10.3</version> <executions> <execution> <id>attach-javadoc</id> <phase>verify</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.0.0</version> <executions> <execution> <id>attach-sources</id> <phase>verify</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> </project>