Merge pull request #3 from kemitix/switch-to-kemitix-parent
Switch to kemitix-parent as parent pom
This commit is contained in:
commit
4f8fbe50c5
3 changed files with 23 additions and 17 deletions
|
@ -82,11 +82,15 @@
|
||||||
<!-- See http://checkstyle.sourceforge.net/config.html -->
|
<!-- See http://checkstyle.sourceforge.net/config.html -->
|
||||||
<module name="SuppressWarningsHolder"/>
|
<module name="SuppressWarningsHolder"/>
|
||||||
|
|
||||||
|
<module name="FileContentsHolder"/>
|
||||||
|
|
||||||
<!-- Checks for Javadoc comments. -->
|
<!-- Checks for Javadoc comments. -->
|
||||||
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
|
<!-- See http://checkstyle.sf.net/config_javadoc.html -->
|
||||||
<module name="JavadocMethod"/>
|
<module name="JavadocMethod">
|
||||||
|
<property name="scope" value="public"/>
|
||||||
|
</module>
|
||||||
<module name="JavadocType"/>
|
<module name="JavadocType"/>
|
||||||
<module name="JavadocVariable"/>
|
<!--<module name="JavadocVariable"/>-->
|
||||||
<module name="JavadocStyle"/>
|
<module name="JavadocStyle"/>
|
||||||
|
|
||||||
|
|
||||||
|
@ -113,12 +117,7 @@
|
||||||
|
|
||||||
<!-- Checks for Size Violations. -->
|
<!-- Checks for Size Violations. -->
|
||||||
<!-- See http://checkstyle.sf.net/config_sizes.html -->
|
<!-- See http://checkstyle.sf.net/config_sizes.html -->
|
||||||
<module name="LineLength">
|
<module name="LineLength"/>
|
||||||
<!-- Allow for long imports for Spring Batch -->
|
|
||||||
<!-- EnableBatchProcessing, JobBuilderFactory -->
|
|
||||||
<!-- and StepBuilderFactory -->
|
|
||||||
<property name="ignorePattern" value="^import"/>
|
|
||||||
</module>
|
|
||||||
<module name="MethodLength"/>
|
<module name="MethodLength"/>
|
||||||
<module name="ParameterNumber"/>
|
<module name="ParameterNumber"/>
|
||||||
|
|
||||||
|
@ -157,7 +156,11 @@
|
||||||
<module name="AvoidInlineConditionals"/>
|
<module name="AvoidInlineConditionals"/>
|
||||||
<module name="EmptyStatement"/>
|
<module name="EmptyStatement"/>
|
||||||
<module name="EqualsHashCode"/>
|
<module name="EqualsHashCode"/>
|
||||||
<module name="HiddenField"/>
|
<module name="HiddenField">
|
||||||
|
<property name="ignoreConstructorParameter" value="true"/>
|
||||||
|
<property name="ignoreSetter" value="true"/>
|
||||||
|
<property name="setterCanReturnItsClass" value="true"/>
|
||||||
|
</module>
|
||||||
<module name="IllegalInstantiation"/>
|
<module name="IllegalInstantiation"/>
|
||||||
<module name="InnerAssignment"/>
|
<module name="InnerAssignment"/>
|
||||||
<module name="MagicNumber"/>
|
<module name="MagicNumber"/>
|
||||||
|
@ -184,5 +187,6 @@
|
||||||
</module>
|
</module>
|
||||||
|
|
||||||
<module name="SuppressWarningsFilter"/>
|
<module name="SuppressWarningsFilter"/>
|
||||||
|
<module name="SuppressionCommentFilter"/>
|
||||||
|
|
||||||
</module>
|
</module>
|
||||||
|
|
7
pom.xml
7
pom.xml
|
@ -30,8 +30,8 @@
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>net.kemitix</groupId>
|
<groupId>net.kemitix</groupId>
|
||||||
<artifactId>kemitix-spring-parent</artifactId>
|
<artifactId>kemitix-parent</artifactId>
|
||||||
<version>1.2.1</version>
|
<version>0.6.1</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -48,13 +48,14 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>junit</groupId>
|
<groupId>junit</groupId>
|
||||||
<artifactId>junit</artifactId>
|
<artifactId>junit</artifactId>
|
||||||
|
<version>4.12</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.mockito</groupId>
|
<groupId>org.mockito</groupId>
|
||||||
<artifactId>mockito-core</artifactId>
|
<artifactId>mockito-core</artifactId>
|
||||||
|
<version>1.10.19</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
<type>jar</type>
|
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|
|
@ -209,7 +209,8 @@ public class WiserAssertionsTest {
|
||||||
//given
|
//given
|
||||||
final String fragment = "foo";
|
final String fragment = "foo";
|
||||||
//when
|
//when
|
||||||
sendMimeMultipartMessage("from", "to", "subject " + fragment + " tail", "body");
|
sendMimeMultipartMessage(
|
||||||
|
"from", "to", "subject " + fragment + " tail", "body");
|
||||||
//then
|
//then
|
||||||
getAssertions().withSubjectContains(fragment);
|
getAssertions().withSubjectContains(fragment);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue