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

Additional directories with build-helper-maven-plugin are ignored #29

Closed
andys8 opened this issue Jul 4, 2019 · 3 comments
Closed

Additional directories with build-helper-maven-plugin are ignored #29

andys8 opened this issue Jul 4, 2019 · 3 comments

Comments

@andys8
Copy link

andys8 commented Jul 4, 2019

I've a project where code is generated and the location is defined with build-helper-maven-plugin. It's currently not recognized and therefore leads to errors for those imports.

pom.xml

            <plugin>
                <groupId>org.codehaus.mojo</groupId>
                <artifactId>build-helper-maven-plugin</artifactId>
                <executions>
                    <execution>
                        <id>generated-folder</id>
                        <goals>
                            <goal>add-source</goal>
                        </goals>
                        <configuration>
                            <sources>
                                <source>${basedir}/src-gen/main/java</source>
                            </sources>
                        </configuration>
                    </execution>
                </executions>
            </plugin>

Related

redhat-developer/vscode-java#177

@andys8
Copy link
Author

andys8 commented Jul 5, 2019

@chemzqm I saw you added the Can't fix label. Is it that vscode-java has to fix the issue, and it's merged back into this project? Or is there a reason why it will not work?

@chemzqm
Copy link
Member

chemzqm commented Jul 5, 2019

Need vscode-java or jdt.ls fix this first.

@andys8
Copy link
Author

andys8 commented Jul 5, 2019

Whoa, I'm happy and a bit embarrased. Found out it's actually working but the error's came from linters enabled by default from w0rp/ale instead. More information in this comment: redhat-developer/vscode-java#177 (comment)

Closing the issue. Sorry for the noise.

@andys8 andys8 closed this as completed Jul 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants