File tree 2 files changed +16
-39
lines changed
2 files changed +16
-39
lines changed Original file line number Diff line number Diff line change
1
+ # Licensed to the Apache Software Foundation (ASF) under one or more
2
+ # contributor license agreements. See the NOTICE file distributed with
3
+ # this work for additional information regarding copyright ownership.
4
+ # The ASF licenses this file to You under the Apache License, Version 2.0
5
+ # (the "License"); you may not use this file except in compliance with
6
+ # the License. You may obtain a copy of the License at
7
+ #
8
+ # http://www.apache.org/licenses/LICENSE-2.0
9
+ #
10
+ # Unless required by applicable law or agreed to in writing, software
11
+ # distributed under the License is distributed on an "AS IS" BASIS,
12
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ # See the License for the specific language governing permissions and
14
+ # limitations under the License.
15
+ ##
16
+ This file activates the `flatten-bom` profile.
Original file line number Diff line number Diff line change 578
578
579
579
<plugins >
580
580
581
- <!-- Enable BOM flattening -->
582
- <plugin >
583
- <groupId >org.codehaus.mojo</groupId >
584
- <artifactId >flatten-maven-plugin</artifactId >
585
- <version >${flatten-maven-plugin.version} </version >
586
- <executions >
587
- <execution >
588
- <id >flatten-revision</id >
589
- <configuration >
590
- <!--
591
- ~ Flatten Maven Plugin removes the `child.project.url.inherit.append.path` attribute on this POM.
592
- ~
593
- ~ This causes a difference between the effective model of children built on this POM
594
- ~ and those built on the flattened version.
595
- ~
596
- ~ Until https://github.com/mojohaus/flatten-maven-plugin/issues/412 we must expand <url>
597
- -->
598
- <pomElements >
599
- <url >expand</url >
600
- </pomElements >
601
- </configuration >
602
- </execution >
603
- <execution >
604
- <id >flatten-bom</id >
605
- <goals >
606
- <goal >flatten</goal >
607
- </goals >
608
- <phase >process-resources</phase >
609
- <inherited >false</inherited >
610
- <configuration >
611
- <pomElements >
612
- <!-- CycloneDX Maven Plugin uses this data -->
613
- <distributionManagement >keep</distributionManagement >
614
- </pomElements >
615
- </configuration >
616
- </execution >
617
- </executions >
618
- </plugin >
619
-
620
581
<!-- Apache RAT (Release Audit Tool) check to verify licenses.
621
582
`apache-rat-plugin`: https://creadur.apache.org/rat/apache-rat-plugin/
622
583
Release Audit Tool: https://creadur.apache.org/rat/index.html -->
You can’t perform that action at this time.
0 commit comments