Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into commons-email2
Browse files Browse the repository at this point in the history
  • Loading branch information
reda-alaoui committed Jun 17, 2023
2 parents f034c22 + 0de8743 commit 61c2bac
Show file tree
Hide file tree
Showing 13 changed files with 22 additions and 87 deletions.
2 changes: 2 additions & 0 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ notifications:
jobs: [email protected]
issues_bot_dependabot: [email protected]
pullrequests_bot_dependabot: [email protected]
issues_bot_codecov-commenter: [email protected]
pullrequests_bot_codecov-commenter: [email protected]
4 changes: 2 additions & 2 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3.3.0
uses: actions/checkout@v3.5.3
with:
persist-credentials: false
- uses: actions/cache@v3.2.3
- uses: actions/cache@v3.3.1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,17 @@ jobs:
java: [ 8 ]

steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v3.5.3
with:
persist-credentials: false
- uses: actions/cache@v3.2.3
- uses: actions/cache@v3.3.1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3.9.0
uses: actions/setup-java@v3.11.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@ jobs:
# experimental: true

steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v3.5.3
with:
persist-credentials: false
- uses: actions/cache@v3.2.3
- uses: actions/cache@v3.3.1
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v3.9.0
uses: actions/setup-java@v3.11.0
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecards-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ jobs:
steps:

- name: "Checkout code"
uses: actions/checkout@v3.3.0 # 3.1.0
uses: actions/checkout@v3.5.3 # 3.1.0
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # 2.1.2
uses: ossf/scorecard-action@80e868c13c90f172d68d1f4501dee99e2479f7af # 2.1.3
with:
results_file: results.sarif
results_format: sarif
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Where can I get the latest release?
-----------------------------------
You can download source and binaries from our [download page](https://commons.apache.org/proper/commons-email/download_email.cgi).

Alternatively you can pull it from the central Maven repositories:
Alternatively, you can pull it from the central Maven repositories:

```xml
<dependency>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<parent>
<groupId>org.apache.commons</groupId>
<artifactId>commons-parent</artifactId>
<version>56</version>
<version>58</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>commons-email2</artifactId>
Expand Down Expand Up @@ -271,7 +271,7 @@
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.11.0</version>
<version>2.13.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
8 changes: 5 additions & 3 deletions src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<document>
<document xmlns="http://maven.apache.org/changes/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/xsd/changes-1.0.0.xsd">
<properties>
<title>Apache Commons Email Release Notes</title>
<author email="[email protected]">Eric Pugh</author>
Expand Down Expand Up @@ -63,7 +65,7 @@
Bump javax.mail dependency to 1.6.1, so that i18n is supported for email addresses.
</action>
<action type="update" due-to="Gary Gregory, Dependabot" dev="ggregory">
Bump commons-parent from 50 to 56, #118, #128.
Bump commons-parent from 50 to 58, #118, #128.
</action>
<action type="update" due-to="Dependabot, Gary Gregory" dev="ggregory">
Bump spotbugs-maven-plugin from 4.0.0 to 4.7.2 #18.
Expand All @@ -81,7 +83,7 @@
Bump maven-pmd-plugin from 3.13.0 to 3.19.0 #34, #72, #79, #94.
</action>
<action type="update" due-to="Gary Gregory">
Bump tests commons-io:commons-io 2.6 to 2.11.0.
Bump tests commons-io:commons-io 2.6 to 2.13.0.
</action>
<action type="update" due-to="Gary Gregory" dev="ggregory">
Bump jacoco from 0.8.6 to 0.8.8; fixes jacoco on Java 17.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ protected WiserMessage validateSend(
{
this.saveEmailToFile(emailMessage);
}
catch(final MessagingException me)
catch (final MessagingException me)
{
final IllegalStateException ise =
new IllegalStateException("caught MessagingException during saving the email");
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/apache/commons/mail2/HtmlEmailTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ public void testCallingBuildMimeMessageBeforeSent() throws Exception {
{
this.email.send();
}
catch(final IllegalStateException e)
catch (final IllegalStateException e)
{
return;
}
Expand Down
23 changes: 0 additions & 23 deletions src/test/java/org/apache/commons/mail2/mocks/package.html

This file was deleted.

23 changes: 0 additions & 23 deletions src/test/java/org/apache/commons/mail2/package.html

This file was deleted.

23 changes: 0 additions & 23 deletions src/test/java/org/apache/commons/mail2/settings/package.html

This file was deleted.

0 comments on commit 61c2bac

Please sign in to comment.