Commit 2fcfc5f2aa9cbc9bae51cd74f8c4e5dd0d0392a5
1 parent
26d8f9d6
Exists in
master
Remove @SuppressWarnings annotations before adding them in generated files.
Showing
1 changed file
with
8 additions
and
0 deletions
Show diff stats
pom.xml
... | ... | @@ -106,6 +106,14 @@ |
106 | 106 | <configuration> |
107 | 107 | <target name="Add @SuppressWarnings on generated *.java"> |
108 | 108 | <replaceregexp byline="true"> |
109 | + <regexp pattern="^@SuppressWarnings\(.*\)" /> | |
110 | + <substitution expression="" /> | |
111 | + <fileset | |
112 | + dir="${basedir}/target/generated-sources/xjc/eu/omp/irap/vespa/epntapclient/voresource/model/"> | |
113 | + <include name="*.java" /> | |
114 | + </fileset> | |
115 | + </replaceregexp> | |
116 | + <replaceregexp byline="true"> | |
109 | 117 | <regexp pattern="^public " /> |
110 | 118 | <substitution expression="@SuppressWarnings("all") public " /> |
111 | 119 | <fileset | ... | ... |