You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2023/01/20 13:14:19 UTC

[plc4x] branch develop updated (179e8eef79 -> cc949b348c)

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


    from 179e8eef79 fix(plc4py): Fix for multi enums for python 3.7
     new 64d9b38334 chore(build): Add the generation of an SBOM to the apache-release profile
     new cc949b348c chore(build): Redirect dependabot emails to commits@

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .asf.yaml |  2 ++
 pom.xml   | 47 ++++++++++++++++++++++++++++++++++-------------
 2 files changed, 36 insertions(+), 13 deletions(-)


[plc4x] 02/02: chore(build): Redirect dependabot emails to commits@

Posted by cd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit cc949b348cf8dc178f0a31a58cf4d85a000f4bb2
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Fri Jan 20 14:14:10 2023 +0100

    chore(build): Redirect dependabot emails to commits@
---
 .asf.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.asf.yaml b/.asf.yaml
index 577da88210..ce45d27b9a 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -63,3 +63,5 @@ notifications:
   issues:               issues@plc4x.apache.org
   pullrequests_status:  dev@plc4x.apache.org
   pullrequests_comment: dev@plc4x.apache.org
+  # Send dependabot PRs to commits@ instead
+  pullrequests_bot_dependabot: commits@plc4x.apache.org


[plc4x] 01/02: chore(build): Add the generation of an SBOM to the apache-release profile

Posted by cd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 64d9b3833473a554005e95cbd9f36543537ca990
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Fri Jan 20 14:12:47 2023 +0100

    chore(build): Add the generation of an SBOM to the apache-release profile
---
 pom.xml | 47 ++++++++++++++++++++++++++++++++++-------------
 1 file changed, 34 insertions(+), 13 deletions(-)

diff --git a/pom.xml b/pom.xml
index a6a7a58717..290dc3a0d9 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1860,30 +1860,51 @@
             <inherited>false</inherited>
             <executions>
               <execution>
+                <phase>verify</phase>
                 <goals>
                   <goal>files</goal>
                 </goals>
+                <configuration>
+                  <algorithms>
+                    <algorithm>SHA-512</algorithm>
+                  </algorithms>
+                  <includeRelativePath>true</includeRelativePath>
+                  <fileSets>
+                    <fileSet>
+                      <directory>${project.build.directory}</directory>
+                      <includes>
+                        <include>apache-plc4x-${project.version}-source-release.zip</include>
+                      </includes>
+                    </fileSet>
+                  </fileSets>
+                </configuration>
               </execution>
             </executions>
+          </plugin>
+          <!--
+            Generate an SBOM for the project
+          -->
+          <plugin>
+            <groupId>org.cyclonedx</groupId>
+            <artifactId>cyclonedx-maven-plugin</artifactId>
+            <version>2.7.4</version>
+            <!-- Only run this in the root module of the project -->
+            <inherited>false</inherited>
             <configuration>
-              <algorithms>
-                <algorithm>SHA-512</algorithm>
-              </algorithms>
-              <includeRelativePath>true</includeRelativePath>
-              <fileSets>
-                <fileSet>
-                  <directory>${project.build.directory}</directory>
-                  <includes>
-                    <include>apache-plc4x-${project.version}-source-release.zip</include>
-                  </includes>
-                </fileSet>
-              </fileSets>
+              <outputName>apache-${project.artifactId}-${project.version}-sbom</outputName>
             </configuration>
+            <executions>
+              <execution>
+                <phase>package</phase>
+                <goals>
+                  <goal>makeAggregateBom</goal>
+                </goals>
+              </execution>
+            </executions>
           </plugin>
         </plugins>
       </build>
     </profile>
-
   </profiles>
 
 </project>