swagger-hibernate-validations
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.swagger</groupId> <artifactId>swagger-hibernate-validations</artifactId> <version>1.6.16</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> <groupId>io.swagger</groupId> <artifactId>swagger-project</artifactId> <version>1.6.16</version> <relativePath>../..</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <groupId>io.swagger</groupId> <artifactId>swagger-hibernate-validations</artifactId> <packaging>jar</packaging> <version>1.6.16</version> <name>swagger-hibernate-validations</name> <description>swagger-hibernate-validations</description> <build> <sourceDirectory>src/main/java</sourceDirectory> <defaultGoal>install</defaultGoal> <resources> <resource> <directory>src/main/resources</directory> <excludes> <exclude>logback.xml</exclude> </excludes> </resource> </resources> <testResources> <testResource> <directory>src/test/resources</directory> </testResource> </testResources> <plugins> <plugin> <groupId>biz.aQute.bnd</groupId> <artifactId>bnd-maven-plugin</artifactId> <configuration> <bnd> Import-Package: javax.validation.constraints;version="[1.1,3)",* Export-Package: \ io.swagger.converter,\ io.swagger.core,\ io.swagger.core.util,\ io.swagger.reader,\ io.swagger.config,\ io.swagger.models </bnd> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>default-jar</id> <configuration> <archive> <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> <manifestEntries> <Automatic-Module-Name>io.swagger.validator</Automatic-Module-Name> </manifestEntries> </archive> </configuration> </execution> <execution> <goals> <goal>test-jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>io.swagger</groupId> <artifactId>swagger-jaxrs</artifactId> <version>${project.parent.version}</version> <exclusions> <exclusion> <groupId>javax.ws.rs</groupId> <artifactId>jsr311-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-validator</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-core</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <scope>test</scope> </dependency> </dependencies> <properties> <hibernate-validator-version>5.1.3.Final</hibernate-validator-version> <!-- TODO increase coverage and remove these overrides--> <coverage.complexity.minimum>0.50</coverage.complexity.minimum> <coverage.line.minimum>0.90</coverage.line.minimum> </properties> </project>