Hello how can I use the same functionality as the ...
# fleet
k
Hello how can I use the same functionality as the Intellij Button
Generate Sources and Update Folders For All Projects
in Fleet ? As Fleet seems to ignore the generated Kafka Avro classes
a
No, there is no such an action in Fleet. Please use command line Maven commands to generate sources. Does this work for you?
k
@Andrey Larionov I am using the
avro maven plugin
which generates the sources when running
maven compile
but Fleet seems to ignore the generated classes which are under the
target
directory.
a
Have you tried calling Import Maven Project action after generating the classes?
k
@andrey.dernov Yes, unfortunately that does not work too. The generated classes are marked as
Unresolved reference
a
This looks like a bug. Is it possible to have the project, where this is reproducible? You can share it at https://uploads.jetbrains.com/ All the information, shared there is used only privately by developers for the investigation
k
I will try to create a reproducer as I observed it in production code.
@andrey.dernov I have replied here with some more infos. https://youtrack.jetbrains.com/issue/FL-24170
a
Thank you! Unfortunately, it is hard to say what exactly is the issue without a project 😞 There might be some issue with specific Maven plugin that generates sources or a project layout and Maven configuration in this project.
k
@andrey.dernov Yes unfortunately I cannot share my production code. But I am certainly sure a bigger open source project like the Spring Pet Clinic should produce the same results and can be used as a reference