I'm trying to tune up my maven build, which requires that I construct
a source directory on the fly by copying from the canonical location.
The best advice I've found is to use mavin-resources-plugin, but
that's a bit inelegant because it copies everything, not just the
sources.
Is there a bett
This only imports Spring Boot dependencyManagement, and it looks like the
thread starter would also like access to the plugins configured by
spring-boot-parent. He’d have to duplicate Spring Boot's plugin configuration
in his own project.
Nils.
> Op 5 dec 2023, om 15:11 heeft Francois Marot h
Hello Dave,
Maven will not recompile java classes if it already finds classes under target
that are newer than the source file. And if Eclipse have already compiled
classes into the target folder then maven will not recompile these.
In most places release binaries are build separately using
For the record, Spring Boot has no hard requirement of using a 'parent'
pom. It is just a bit simpler and in most of the examples online.
But you can simply set the scope import in your dependencyManagement. This
works.
org.springframework.boot
spring-boot-dependencies
${spring.boot.version}
Howdy,
For importing plugins there was even some PoC like this:
https://github.com/apache/maven/pull/1190
Also, planned for maven4 to (or already is, Guillaume?) support mixins.
HTH
T
On Tue, Dec 5, 2023 at 12:51 PM Bernd Eckenfels
wrote:
> Hello,
>
> I think that’s a long-standing restrictio
Hello,
I think that’s a long-standing restriction of mavens Pom-model, not sure it can
easily be solved. Spring boot (and other frameworks) did not make the situation
easier with their parent requirement (but then again there is not much
alternatives).
>From my experience it seems a good idea
In my current project i'm working we already have a parent POM that I
should be inheriting from, but when trying to integrate the spring boot I
come into an issue that I should inherit their super pom instead of using
our own. For dependencies its pretty simple - you use the import scope, but
what