what version of Maven Archetype Plugin do you get?
And what is the output before the exception?

Regards,

Hervé

Le dimanche 19 juin 2022, 19:11:27 CEST Stefano Fornari a écrit :
> I am trying to create a project from an archetype:
> 
> mvn archetype:generate \
>         -DarchetypeGroupId=org.openjfx \
>         -DarchetypeArtifactId=javafx-archetype-simple \
>         -DarchetypeVersion=0.0.3 \
>         -DgroupId=org.openjfx \
>         -DartifactId=sample \
>         -Dversion=1.0.0 \
>         -Djavafx-version=17.0.1
> 
> 
> But I am getting the following error:
> 
> rg.apache.maven.wagon.TransferFailedException: Failed to transfer file:
> http://repo1.maven.org/maven2. Return code is: 501 , ReasonPhrase:HTTPS
> Required.
> 
> Shouldn't maven central be hardcoded in the apache-maven package? How can I
> fix it?
> 
> Many thanks in advance.
> 
> Ste





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to