Skip to content

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

@gustavonmartins

Description

@gustavonmartins

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions