You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2023/05/01 06:16:25 UTC

[directory-server] 01/09: Added the Maven spdx plugin

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

elecharny pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/directory-server.git

commit f6b42a4458eef9b4f7868a7bfef2b41b679c48a8
Author: emmanuel lecharny <el...@apache.org>
AuthorDate: Mon May 1 08:07:40 2023 +0200

    Added the Maven spdx plugin
---
 pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/pom.xml b/pom.xml
index 93f497ac8f..335cedfffd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -489,6 +489,27 @@
     </pluginManagement>
     
     <plugins>
+      <plugin>
+        <groupId>org.spdx</groupId>
+        <artifactId>spdx-maven-plugin</artifactId>
+        <!-- please check for updates on https://search.maven.org/search?q=a:spdx-maven-plugin -->  
+        <version>0.6.5</version>
+        <executions>
+          <execution>
+            <id>build-spdx</id>
+            <goals>
+              <goal>createSPDX</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <excludedFilePatterns>
+            <param>*.spdx</param>
+          </excludedFilePatterns>
+          <!-- See documentation below for additional configuration -->
+        </configuration>
+      </plugin>
+
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>


Re: [directory-server] 01/09: Added the Maven spdx plugin

Posted by Emmanuel Lécharny <el...@gmail.com>.
No urge. I'm going to check the cycloneDX plugin, which creates a global 
SBOM, when the spdx plugin creates split SBOMs.

And it may require only java 8.


On 03/05/2023 08:36, Colm O hEigeartaigh wrote:
> OK makes sense, I'll change the default pull request builder to use Java 11.
> 
> Colm.
> 
> On Wed, May 3, 2023 at 3:07 AM Emmanuel Lécharny <el...@gmail.com> wrote:
>>
>> At the same time, it may be time we swithc to a more recent JDK when it
>> comes to build the project.
>>
>> Building with a Java 8 target makes sense, but requiring to run the
>> build with Java 8 is a bit too much, IMHO...
>>
>> On 03/05/2023 04:01, Emmanuel Lécharny wrote:
>>> Ah, no; sorry my mistake.
>>>
>>> Actually, it works but it requires Java 11 to be used when running  Maven.
>>>
>>> I'll comment the plugin.
>>>
>>> On 02/05/2023 08:30, Colm O hEigeartaigh wrote:
>>>> Hi Emmanuel,
>>>>
>>>> This commit is breaking JDK8 support, was it intentional?
>>>>
>>>> Colm.
>>>>
>>>> On Mon, May 1, 2023 at 7:17 AM <el...@apache.org> wrote:
>>>>>
>>>>> This is an automated email from the ASF dual-hosted git repository.
>>>>>
>>>>> elecharny pushed a commit to branch master
>>>>> in repository https://gitbox.apache.org/repos/asf/directory-server.git
>>>>>
>>>>> commit f6b42a4458eef9b4f7868a7bfef2b41b679c48a8
>>>>> Author: emmanuel lecharny <el...@apache.org>
>>>>> AuthorDate: Mon May 1 08:07:40 2023 +0200
>>>>>
>>>>>       Added the Maven spdx plugin
>>>>> ---
>>>>>    pom.xml | 21 +++++++++++++++++++++
>>>>>    1 file changed, 21 insertions(+)
>>>>>
>>>>> diff --git a/pom.xml b/pom.xml
>>>>> index 93f497ac8f..335cedfffd 100644
>>>>> --- a/pom.xml
>>>>> +++ b/pom.xml
>>>>> @@ -489,6 +489,27 @@
>>>>>        </pluginManagement>
>>>>>
>>>>>        <plugins>
>>>>> +      <plugin>
>>>>> +        <groupId>org.spdx</groupId>
>>>>> +        <artifactId>spdx-maven-plugin</artifactId>
>>>>> +        <!-- please check for updates on
>>>>> https://search.maven.org/search?q=a:spdx-maven-plugin -->
>>>>> +        <version>0.6.5</version>
>>>>> +        <executions>
>>>>> +          <execution>
>>>>> +            <id>build-spdx</id>
>>>>> +            <goals>
>>>>> +              <goal>createSPDX</goal>
>>>>> +            </goals>
>>>>> +          </execution>
>>>>> +        </executions>
>>>>> +        <configuration>
>>>>> +          <excludedFilePatterns>
>>>>> +            <param>*.spdx</param>
>>>>> +          </excludedFilePatterns>
>>>>> +          <!-- See documentation below for additional configuration -->
>>>>> +        </configuration>
>>>>> +      </plugin>
>>>>> +
>>>>>          <plugin>
>>>>>            <groupId>org.apache.maven.plugins</groupId>
>>>>>            <artifactId>maven-checkstyle-plugin</artifactId>
>>>>>
>>>
>>
>> --
>> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
>> T. +33 (0)4 89 97 36 50
>> P. +33 (0)6 08 33 32 61
>> emmanuel.lecharny@busit.com https://www.busit.com/

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: [directory-server] 01/09: Added the Maven spdx plugin

Posted by Colm O hEigeartaigh <co...@apache.org>.
OK makes sense, I'll change the default pull request builder to use Java 11.

