Skip to content

Honor Maven Wagon SSL flags for allureDownloadUrl downloads#412

Merged
baev merged 3 commits intomainfrom
fix-296
Apr 9, 2026
Merged

Honor Maven Wagon SSL flags for allureDownloadUrl downloads#412
baev merged 3 commits intomainfrom
fix-296

Conversation

@baev
Copy link
Copy Markdown
Member

@baev baev commented Apr 8, 2026

Context

This fixes #296.

When allureDownloadUrl is configured, the plugin uses its own direct download path instead of Maven artifact resolution. That meant standard Maven/Wagon SSL flags like -Dmaven.wagon.http.ssl.insecure=true had no effect, even though the same flags worked for normal Maven downloads. For teams hosting the Allure CLI in internal Artifactory or other HTTPS endpoints with private certificates, allure:install could fail with SSL validation errors.

This change makes the direct download path respect the Maven session properties for maven.wagon.http.ssl.insecure, maven.wagon.http.ssl.allowall, and maven.wagon.http.ssl.ignore.validity.dates. In practice, that makes custom allureDownloadUrl behavior much closer to the rest of Maven, which is what users expect. I also added tests around the relaxed SSL handling so this behavior is covered going forward.

Example:

mvn -Dmaven.wagon.http.ssl.insecure=true \
    -Dmaven.wagon.http.ssl.allowall=true \
    allure:install

With this patch, those flags now apply to direct CLI downloads as well.

Checklist

@baev baev added the type:new feature Change that add something new for end users label Apr 8, 2026
@baev baev merged commit 8f8340e into main Apr 9, 2026
9 of 11 checks passed
@baev baev deleted the fix-296 branch April 9, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:new feature Change that add something new for end users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plugin is not processing standard maven options for disabling SSL-Certificate validations - download of allure binaries is not possible

2 participants