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

Fix maven warnings #222

Closed
kaklakariada opened this issue Jan 27, 2019 · 0 comments · Fixed by #387
Closed

Fix maven warnings #222

kaklakariada opened this issue Jan 27, 2019 · 0 comments · Fixed by #387
Assignees
Labels

Comments

@kaklakariada
Copy link
Contributor

kaklakariada commented Jan 27, 2019

Maven generates some warning messages during the build. Fix them.
Also fail compilation on warnings: <arg>-Xlint:all</arg> and <arg>-Werror</arg>

            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.12.1</version>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                    <showWarnings>true</showWarnings>
                    <compilerArgs>
                        <!-- We turn off `processing` because it complains about every annotation -->
                        <arg>-Xlint:all</arg>
                        <arg>-Werror</arg>
                    </compilerArgs>
                </configuration>
            </plugin>

see also https://github.com/exasol/project-keeper/blob/main/maven-project-crawler/pk_generated_parent.pom#L88

@redcatbear redcatbear added the bug label Jan 4, 2023
@kaklakariada kaklakariada self-assigned this Feb 16, 2024
kaklakariada added a commit that referenced this issue Feb 17, 2024
Co-authored-by: kaklakariada <christoph@users.sourceforge.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants