Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge pull request #9 from zanata/static-check
Browse files Browse the repository at this point in the history
Static check happen earlier in build lifecycle
  • Loading branch information
seanf committed Mar 17, 2014
2 parents ee353a9 + 67f95d0 commit f22bfa0
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions pom.xml
Expand Up @@ -235,16 +235,14 @@
<excludes>src/test/resources/**</excludes>
<sourceDirectory>${project.basedir}</sourceDirectory>
</configuration>
<!--
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
<phase>verify</phase>
</execution>
</executions>
-->
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
<phase>test-compile</phase>
</execution>
</executions>
</plugin>

<plugin>
Expand Down Expand Up @@ -280,6 +278,7 @@
<goals>
<goal>analyze-only</goal>
</goals>
<phase>test-compile</phase>
</execution>
</executions>
<configuration>
Expand Down Expand Up @@ -323,11 +322,11 @@
</bannedDependencies>
<banDuplicateClasses>
<findAllDuplicates>true</findAllDuplicates>
<message xml:space="preserve">
Warning: found duplicate classes on classpath. Please remove unnecessary
dependencies if possible, and consider adding them to bannedDependencies.
If that is not possible, please add an ignoreClass for the class or entire
package.
<message xml:space="preserve">
Warning: found duplicate classes on classpath. Please remove unnecessary
dependencies if possible, and consider adding them to bannedDependencies.
If that is not possible, please add an ignoreClass for the class or entire
package.
</message>
</banDuplicateClasses>
<requireNoRepositories>
Expand Down Expand Up @@ -383,6 +382,7 @@ package.
<goals>
<goal>check</goal>
</goals>
<phase>test-compile</phase>
</execution>
</executions>
</plugin>
Expand Down

0 comments on commit f22bfa0

Please sign in to comment.