Menu

#12 Remove maven warnings / update documentation

2.8
open
nobody
maven mojo (1)
2017-09-12
2017-09-12
Lonzak
No

I wrote a Maven Mojo and while executing it maven prints out several warnings:

[WARNING] JenesisMojo#outputJavaDirectory:
[WARNING] The syntax
[WARNING] @parameter expression="${property}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.
[WARNING] JenesisMojo#project:
[WARNING] The syntax
[WARNING] @parameter expression="${property}"
[WARNING] is deprecated, please use
[WARNING] @parameter property="property"
[WARNING] instead.

I used the following two:
@parameter expression="${project}"
@parameter expression= "${project.build.directory}/generated-sources/jenesis4java"

How should I change it?

The description on the webpage should be adapted to avoid the warnings:
http://jenesis4java.sourceforge.net/mojo.html

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.