How to completely override/replace parent's site.xml

2024-02-04 Thread Alexander Kriegisch
Neither in [1] nor in [2] I can find a way to completely disregard or override 
a site.xml from the parent POM. I want to inherit a lot from a specific parent 
POM, such as dependency management and properties, but not the site.xml. Is 
there a way to do that?

E.g., [2] seems to imply that if I define my own breadcrumbs, they override the 
parent's ones, but that is not true. I also cannot eliminate the bannerLeft 
from the parent, only override it. But I do not want any banner at all. Sorry 
for asking a maybe simple-minded question like this, but for the life of me, I 
cannot find the solution using web search, documentation or trial & error.

[1] 
https://maven.apache.org/plugins/maven-site-plugin/examples/sitedescriptor.html
[2] https://maven.apache.org/plugins/maven-site-plugin/examples/multimodule.html

-- 
Alexander Kriegisch
https://scrum-master.de

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



Re: use 'mvn insall:install-file' to install jar file with pom.xml file,is there a way to produce pom.xml without '-DpomFile=path-to-pom'

2024-02-04 Thread Francois Marot
The pom.xml will be automatically produced even without the '-DpomFile'
argument. But it will be very minimalist. PAssing your own pom allows to be
explicit regarding the dependencies, the licences etc...
Regards

Le dim. 4 févr. 2024 à 11:52, sandisks...@gmail.com 
a écrit :

> use 'mvn insall:install-file' to install jar file with pom.xml file,is
> there a way to produce pom.xml without '-DpomFile=path-to-pom'
>
>
>
> sandisks...@gmail.com
>