Find file
Fetching contributors…
Cannot retrieve contributors at this time
80 lines (66 sloc) 3.12 KB
<!DOCTYPE html>
<meta charset='utf-8' />
<meta http-equiv="X-UA-Compatible" content="chrome=1" />
<meta name="description" content="Scalastyle - Maven plugin" />
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<title>Scalastyle - Maven plugin</title>
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="">View on GitHub</a>
<h1 id="project_title">Scalastyle - Maven plugin</h1>
<div id="main_content_wrap" class="outer">
<section id="main_content" class="inner">
<h3 id='goals_overview'>Goals Overview</h3>
<li><strong>scalastyle:check</strong> performs a violation check against the scalastyle config file to see if there are any violations. It counts the number of violations found and displays it on the console if verbose is enabled.</li>
<h3 id='repository'>Repository</h3>
<p>The repository for the Scalastyle maven plugin is: <a href=''>Sonatype :</a></p>
<h3 id='usage__scalacheck_violation_part_of_build_cycle'>Usage - scalacheck violation part of build cycle</h3>
<p>To Configure the Scalastyle Plugin, you need to the add it in the &#60;build&#62; section of your pom.xml as shown in the sample below, and by default the build will fail if there are any violations of level error found. Default phase of execution is <code>verify</code>. The following is an example of a configuration which would be used in a pom:</p>
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">