I run the webapp archetype cmd and get an error that the artifact needs to be installed into my repo.
mvn archetype:create -DgroupId=com.attainware.maven2example -DartifactId=maven2e
xample_webapp -DarchetypeArtifactId=maven-archetype-webapp
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.maven.archetypes
ArtifactId: maven-archetype-webapp
Version: RELEASE
Reason: Unable to determine the release version
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.maven.archetypes -DartifactId=
maven-archetype-webapp \
-Dversion=RELEASE -Dpackaging=jar -Dfile=/path/to/file
org.apache.maven.archetypes:maven-archetype-webapp:jar:RELEASE |