Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to know what is the offending file for sorting imports #27

Open
gustavonmartins opened this issue Aug 5, 2021 · 0 comments
Open

Comments

@gustavonmartins
Copy link

I have asked this plugin to reorganize my imports with the following setting:

<plugin>
                <groupId>com.theoryinpractise</groupId>
                <artifactId>googleformatter-maven-plugin</artifactId>
                <version>1.7.3</version>
                <executions>
                    <execution>
                        <id>reformat-sources</id>
                        <configuration>
                            <includeStale>false</includeStale>
                            <style>GOOGLE</style>
                            <formatMain>true</formatMain>
                            <formatTest>true</formatTest>
                            <filterModified>false</filterModified>
                            <skip>false</skip>
                            <fixImports>true</fixImports>
                        </configuration>
                        <goals>
                            <goal>format</goal>
                        </goals>
                        <phase>process-sources</phase>
                    </execution>
                </executions>
 </plugin>

However, during the scan, I get the following error:

error: Imports not contiguous (perhaps a comment separates them?)

I am trying to find the file which is generating this conflict, but I have 1100 source files and am having a hard time finding it, because the plugin doesnt tell me which specific file is causing that.

Is it possible for you to list the offending files? That would be great!

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant