File tree Expand file tree Collapse file tree 1 file changed +56
-1
lines changed
Expand file tree Collapse file tree 1 file changed +56
-1
lines changed Original file line number Diff line number Diff line change 121121 <id >release</id >
122122 <build >
123123 <plugins >
124+ <plugin >
125+ <groupId >org.apache.maven.plugins</groupId >
126+ <artifactId >maven-deploy-plugin</artifactId >
127+ <version >3.1.3</version >
128+ </plugin >
124129 <plugin >
125130 <groupId >org.apache.maven.plugins</groupId >
126131 <artifactId >maven-gpg-plugin</artifactId >
156161 </plugins >
157162 </build >
158163 </profile >
164+ <profile >
165+ <id >production</id >
166+ <build >
167+ <plugins >
168+ <plugin >
169+ <groupId >org.cyclonedx</groupId >
170+ <artifactId >cyclonedx-maven-plugin</artifactId >
171+ </plugin >
172+ <plugin >
173+ <groupId >org.apache.maven.plugins</groupId >
174+ <artifactId >maven-resources-plugin</artifactId >
175+ <executions >
176+ <execution >
177+ <id >copy-meta-inf-resources</id >
178+ <phase >prepare-package</phase >
179+ <goals >
180+ <goal >copy-resources</goal >
181+ </goals >
182+ <configuration >
183+ <outputDirectory >${project.build.outputDirectory} /META-INF</outputDirectory >
184+ <resources >
185+ <resource >
186+ <directory >${project.build.directory} /sbom/</directory >
187+ <includes >
188+ <include >*.json</include >
189+ <include >*.xml</include >
190+ </includes >
191+ </resource >
192+ </resources >
193+ </configuration >
194+ </execution >
195+ </executions >
196+ </plugin >
197+ </plugins >
198+ </build >
199+ </profile >
200+ <profile >
201+ <id >deploy</id >
202+ <build >
203+ <plugins >
204+ <plugin >
205+ <groupId >org.apache.maven.plugins</groupId >
206+ <artifactId >maven-javadoc-plugin</artifactId >
207+ </plugin >
208+ <plugin >
209+ <groupId >org.apache.maven.plugins</groupId >
210+ <artifactId >maven-gpg-plugin</artifactId >
211+ </plugin >
212+ </plugins >
213+ </build >
214+ </profile >
159215 </profiles >
160-
161216</project >
You can’t perform that action at this time.
0 commit comments