jte-maven-plugin's precompile goal leaves .java files next to compiled .class files
See original GitHub issueI don’t want .java files next to .class files generated during jte-maven-plugin
’s precompile goal. I want only .class and .bin files. Delete those generated .java files once compilation succeeds. Alternatively, provide a flag that can be specified in <configuration>
section of the plugin.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Renaming imports on pre-compiled class files (Java)
Get a list of all jar files in X_Folder; for each jar file, get all classes encased. for each class file, search for...
Read more >Managing Source and Class Files (The Java™ Tutorials ...
This beginner Java tutorial describes fundamentals of programming in the Java programming language.
Read more >Java Class File - GeeksforGeeks
A Java class file is created by a Java compiler from .java files as a result of successful compilation. As we know that...
Read more >How to scan Java precompiled classes - HCL support
Question. In AppScan Source Edition, how do you configure a Java project to scan the precompiled class files instead of compiling and scanning...
Read more >Java - SonarQube Documentation
Your project contains .java files, please provide compiled classes with sonar.java.binaries property, or exclude them from the analysis with sonar.exclusions ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@casid it works, thanks.
@casid
Right now I deal with those .java files by invoking
maven-clean-plugin
that finds and removes all .java files from the target folder. Adding a “folder for intermediate .java files” option would require me to clear that folder instead. I don’t want to deal with those files at all. I suggest to add akeepGeneratedJavaFiles
option with default valuefalse
. If it’strue
, then keep those .java files.