Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Commit

Permalink
Fixed release issues of UI project and incremented the version (#3138)
Browse files Browse the repository at this point in the history
* Fixed release issues of UI project and incremented the version

* marking release version of 3.1.0 as baseline for UI only project
  • Loading branch information
rvema committed Sep 9, 2019
1 parent 615ac98 commit 82494a9
Show file tree
Hide file tree
Showing 4 changed files with 103 additions and 7 deletions.
98 changes: 98 additions & 0 deletions UI-tests/pmd.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
<?xml version="1.0"?>
<ruleset name="Custom ruleset"
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
<description>
Exclude noisy rules.
</description>

<rule ref="rulesets/internal/all-java.xml">
<exclude name="AbstractNaming"/>
<exclude name="AddEmptyString"/>
<exclude name="AppendCharacterWithChar"/>
<exclude name="ArrayIsStoredDirectly"/>
<exclude name="AssignmentInOperand"/>
<exclude name="AtLeastOneConstructor"/>
<exclude name="AvoidCatchingGenericException"/>
<exclude name="AvoidDuplicateLiterals"/>
<exclude name="AvoidFieldNameMatchingMethodName"/>
<exclude name="AvoidFinalLocalVariable"/>
<exclude name="AvoidInstantiatingObjectsInLoops"/>
<exclude name="AvoidLiteralsInIfCondition"/>
<exclude name="AvoidPrefixingMethodParameters"/>
<exclude name="AvoidSynchronizedAtMethodLevel"/>
<exclude name="AvoidThrowingNullPointerException"/>
<exclude name="AvoidThrowingRawExceptionTypes"/>
<exclude name="AvoidUsingShortType"/>
<exclude name="BeanMembersShouldSerialize"/>
<exclude name="CallSuperInConstructor"/>
<exclude name="CommentRequired"/>
<exclude name="CommentSize"/>
<exclude name="CompareObjectsWithEquals"/>
<exclude name="ConfusingTernary"/>
<exclude name="CyclomaticComplexity"/>
<exclude name="DataflowAnomalyAnalysis"/>
<exclude name="DefaultPackage"/>
<exclude name="DoNotUseThreads"/>
<exclude name="DuplicateImports"/>
<exclude name="EmptyMethodInAbstractClassShouldBeAbstract"/>
<exclude name="ExcessiveImports"/>
<exclude name="ExcessivePublicCount"/>
<exclude name="FieldDeclarationsShouldBeAtStartOfClass"/>
<exclude name="ForLoopsMustUseBraces"/>
<exclude name="GodClass"/>
<exclude name="GuardDebugLogging"/>
<exclude name="GuardLogStatement"/>
<exclude name="GuardLogStatementJavaUtil"/>
<exclude name="IfStmtsMustUseBraces"/>
<exclude name="ImmutableField"/>
<exclude name="LawOfDemeter"/>
<exclude name="LocalVariableCouldBeFinal"/>
<exclude name="LoggerIsNotStaticFinal"/>
<exclude name="LongVariable"/>
<exclude name="LoosePackageCoupling"/>
<exclude name="MethodArgumentCouldBeFinal"/>
<exclude name="MethodReturnsInternalArray"/>
<exclude name="ModifiedCyclomaticComplexity"/>
<exclude name="NullAssignment"/>
<exclude name="OneDeclarationPerLine"/>
<exclude name="OnlyOneReturn"/>
<exclude name="PositionLiteralsFirstInComparisons"/>
<exclude name="PrematureDeclaration"/>
<exclude name="PreserveStackTrace"/>
<exclude name="RedundantFieldInitializer"/>
<exclude name="SignatureDeclareThrowsException"/>
<exclude name="SimpleDateFormatNeedsLocale"/>
<exclude name="SimplifyConditional"/>
<exclude name="ShortClassName"/>
<exclude name="ShortMethodName"/>
<exclude name="ShortMethodName"/>
<exclude name="ShortVariable"/>
<exclude name="StdCyclomaticComplexity"/>
<exclude name="TooManyFields"/>
<exclude name="TooManyMethods"/>
<exclude name="TooManyStaticImports"/>
<exclude name="UncommentedEmptyConstructor"/>
<exclude name="UncommentedEmptyMethodBody"/>
<exclude name="UnusedPrivateMethod"/>
<exclude name="UnnecessaryConstructor"/>
<exclude name="UnnecessaryLocalBeforeReturn"/>
<exclude name="UnnecessaryParentheses"/>
<exclude name="UseConcurrentHashMap"/>
<exclude name="UseCorrectExceptionLogging"/>
<exclude name="UseIndexOfChar"/>
<exclude name="UselessParentheses"/>
<exclude name="UseObjectForClearerAPI"/>
<exclude name="UseStringBufferForStringAppends"/>
<exclude name="UseUtilityClass"/>
<exclude name="UseVarargs"/>

</rule>
<rule ref="rulesets/java/empty.xml/EmptyCatchBlock">
<properties>
<property name="allowCommentedBlocks" value="true"/>
</properties>
</rule>
</ruleset>
3 changes: 1 addition & 2 deletions UI-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,11 @@
<parent>
<groupId>com.capitalone.dashboard</groupId>
<artifactId>Hygieia</artifactId>
<version>3.0.2-SNAPSHOT</version>
<version>3.1.0</version>
</parent>

<properties>
<apache.commons.version>1.3</apache.commons.version>

<serenity.version>1.2.2</serenity.version>
<serenity.jbehave.version>1.21.0</serenity.jbehave.version>
<serenity-maven.version>1.2.2</serenity-maven.version>
Expand Down
5 changes: 2 additions & 3 deletions UI/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>UI</artifactId>
<packaging>pom</packaging>
<version>3.0.3-SNAPSHOT</version>
<name>${project.groupId}:${project.artifactId}</name>
<description>Hygieia UI module</description>
<url>https://github.com/capitalone/Hygieia</url>
<url>https://github.com/Hygieia/Hygieia</url>

<parent>
<groupId>com.capitalone.dashboard</groupId>
<artifactId>Hygieia</artifactId>
<version>3.0.2-SNAPSHOT</version>
<version>3.1.0</version>
</parent>

<properties>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<packaging>pom</packaging>
<groupId>com.capitalone.dashboard</groupId>
<artifactId>Hygieia</artifactId>
<version>3.0.2-SNAPSHOT</version>
<version>3.1.0</version>
<name>${project.groupId}:${project.artifactId}</name>

<parent>
Expand All @@ -21,7 +21,7 @@
</licenses>

<properties>
<hygieia.core.version>3.1.4</hygieia.core.version>
<hygieia.core.version>3.1.5</hygieia.core.version>
<spring-data-releasetrain.version>Gosling-RELEASE</spring-data-releasetrain.version>
<mongodb.version>3.0.2</mongodb.version>
<mongo>3.0.2</mongo>
Expand Down

0 comments on commit 82494a9

Please sign in to comment.