stoicflame / enunciate

Build-time enhancement tool for Java-based Web services projects
http://enunciate.webcohesion.com/
Other
480 stars 201 forks source link

Incompatible Maven Deploy Plugin (v3.x) alt[...]DeploymentRepository Syntax #1157

Closed egglestonbd closed 1 year ago

egglestonbd commented 1 year ago

When the com.webcohesion.enunciate:enunciate-maven-plugin:2.14.0:deploy-artifact (plugin) goal is executed using the updated alternate repository syntax for maven-deploy-plugin version 3.x (altDeploymentRepository, altReleaseDeploymentRepository, & altSnapshotDeploymentRepository) with the syntax: id::layout::url, instead of id::url, the following error is encountered:

[ERROR] Failed to execute goal com.webcohesion.enunciate:enunciate-maven-plugin:2.14.0:deploy-artifact (install-and-deploy) on project <project omitted here>: Invalid syntax for repository. Invalid syntax for repository. 
[ERROR] Invalid syntax for alternative repository. Use "id::layout::url".

We currently use the alternate repositories to control download of our source from our repositories.

Is it possible to do a major revision of the enunciate-maven-plugin to support/take advantage of the major revision update with the maven-deploy-plugin, or dynamically determine which version of code / syntax is being used?

Note we dynamically apply the syntax based on:

mvn help:describe -Dplugin=org.apache.maven.plugins:maven-deploy-plugin