Colm.

On Wed, May 3, 2023 at 3:07 AM Emmanuel Lécharny <el...@gmail.com> wrote:
>
> At the same time, it may be time we swithc to a more recent JDK when it
> comes to build the project.
>
> Building with a Java 8 target makes sense, but requiring to run the
> build with Java 8 is a bit too much, IMHO...
>
> On 03/05/2023 04:01, Emmanuel Lécharny wrote:
> > Ah, no; sorry my mistake.
> >
> > Actually, it works but it requires Java 11 to be used when running  Maven.
> >
> > I'll comment the plugin.
> >
> > On 02/05/2023 08:30, Colm O hEigeartaigh wrote:
> >> Hi Emmanuel,
> >>
> >> This commit is breaking JDK8 support, was it intentional?
> >>
> >> Colm.
> >>
> >> On Mon, May 1, 2023 at 7:17 AM <el...@apache.org> wrote:
> >>>
> >>> This is an automated email from the ASF dual-hosted git repository.
> >>>
> >>> elecharny pushed a commit to branch master
> >>> in repository https://gitbox.apache.org/repos/asf/directory-server.git
> >>>
> >>> commit f6b42a4458eef9b4f7868a7bfef2b41b679c48a8
> >>> Author: emmanuel lecharny <el...@apache.org>
> >>> AuthorDate: Mon May 1 08:07:40 2023 +0200
> >>>
> >>>      Added the Maven spdx plugin
> >>> ---
> >>>   pom.xml | 21 +++++++++++++++++++++
> >>>   1 file changed, 21 insertions(+)
> >>>
> >>> diff --git a/pom.xml b/pom.xml
> >>> index 93f497ac8f..335cedfffd 100644
> >>> --- a/pom.xml
> >>> +++ b/pom.xml
> >>> @@ -489,6 +489,27 @@
> >>>       </pluginManagement>
> >>>
> >>>       <plugins>
> >>> +      <plugin>
> >>> +        <groupId>org.spdx</groupId>
> >>> +        <artifactId>spdx-maven-plugin</artifactId>
> >>> +        <!-- please check for updates on
> >>> https://search.maven.org/search?q=a:spdx-maven-plugin -->
> >>> +        <version>0.6.5</version>
> >>> +        <executions>
> >>> +          <execution>
> >>> +            <id>build-spdx</id>
> >>> +            <goals>
> >>> +              <goal>createSPDX</goal>
> >>> +            </goals>
> >>> +          </execution>
> >>> +        </executions>
> >>> +        <configuration>
> >>> +          <excludedFilePatterns>
> >>> +            <param>*.spdx</param>
> >>> +          </excludedFilePatterns>
> >>> +          <!-- See documentation below for additional configuration -->
> >>> +        </configuration>
> >>> +      </plugin>
> >>> +
> >>>         <plugin>
> >>>           <groupId>org.apache.maven.plugins</groupId>
> >>>           <artifactId>maven-checkstyle-plugin</artifactId>
> >>>
> >
>
> --
> *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
> T. +33 (0)4 89 97 36 50
> P. +33 (0)6 08 33 32 61
> emmanuel.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: [directory-server] 01/09: Added the Maven spdx plugin

Posted by Emmanuel Lécharny <el...@gmail.com>.
At the same time, it may be time we swithc to a more recent JDK when it 
comes to build the project.

Building with a Java 8 target makes sense, but requiring to run the 
build with Java 8 is a bit too much, IMHO...

On 03/05/2023 04:01, Emmanuel Lécharny wrote:
> Ah, no; sorry my mistake.
> 
> Actually, it works but it requires Java 11 to be used when running  Maven.
> 
> I'll comment the plugin.
> 
> On 02/05/2023 08:30, Colm O hEigeartaigh wrote:
>> Hi Emmanuel,
>>
>> This commit is breaking JDK8 support, was it intentional?
>>
>> Colm.
>>
>> On Mon, May 1, 2023 at 7:17 AM <el...@apache.org> wrote:
>>>
>>> This is an automated email from the ASF dual-hosted git repository.
>>>
>>> elecharny pushed a commit to branch master
>>> in repository https://gitbox.apache.org/repos/asf/directory-server.git
>>>
>>> commit f6b42a4458eef9b4f7868a7bfef2b41b679c48a8
>>> Author: emmanuel lecharny <el...@apache.org>
>>> AuthorDate: Mon May 1 08:07:40 2023 +0200
>>>
>>>      Added the Maven spdx plugin
>>> ---
>>>   pom.xml | 21 +++++++++++++++++++++
>>>   1 file changed, 21 insertions(+)
>>>
>>> diff --git a/pom.xml b/pom.xml
>>> index 93f497ac8f..335cedfffd 100644
>>> --- a/pom.xml
>>> +++ b/pom.xml
>>> @@ -489,6 +489,27 @@
>>>       </pluginManagement>
>>>
>>>       <plugins>
>>> +      <plugin>
>>> +        <groupId>org.spdx</groupId>
>>> +        <artifactId>spdx-maven-plugin</artifactId>
>>> +        <!-- please check for updates on 
>>> https://search.maven.org/search?q=a:spdx-maven-plugin -->
>>> +        <version>0.6.5</version>
>>> +        <executions>
>>> +          <execution>
>>> +            <id>build-spdx</id>
>>> +            <goals>
>>> +              <goal>createSPDX</goal>
>>> +            </goals>
>>> +          </execution>
>>> +        </executions>
>>> +        <configuration>
>>> +          <excludedFilePatterns>
>>> +            <param>*.spdx</param>
>>> +          </excludedFilePatterns>
>>> +          <!-- See documentation below for additional configuration -->
>>> +        </configuration>
>>> +      </plugin>
>>> +
>>>         <plugin>
>>>           <groupId>org.apache.maven.plugins</groupId>
>>>           <artifactId>maven-checkstyle-plugin</artifactId>
>>>
> 

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: [directory-server] 01/09: Added the Maven spdx plugin

