msm4j-swagger-transformer
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>uk.ac.open.kmi.msm4j</groupId> <artifactId>msm4j-swagger-transformer</artifactId> <version>1.3.5</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- ~ Copyright (c) 2014. Knowledge Media Institute - The Open University ~ ~ Licensed under the Apache License, Version 2.0 (the "License"); ~ you may not use this file except in compliance with the License. ~ You may obtain a copy of the License at ~ ~ http://www.apache.org/licenses/LICENSE-2.0 ~ ~ Unless required by applicable law or agreed to in writing, software ~ distributed under the License is distributed on an "AS IS" BASIS, ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. ~ See the License for the specific language governing permissions and ~ limitations under the License. --> <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>msm4j-parent</artifactId> <groupId>uk.ac.open.kmi.msm4j</groupId> <version>1.3.5</version> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>msm4j-swagger-transformer</artifactId> <name>MSM4J Swagger Transformer</name> <description> Swagger Transformer provides support for transforming Swagger descriptions into Minimal Service Model. </description> <properties> <jetty.version>8.1.11.v20130520</jetty.version> </properties> <dependencies> <dependency> <groupId>${project.parent.groupId}</groupId> <artifactId>msm4j-vocabulary</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>${project.parent.groupId}</groupId> <artifactId>msm4j-io</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>commons-configuration</groupId> <artifactId>commons-configuration</artifactId> <version>${commons-config.version}</version> </dependency> <dependency> <groupId>com.jayway.jsonpath</groupId> <artifactId>json-path</artifactId> <version>0.9.1</version> </dependency> <!--Add Guice for dependency injection --> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>${guice.version}</version> </dependency> <dependency> <groupId>com.google.inject.extensions</groupId> <artifactId>guice-multibindings</artifactId> <version>${guice.version}</version> </dependency> <dependency> <groupId>com.smartbear</groupId> <artifactId>swagger4j</artifactId> <version>1.0-beta4</version> </dependency> <!--Tests over Guice--> <dependency> <groupId>org.jukito</groupId> <artifactId>jukito</artifactId> <version>1.2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-jsp</artifactId> <version>${jetty.version}</version> <exclusions> <exclusion> <artifactId>javax.servlet</artifactId> <groupId>org.eclipse.jetty.orbit</groupId> </exclusion> <exclusion> <artifactId>javax.servlet.jsp</artifactId> <groupId>org.eclipse.jetty.orbit</groupId> </exclusion> </exclusions> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-util</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-server</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-webapp</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlet</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-servlets</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.eclipse.jetty</groupId> <artifactId>jetty-annotations</artifactId> <version>${jetty.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>servlet-api</artifactId> <version>2.5</version> <scope>provided</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>eu.somatik.serviceloader-maven-plugin</groupId> <artifactId>serviceloader-maven-plugin</artifactId> <version>1.0.2</version> <configuration> <services> <param>uk.ac.open.kmi.msm4j.io.TransformationPluginModule</param> </services> </configuration> <executions> <execution> <goals> <goal>generate</goal> </goals> </execution> </executions> </plugin> <!-- Configure Integration Tests--> <!-- skip unit test run, tests to be executed during integration-test --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.15</version> <configuration> <skipTests>true</skipTests> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.15</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <!-- Launch Jetty before tests --> <plugin> <groupId>org.mortbay.jetty</groupId> <artifactId>jetty-maven-plugin</artifactId> <version>${jetty.version}</version> <configuration> <useTestScope>true</useTestScope> <webAppSourceDirectory>${project.basedir}/src/test/resources</webAppSourceDirectory> <webAppConfig> <contextPath>/api-docs</contextPath> </webAppConfig> <scanIntervalSeconds>10</scanIntervalSeconds> <stopKey>foo</stopKey> <stopPort>9999</stopPort> <connectors> <connector implementation="org.eclipse.jetty.server.nio.SelectChannelConnector"> <port>10000</port> <maxIdleTime>60000</maxIdleTime> </connector> </connectors> </configuration> <!-- Launch prior to testing --> <executions> <execution> <id>start-jetty</id> <phase>pre-integration-test</phase> <goals> <goal>start</goal> </goals> <configuration> <scanIntervalSeconds>0</scanIntervalSeconds> <daemon>true</daemon> </configuration> </execution> <execution> <id>stop-jetty</id> <phase>post-integration-test</phase> <goals> <goal>stop</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <repositories> <repository> <id>soapUI Repository</id> <url>http://www.soapui.org/repository/maven2</url> </repository> </repositories> </project>