-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
Deprecation warnings when building with Maven 3.9.x #3512
Comments
This fixes deprecation warnings when runnings tests with Maven 3.9.x: `[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.` See: https://issues.apache.org/jira/browse/SUREFIRE-2154 Related to openhab#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes deprecation warnings when runnings tests with Maven 3.9.x: `[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.` See: https://issues.apache.org/jira/browse/SUREFIRE-2154 Related to openhab#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes deprecation warnings when runnings tests with Maven 3.9.x: `[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.` See: https://issues.apache.org/jira/browse/SUREFIRE-2154 Related to #3512 Signed-off-by: Wouter Born <[email protected]>
This fixes deprecation warnings when runnings tests with Maven 3.9.x: `[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.` See: https://issues.apache.org/jira/browse/SUREFIRE-2154 Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes deprecation warnings when runnings tests with Maven 3.9.x: `[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.` See: https://issues.apache.org/jira/browse/SUREFIRE-2154 Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes deprecation warnings when runnings tests with Maven 3.9.x: `[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.` See: https://issues.apache.org/jira/browse/SUREFIRE-2154 Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes deprecation warnings when runnings tests with Maven 3.9.x: `[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.` See: https://issues.apache.org/jira/browse/SUREFIRE-2154 Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes deprecation warnings when runnings tests with Maven 3.9.x: `[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.` See: https://issues.apache.org/jira/browse/SUREFIRE-2154 Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes deprecation warnings when runnings tests with Maven 3.9.x: `[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.` See: https://issues.apache.org/jira/browse/SUREFIRE-2154 Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes deprecation warnings when runnings tests with Maven 3.9.x: `[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.` See: https://issues.apache.org/jira/browse/SUREFIRE-2154 Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
I did some testing and debugging and found that there won't be any issues when adapting our configuration. There will only be issues with the Eclipse lastNPE plug-in when configuring the compiler with a properties file, i.e.: <compilerArguments>
<properties>...<properties>
</compilerArguments> In our case the EEAs gets configured via configureRawClasspath(..). |
This fixes the following warnings: ``` [WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead. ``` Related to openhab#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes the following warnings: ``` [WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead. ``` Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes the following warnings: ``` [WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead. ``` Related to openhab#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes the following warnings: ``` [WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead. ``` Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes the following warnings: ``` [WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead. ``` Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes the following warnings: ``` [WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead. ``` Related to #3512 Signed-off-by: Wouter Born <[email protected]>
This fixes the following warnings: ``` [WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead. ``` Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes the following warnings: ``` [WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead. ``` Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes the following warnings: ``` [WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead. ``` Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]>
This fixes the following warnings: ``` [WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead. ``` Related to openhab/openhab-core#3512 Signed-off-by: Wouter Born <[email protected]> Signed-off-by: Jørgen Austvik <[email protected]>
Recent Maven versions log warnings when using deprecated features.
When the Karaf Maven plug-in is used many of these warnings show up:
[WARNING] Parameter 'localRepository' is deprecated core expression; Avoid use of ArtifactRepository type. If you need access to local repository, switch to '${repositorySystemSession}' expression and get LRM from it instead.
I've created KARAF-7685 for this.
Another deprecation warning being logged is:
[WARNING] Parameter 'compilerArguments' is deprecated: use {@link #compilerArgs} instead.
That can be fixed by passing these arguments in the config using
However that will likely cause issues when developing with Eclipse, because the lastNPE plug-in does not take these args into consideration (lastnpe/eclipse-external-annotations-m2e-plugin#11).
The text was updated successfully, but these errors were encountered: