Replies: 1 comment
-
|
@m4urer, sorry for the late reply. Determining if it could be a plugin problem should be easy: Remove the IDE from the equation and verify if the same changes you would have made in the IDE would also trigger the same rebuilds when purely using Maven. BTW, it would be super helpful to have a minimal reproducer in a separate GitHub repository with instructions how to reproduce the problem. Even if it was "just" an IDE issue, the JetBrains folks would ask for the same, if you create an issue there. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I don't know if this is a bug or and IDE issue or my fault, but I'm loosing so much time that I need some help.
I have a multi module java web app using spring boot, that has a few aspects, but mainly has a lot of @transactional self invocation so we've been using aspectj all along. a main webapp (war) module and then a bunch of jar packaged modules as dependencies.
I've recently switched to intellij (comunity edition, i could not get it working in ultimate) so I'm using javac in idea and maven to compile.
the problem is there seems to be some conflict, because it happens all the time that i change a single file in a single module and i need to recompile the whole project (it's huge and takes several minutes) because it shows "transaction not active" exceptions (the @transactional are now weaved), or injection issues (the @Autowired) didn't work.
If i do a full rebuild it works again, but I'm lossing a lot of time.
I think intellij javac is overriding ajc, but I don't know how to fix this.
this is my pom.xml from the "parentpom" all my projects share.
(core is a module inside the project that has .aj files so it's a aspect library and is packaged first)
This is my intellij compiler settings


this is my maven runner (i've tried switching on delegate to maven, it doesn't run if i do that, throws all kinds of error)

Can someone help me stop repackaging all the time? I've googled extensively and I can't find a solution.
I'd appreciate any help.
Beta Was this translation helpful? Give feedback.
All reactions