Created
May 14, 2022 17:29
-
-
Save bh5k/b42cffcbba3e2855a452c292f9258a5a to your computer and use it in GitHub Desktop.
Maven Archetype for JDBC Project Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mvn archetype:generate -DarchetypeArtifactId=maven-archetype-simple -DarchetypeGroupId=org.apache.maven.archetypes -DinteractiveMode=false -DgroupId=com.pluralsight -DartifactId=library-app -Dpackage=com.pluralsight |
you need to have maven on your path. Sent from my iPhoneOn Jul 17, 2023, at 6:41 AM, fae6068 ***@***.***> wrote:Re: bh5k/Command line for ***@***.*** commented on this gist.this does not work, as you can see, it was installed, but we get the bizare error messagePS C:\Program Files\apache-maven-3.9.3> mvn archetype:generate -DarchetypeArtifactId=maven-archetype-simple -DarchetypeGroupId=org.apache.maven.archetypes -DinteractiveMode=false -DgroupId=com.pluralsight -DartifactId=library-app -Dpackage=com.pluralsightmvn : The term 'mvn' is not recognized as the name of a cmdlet, function, script file, or operable program. Check thespelling of the name, or if a path was included, verify that the path is correct and try again.At line:1 char:1mvn archetype:generate -DarchetypeArtifactId=maven-archetype-simple - ... + CategoryInfo : ObjectNotFound: (mvn:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
—Reply to this email directly, view it on GitHub or unsubscribe.You are receiving this email because you authored the thread.Triage notifications on the go with GitHub Mobile for iOS or Android.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
this does not work, as you can see, it was installed, but we get the bizare error message
PS C:\Program Files\apache-maven-3.9.3> mvn archetype:generate -DarchetypeArtifactId=maven-archetype-simple -DarchetypeGroupId=org.apache.maven.archetypes -DinteractiveMode=false -DgroupId=com.pluralsight -DartifactId=library-app -Dpackage=com.pluralsight
mvn : The term 'mvn' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1