Skip to content

Commit

Permalink
Make package-info.java create a class file
Browse files Browse the repository at this point in the history
A java file without code doesn't generate a class file. Therefore maven recompiles the file everytime since it doesn't know that it doesn't create a class file.
  • Loading branch information
danielb987 committed Jul 10, 2020
1 parent 05fc27d commit 4852e88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions java/src/apps/jmrit/package-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
* useful in the JMRI published applications, but are either not related to the
* JMRI package, or are autonomous launchers for those tools.
*/
// include empty DefaultAnnotation to avoid excessive recompilation
@edu.umd.cs.findbugs.annotations.DefaultAnnotation(value={})
package apps.jmrit;

0 comments on commit 4852e88

Please sign in to comment.