#Spring pom help

5 messages · Page 1 of 1 (latest)

eager aspen
#

Guys inside my web app i have custom class which anotates every class run time

@Component
public class StartupRunner implements ApplicationRunner {

private final XmlRootElementAdder xmlRootElementAdder;

so it causes issue because when i build my project this xmlrootelementadded class works on generated classes so it anotatets target source classes i have to mvn clean and install and when i start project up it anotates but issues is that whenever i start swagger for example devtools thinks that something changed because our class anotated generated classes and restarts project, can i somehow call my XmlRootElementAdder to work before runing project ? like it must anotate after mvn clean install is not there any execution plugin ?

knotty parrotBOT
#

This post has been reserved for your question.

Hey @eager aspen! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

eager aspen
#

class which calls my custom class on run time that causes issue