raml-validator

A maven plugin that will fail the build if the passed RAML file is not valid.

License

License

GroupId

GroupId

com.cvent
ArtifactId

ArtifactId

raml-validator
Last Version

Last Version

2.0.1
Release Date

Release Date

Type

Type

maven-plugin
Description

Description

raml-validator
A maven plugin that will fail the build if the passed RAML file is not valid.
Project URL

Project URL

https://github.com/cvent/raml-validator
Source Code Management

Source Code Management

https://github.com/cvent/raml-validator

Download raml-validator

How to add to project

<plugin>
    <groupId>com.cvent</groupId>
    <artifactId>raml-validator</artifactId>
    <version>2.0.1</version>
</plugin>

Dependencies

compile (5)

Group / Artifact Type Version
org.apache.maven : maven-plugin-api jar 2.0
com.google.guava : guava jar 18.0
com.fasterxml.jackson.core : jackson-databind jar 2.9.0
org.raml : raml-parser-2 jar 1.0.14
org.raml : yagi jar 1.0.14

test (1)

Group / Artifact Type Version
junit : junit jar 3.8.1

Project Modules

There are no modules declared in this project.

RAML Validator

This maven plugin will validate a RAML file and fail the build stage if there are errors. In order to use in your project, add this to the build section of your pom file:

<build>
        <plugins>
            <plugin>
                <groupId>com.cvent</groupId>
                <artifactId>raml-validator</artifactId>
                <version>1.0.0</version>
                <configuration>
                    <ramlFile>api.raml</ramlFile>
                </configuration>
                <executions>
                    <execution>
                        <phase>compile</phase>
                        <goals>
                            <goal>validate-raml</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>
            ...
        </plugins>
        ...
<build>
com.cvent

Cvent

Versions

Version
2.0.1
2.0.0
1.0.0