Windows控制台:Maven原型列表过长 [英] Windows console: Maven archetype list is too long

查看:166
本文介绍了Windows控制台:Maven原型列表过长的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问题:由"mvn archetype:generate"生成的列表太长,Windows控制台无法显示(列表在第200个项目处被切断

我尝试从首页上的30分钟教程中学习它,但是与原型生成相关的第一条命令产生了错误,使我想到了有关该教程的主题 和mvn archetype:generate命令,该命令可以正常运行,但对于Windows控制台来说太长了,无法显示所有内容.

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?

推荐答案

在命令末尾添加> output.txt:

mvn archetype:generate > output.txt

这会将标准重定向到名为output.txt的文件

This will redirect standard out into a file called output.txt

这篇关于Windows控制台:Maven原型列表过长的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