Skip to content

Commit df9dca2

Browse files
authored
v6 and phase2 (#162)
* Started v6 * v6.0.0 * Replaced deprecated stuff * Removed deprecated stuff * update for ph-commons changes * Updated to releases * Updated * parent POM 3.0.2 * Version bump * Updated * ph-commons 12.0.1 * Updated * Version bump * Version bump * Using new badge * Started renaming to phase2 * Renamed * Renamings * Added old name mapping * Renamed * Naming changes * Updated names
1 parent 096059b commit df9dca2

File tree

335 files changed

+2575
-2747
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

335 files changed

+2575
-2747
lines changed

.github/workflows/maven.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,13 @@ name: Maven deploy Snapshots
2222

2323
on:
2424
push:
25-
branches:
26-
- master
2725

2826
jobs:
2927
build:
3028
runs-on: ubuntu-latest
3129
strategy:
3230
matrix:
33-
# Spring Boot 3.4.5 cannot handle Java 24
34-
java: [ 11, 17, 21 ]
31+
java: [ 17, 21, 24 ]
3532
name: Java ${{ matrix.java }} build
3633

3734
steps:
@@ -55,11 +52,11 @@ jobs:
5552
5653
- name: Publish to the Maven Central Repository
5754
run: mvn --batch-mode --update-snapshots -P release-snapshot deploy
58-
if: matrix.java == 11
55+
if: matrix.java == 17
5956
env:
6057
MAVEN_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
6158
MAVEN_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
6259

6360
- name: Maven Build
6461
run: mvn --batch-mode --update-snapshots install
65-
if: matrix.java != 11
62+
if: matrix.java != 17

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# as2-lib
1+
# phase2
22

3-
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.helger.as2/as2-lib-parent-pom/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.helger.as2/as2-lib-parent-pom)
3+
[![Maven Central](https://img.shields.io/maven-central/v/com.helger.as2/as2-lib-parent-pom)](https://img.shields.io/maven-central/v/com.helger.as2/as2-lib-parent-pom)
44
[![javadoc](https://javadoc.io/badge2/com.helger.as2/as2-lib/javadoc.svg)](https://javadoc.io/doc/com.helger.as2/as2-lib)
55
[![CodeCov](https://codecov.io/gh/phax/ph-as2/branch/master/graph/badge.svg)](https://codecov.io/gh/phax/ph-as2)
66

@@ -9,12 +9,14 @@ AS2 version 1.1 adding compression is specified in [RFC 5402](http://www.ietf.or
99
The MDN is specified in [RFC 3798](http://www.ietf.org/rfc/rfc3798.txt).
1010
Algorithm names are defined in [RFC 5751](https://www.ietf.org/rfc/rfc5751.txt) (S/MIME 3.2) which supersedes [RFC 3851](https://www.ietf.org/rfc/rfc3851.txt) (S/MIME 3.1);
1111

12-
See the **[Wiki](https://github.com/phax/as2-lib/wiki)** for all details.
13-
It also contains [License details](https://github.com/phax/as2-lib/wiki/Licensing).
12+
See the **[Wiki](https://github.com/phax/phase2/wiki)** for all details.
13+
It also contains [License details](https://github.com/phax/phase2/wiki/Licensing).
1414

15-
This library is a fork of [OpenAS2](http://sourceforge.net/projects/openas2/) which did not
16-
release updates since 2010 (as per August 2015 they are on GitHub at https://github.com/OpenAS2/OpenAs2App). I then split the project into a common library part (the "as2-lib" submodule)
17-
and a server part (the "as2-server" submodule) which contains a stand alone (socket) server. The library project also contains a simple AS2 client which can be used to send messages to other AS2 servers (as part of "as2-lib").
15+
This library is a fork of [OpenAS2](http://sourceforge.net/projects/openas2/) which did not release updates since 2010 (as per August 2015 they are on GitHub at https://github.com/OpenAS2/OpenAs2App).
16+
I then split the project into a common library part (the "as2-lib" submodule) and a server part (the "as2-server" submodule) which contains a stand alone (socket) server.
17+
The library project also contains a simple AS2 client which can be used to send messages to other AS2 servers (as part of "as2-lib").
18+
19+
Per 09/2025 the library was renamed to "phase2" to match the name of the library [phase4](https://github.com/phax/phase4) which is an AS4 implementation.
1820

1921
---
2022

as2-demo-webapp/src/test/resources/.gitignore

Whitespace-only changes.

as2-lib/src/main/java/com/helger/as2lib/params/ExceptionParameters.java

Lines changed: 0 additions & 106 deletions
This file was deleted.

as2-lib/src/test/resources/external/mendelson/testcontent.attachment

Lines changed: 0 additions & 3 deletions
This file was deleted.

as2-partnership-mongodb/src/test/resources/.gitignore

Whitespace-only changes.

as2-server/src/main/java/com/helger/as2/app/cert/ServerPKCS12CertificateFactory.java

Lines changed: 0 additions & 53 deletions
This file was deleted.

as2-servlet/src/test/resources/.gitignore

Whitespace-only changes.
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,33 +18,33 @@
1818
1919
-->
2020
<openas2>
21-
<certificates classname="com.helger.as2lib.cert.CertificateFactory"
21+
<certificates classname="com.helger.phase2.cert.CertificateFactory"
2222
type="pkcs12"
2323
filename="%home%/certs.p12"
2424
password="test"
2525
interval="300"/>
26-
<partnerships classname="com.helger.as2lib.partner.SelfFillingPartnershipFactory"
26+
<partnerships classname="com.helger.phase2.partner.SelfFillingPartnershipFactory"
2727
filename="%home%/partnerships.xml"/>
2828

29-
<processor classname="com.helger.as2lib.processor.DefaultMessageProcessor"
29+
<processor classname="com.helger.phase2.processor.DefaultMessageProcessor"
3030
pendingMDN="data/pendingMDN"
3131
pendingMDNinfo="data/pendinginfoMDN">
3232
<!-- Required to receive messages -->
3333
<!-- port is required internally - simply ignore it for servlets -->
34-
<module classname="com.helger.as2servlet.util.AS2ServletReceiverModule"
34+
<module classname="com.helger.phase2.servlet.util.AS2ServletReceiverModule"
3535
port="10080"
3636
errordir="data/inbox/error"
3737
errorformat="$msg.sender.as2_id$, $msg.receiver.as2_id$, $msg.headers.message-id$"/>
3838

3939
<!-- Example module for storing incoming messages -->
40-
<module classname="com.helger.as2lib.processor.storage.MessageFileModule"
40+
<module classname="com.helger.phase2.processor.storage.MessageFileModule"
4141
filename="data/inbox/$msg.sender.as2_id$-$msg.receiver.as2_id$-$msg.headers.message-id$"
4242
header="data/inbox/msgheaders/$date.uuuu$/$date.MM$/$msg.sender.as2_id$-$msg.receiver.as2_id$-$msg.headers.message-id$"
4343
protocol="as2"
4444
tempdir="data/temp"
4545
charset="utf-8" />
4646

4747
<!-- Only needed to receive asynchronous MDNs -->
48-
<module classname="com.helger.as2servlet.util.AS2ServletMDNReceiverModule" />
48+
<module classname="com.helger.phase2.servlet.util.AS2ServletMDNReceiverModule" />
4949
</processor>
5050
</openas2>

0 commit comments

Comments
 (0)