bitrich-info/xchange-stream

[develop] Maven format has been added to pom.xml, but not run. Running the maven build formats everything.

Closed this issue · 1 comments

TSavo commented

The impending change to add the coveo format plugin has been submitted to develop, but the format has not been run and the formatted files have not been committed to maven.

Running mvn clean test causes maven to format all the files, resulting in a huge change set of freshly formatted files. Right now, if you want to run the maven build on develop, you'll need to comment out the plugin in the pom.xml.

Simply comment out the following lines:
`

       <plugin>
            <groupId>com.coveo</groupId>

            <artifactId>fmt-maven-plugin</artifactId>

            <version>2.9</version>

            <configuration>

                <filesNamePattern>.*\.java</filesNamePattern>

                <skip>false</skip>

            </configuration>

            <executions>

                <execution>

                    <goals>

                        <goal>format</goal>

                    </goals>

                </execution>

            </executions>

        </plugin>`

And run the build as normal. Then when you go to check in, be sure to not include pom.xml in your commit. We can close this bug when the formatted files have been committed to development.

TSavo commented

The project is formatted! :)