You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I repeat step by step instructions.
When I run
mvn archetype:generate
-DarchetypeRepository=local
-DarchetypeRepository=$HOME/.m2/repository
-DarchetypeGroupId=com.badlogic.gdx
-DarchetypeArtifactId=gdx-archetype
-DarchetypeVersion=1.2.0
I get an exception: [WARNING] Error reading archetype catalog http://repo1.maven.org/maven2 org.apache.maven.wagon.TransferFailedException: Transfer failed for http://repo1.maven.org/maven2 501 HTTPS Required
Why it uses HTTP instead of HTTPS? I set up a profile in maven settings.xml like this:
id maven-https
activation
activeByDefault true
repositories
repository
id central
URL https://repo1.maven.org/maven2
snapshots
enabled false
pluginRepositories
pluginRepositor
id central
url https://repo1.maven.org/maven2
snapshots
enabled false
When maven asks me to choose a number: Choose a number: 16:
What is it? I didn't found it in the readme. So next, I enter group and artefact id, version, package. It doesn't ask me to enter JavaGameClassName.
Then I get more errors. One of them: [ERROR] Unable to add module to the current project as it is not of packaging type 'pom' org.apache.maven.archetype.old.ArchetypeTemplateProcessingException: Unable to add module to the current project as it is not of packaging type 'pom'
Hi. I repeat step by step instructions.
When I run
mvn archetype:generate
-DarchetypeRepository=local
-DarchetypeRepository=$HOME/.m2/repository
-DarchetypeGroupId=com.badlogic.gdx
-DarchetypeArtifactId=gdx-archetype
-DarchetypeVersion=1.2.0
I get an exception:
[WARNING] Error reading archetype catalog http://repo1.maven.org/maven2 org.apache.maven.wagon.TransferFailedException: Transfer failed for http://repo1.maven.org/maven2 501 HTTPS Required
Why it uses HTTP instead of HTTPS? I set up a profile in maven settings.xml like this:
id maven-https
activation
activeByDefault true
repositories
repository
id central
URL https://repo1.maven.org/maven2
snapshots
enabled false
pluginRepositories
pluginRepositor
id central
url https://repo1.maven.org/maven2
snapshots
enabled false
When maven asks me to choose a number:
Choose a number: 16:
What is it? I didn't found it in the readme. So next, I enter group and artefact id, version, package. It doesn't ask me to enter JavaGameClassName.
Then I get more errors. One of them:
[ERROR] Unable to add module to the current project as it is not of packaging type 'pom' org.apache.maven.archetype.old.ArchetypeTemplateProcessingException: Unable to add module to the current project as it is not of packaging type 'pom'
any help?
console_log.txt
The text was updated successfully, but these errors were encountered: