Problem: List generated by 'mvn archetype:generate" is too long for windows console to display (list gets cut off at about 200-th item
I tried learning it from the 30 minute tutorial from the homepage, but the first commands related to archetype generation generated errors that led me to topics about the tutorial being faulty AND the mvn archetype:generate command, which works without errors but is just too long for the Windows console to display it all.
Is it someway possible to see the list of archetypes from the net, increase consoles history or do anything for that matter?
If you want a web application, use maven-archetype-webapp, or if you want a simple application use maven-archetype-quickstart. They are useful because you will be able to expand them with no problem. Note that this is in the Eclipse plugin by default (at least it is today).
Overview. A Maven archetype is an abstraction of a kind of a project that can be instantiated into a concrete customized Maven project. In short, it's a template project template from which other projects are created.
In short, Archetype is a Maven project templating toolkit. An archetype is defined as an original pattern or model from which all other things of the same kind are made. The names fits as we are trying to provide a system that provides a consistent means of generating Maven projects.
Add > output.txt
to the end of your command:
mvn archetype:generate > output.txt
This will redirect standard out into a file called output.txt
Another possible solution would be to increase the Buffer and or / window-size of the console.
Right click on the frame and choose Defaults - this entry sets the default values for all console windows. In Windows 7 click on the layout-tab and increase the "Screen Buffer Size" height
If you choose the entry Properties in the context menu, these settings only apply to the current instance of the console.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With