Posted by Emmanuel Lécharny <el...@gmail.com>.
Ah, no; sorry my mistake.

Actually, it works but it requires Java 11 to be used when running  Maven.

I'll comment the plugin.

On 02/05/2023 08:30, Colm O hEigeartaigh wrote:
> Hi Emmanuel,
> 
> This commit is breaking JDK8 support, was it intentional?
> 
> Colm.
> 
> On Mon, May 1, 2023 at 7:17 AM <el...@apache.org> wrote:
>>
>> This is an automated email from the ASF dual-hosted git repository.
>>
>> elecharny pushed a commit to branch master
>> in repository https://gitbox.apache.org/repos/asf/directory-server.git
>>
>> commit f6b42a4458eef9b4f7868a7bfef2b41b679c48a8
>> Author: emmanuel lecharny <el...@apache.org>
>> AuthorDate: Mon May 1 08:07:40 2023 +0200
>>
>>      Added the Maven spdx plugin
>> ---
>>   pom.xml | 21 +++++++++++++++++++++
>>   1 file changed, 21 insertions(+)
>>
>> diff --git a/pom.xml b/pom.xml
>> index 93f497ac8f..335cedfffd 100644
>> --- a/pom.xml
>> +++ b/pom.xml
>> @@ -489,6 +489,27 @@
>>       </pluginManagement>
>>
>>       <plugins>
>> +      <plugin>
>> +        <groupId>org.spdx</groupId>
>> +        <artifactId>spdx-maven-plugin</artifactId>
>> +        <!-- please check for updates on https://search.maven.org/search?q=a:spdx-maven-plugin -->
>> +        <version>0.6.5</version>
>> +        <executions>
>> +          <execution>
>> +            <id>build-spdx</id>
>> +            <goals>
>> +              <goal>createSPDX</goal>
>> +            </goals>
>> +          </execution>
>> +        </executions>
>> +        <configuration>
>> +          <excludedFilePatterns>
>> +            <param>*.spdx</param>
>> +          </excludedFilePatterns>
>> +          <!-- See documentation below for additional configuration -->
>> +        </configuration>
>> +      </plugin>
>> +
>>         <plugin>
>>           <groupId>org.apache.maven.plugins</groupId>
>>           <artifactId>maven-checkstyle-plugin</artifactId>
>>

-- 
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
emmanuel.lecharny@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: [directory-server] 01/09: Added the Maven spdx plugin

Posted by Colm O hEigeartaigh <co...@apache.org>.
Hi Emmanuel,

This commit is breaking JDK8 support, was it intentional?

Colm.

On Mon, May 1, 2023 at 7:17 AM <el...@apache.org> wrote:
>
> This is an automated email from the ASF dual-hosted git repository.
>
> elecharny pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/directory-server.git
>
> commit f6b42a4458eef9b4f7868a7bfef2b41b679c48a8
> Author: emmanuel lecharny <el...@apache.org>
> AuthorDate: Mon May 1 08:07:40 2023 +0200
>
>     Added the Maven spdx plugin
> ---
>  pom.xml | 21 +++++++++++++++++++++
>  1 file changed, 21 insertions(+)
>
> diff --git a/pom.xml b/pom.xml
> index 93f497ac8f..335cedfffd 100644
> --- a/pom.xml
> +++ b/pom.xml
> @@ -489,6 +489,27 @@
>      </pluginManagement>
>
>      <plugins>
> +      <plugin>
> +        <groupId>org.spdx</groupId>
> +        <artifactId>spdx-maven-plugin</artifactId>
> +        <!-- please check for updates on https://search.maven.org/search?q=a:spdx-maven-plugin -->
> +        <version>0.6.5</version>
> +        <executions>
> +          <execution>
> +            <id>build-spdx</id>
> +            <goals>
> +              <goal>createSPDX</goal>
> +            </goals>
> +          </execution>
> +        </executions>
> +        <configuration>
> +          <excludedFilePatterns>
> +            <param>*.spdx</param>
> +          </excludedFilePatterns>
> +          <!-- See documentation below for additional configuration -->
> +        </configuration>
> +      </plugin>
> +
>        <plugin>
>          <groupId>org.apache.maven.plugins</groupId>
>          <artifactId>maven-checkstyle-plugin</artifactId>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org