File tree Expand file tree Collapse file tree 2 files changed +2
-40
lines changed
Expand file tree Collapse file tree 2 files changed +2
-40
lines changed Original file line number Diff line number Diff line change 2323 server-username : MAVEN_USERNAME
2424 server-password : MAVEN_PASSWORD
2525 - name : Make a release
26- run : mvn -Pdeploy -Pproduction - -no-transfer-progress --batch-mode clean deploy
26+ run : mvn -Pdeploy --no-transfer-progress --batch-mode clean deploy
2727 env :
2828 MAVEN_USERNAME : ${{ secrets.CENTRAL_SONATYPE_TOKEN_USERNAME }}
2929 MAVEN_PASSWORD : ${{ secrets.CENTRAL_SONATYPE_TOKEN_PASSWORD }}
Original file line number Diff line number Diff line change 158158 <extensions >true</extensions >
159159 <configuration >
160160 <publishingServerId >central</publishingServerId >
161- <deploymentName >deployment-store</ deploymentName >
161+ <autoPublish >true</ autoPublish >
162162 </configuration >
163163 </plugin >
164164 </plugins >
165165 </build >
166166 </profile >
167- <profile >
168- <id >production</id >
169- <build >
170- <plugins >
171- <plugin >
172- <groupId >org.cyclonedx</groupId >
173- <artifactId >cyclonedx-maven-plugin</artifactId >
174- <version >2.9.1</version >
175- </plugin >
176- <plugin >
177- <groupId >org.apache.maven.plugins</groupId >
178- <artifactId >maven-resources-plugin</artifactId >
179- <version >3.3.1</version >
180- <executions >
181- <execution >
182- <id >copy-meta-inf-resources</id >
183- <phase >prepare-package</phase >
184- <goals >
185- <goal >copy-resources</goal >
186- </goals >
187- <configuration >
188- <outputDirectory >${project.build.outputDirectory} /META-INF</outputDirectory >
189- <resources >
190- <resource >
191- <directory >${project.build.directory} /sbom/</directory >
192- <includes >
193- <include >*.json</include >
194- <include >*.xml</include >
195- </includes >
196- </resource >
197- </resources >
198- </configuration >
199- </execution >
200- </executions >
201- </plugin >
202- </plugins >
203- </build >
204- </profile >
205167 <profile >
206168 <id >deploy</id >
207169 <build >
You can’t perform that action at this time.
0 commit comments