diff --git a/biopet-framework/nb-configuration.xml b/biopet-framework/nb-configuration.xml index 60b959e673d5805e869ae4f91a006ba5d81184a4..c2f0518e2a30c8af3fb854bd8e16e70f23679e5f 100644 --- a/biopet-framework/nb-configuration.xml +++ b/biopet-framework/nb-configuration.xml @@ -23,7 +23,6 @@ Any value defined here will override the pom.xml file value but is only applicab <com-junichi11-netbeans-changelf.use-project>true</com-junichi11-netbeans-changelf.use-project> <com-junichi11-netbeans-changelf.lf-kind>LF</com-junichi11-netbeans-changelf.lf-kind> <com-junichi11-netbeans-changelf.use-global>false</com-junichi11-netbeans-changelf.use-global> - <netbeans.checkstyle.format>true</netbeans.checkstyle.format> <com-junichi11-netbeans-changelf.show-dialog>true</com-junichi11-netbeans-changelf.show-dialog> <org-netbeans-modules-javascript2-requirejs.enabled>true</org-netbeans-modules-javascript2-requirejs.enabled> <netbeans.hint.jdkPlatform>JDK_1.8</netbeans.hint.jdkPlatform> diff --git a/biopet-framework/pom.xml b/biopet-framework/pom.xml index 2b25af4b14787738d88d0f28eeca7925bceb978d..d9c76caa15ed86cf8ce06c527fec4702358737dc 100644 --- a/biopet-framework/pom.xml +++ b/biopet-framework/pom.xml @@ -211,6 +211,40 @@ <showDeprecation>true</showDeprecation> </configuration> </plugin> + <plugin> + <groupId>org.scalariform</groupId> + <artifactId>scalariform-maven-plugin</artifactId> + <version>0.1.4</version> + <executions> + <execution> + <phase>process-sources</phase> + <goals> + <goal>format</goal> + </goals> + <configuration> + <rewriteArrowSymbols>false</rewriteArrowSymbols> + <alignParameters>true</alignParameters> + <alignSingleLineCaseStatements_maxArrowIndent>40</alignSingleLineCaseStatements_maxArrowIndent> + <alignSingleLineCaseStatements>true</alignSingleLineCaseStatements> + <compactStringConcatenation>false</compactStringConcatenation> + <compactControlReadability>false</compactControlReadability> + <doubleIndentClassDeclaration>false</doubleIndentClassDeclaration> + <formatXml>true</formatXml> + <indentLocalDefs>false</indentLocalDefs> + <indentPackageBlocks>true</indentPackageBlocks> + <indentSpaces>2</indentSpaces> + <placeScaladocAsterisksBeneathSecondAsterisk>false</placeScaladocAsterisksBeneathSecondAsterisk> + <preserveDanglingCloseParenthesis>true</preserveDanglingCloseParenthesis> + <preserveSpaceBeforeArguments>false</preserveSpaceBeforeArguments> + <rewriteArrowSymbols>false</rewriteArrowSymbols> + <spaceBeforeColon>false</spaceBeforeColon> + <spaceInsideBrackets>false</spaceInsideBrackets> + <spaceInsideParentheses>false</spaceInsideParentheses> + <spacesWithinPatternBinders>true</spacesWithinPatternBinders> + </configuration> + </execution> + </executions> + </plugin> </plugins> </build> </project>