草庐IT

sonar-maven-plugin

全部标签

windows - Maven 在 cmd windows 7 中表现出奇怪的行为

我在这里工作的一个项目中使用Maven,我遇到了一个相当奇怪的(至少对我而言)问题。当我执行以下操作时:mvnpackage一切似乎都正常,但是mvn的输出在maven完成后立即消失。为了更多地测试它,我只是做了一个:mvn--help并且我看不到输出。一旦命令完成,提示就会被清除。我现在正在使用重定向来完成我的工作:mvnpackage>out然后:键入out以查看输出。任何帮助将不胜感激!谢谢!已解决:给任何觉得这有用的人。在mvn.bat的末尾有一行cmd/Cexit/B%ERROR_CODE%我不得不这样评论:@REMcmd/Cexit/B%ERROR_CODE%

node.js - Maven 未能执行目标 - 无法运行程序 npm

我使用的是Windows7计算机,我已获得必须运行“mvninstall”才能构建应用程序的代码。当我这样做时,出现以下错误:Failedtoexecutegoalorg.codehaus.mojo:exec-maven-plugin:1.2.1:exec(npm-install)onproject[project]:Commandexecutionfailed.:Cannotrunprogram"npm"(indirectory"C:\Users\path\to\a\folder"):CreateProcesserror=2,Thesystemcannotfindthefilespe

windows - Sonar : The 'report' parameter is missing

我正在使用MSBuild。我安装了Java8。我正在运行以下命令:SonarQube.Scanner.MSBuild.exebegin/k:"ABC"/d:sonar.host.url="http://localhost:9000"/d:sonar.login="8b839xxxxxxxxxxxxxxxxxxxxxxx6b00125bf92"/d:sonar.verbose=true"C:\ProgramFiles(x86)\MicrosoftVisualStudio\2017\Professional\MSBuild\15.0\Bin\msbuild.exe"/t:rebuildSo

windows - vagrant-proxyconf "` 拆分': bad URI"error on installing plugin for Vagrant

请注意,我在Windows环境中运行它。我在公司代理后面工作,并试图获得vagrant-proxyconf插件工作,因此可以将Vagrant机器设置为通过代理工作。但是,在执行vagrantplugininstallvagrant-proxyconf时,出现以下错误:Bundler,theunderlyingsystemVagrantusestoinstallplugins,reportedanerror.Theerrorisshownbelow.Theseerrorsareusuallycausedbymisconfiguredplugininstallationsortransie

windows - 为什么我不应该在 Windows 的 Maven 路径中放置空格?

在MavenWindowsprerequisites,它指出,YouneedtounpacktheMavendistribution.Don'tunpackitinthemiddleofyoursourcecode;picksomelocation(withnospacesinthepath!)andunpackitthere.为什么路径中是否有空格很重要? 最佳答案 问题是在Maven的某处,它正在执行一个子进程,并且没有将其文件名参数正确地用双引号引起来。所以一个文件位于"C:\ProgramFiles\Foobar"在命令行上

java - 使用maven将java文件打包成exe for windows

Maven的Launch4J端口有非常详细的文档,我无法按照我想要的方式使用它。是否有一些好的Maven插件可以生成具有以下标准的exe文件(如果可能,至少其中一些):不包装jarJar可以在相对于jar文件的不同目录中jar正是依赖项,因此将新的jar添加到具有不同名称的目录没有任何效果。Xmx和Xms可以通过文件配置如果可能,进程以.exe名称运行(不太重要) 最佳答案 你可以使用插件com.akathist.maven.plugins.launch4jlaunch4j-maven-plugin1.5.2用于将jar文件包装在e

java - Sonar 赛跑者 : Windows 7 : Throwing error against jdbc on start

我快要疯了。我在windows764位上,使用最新的SonarQube和runner2.3。我在9000端口上运行SonarQube。当我尝试运行sonar-runner.bat时,我得到:C:\myRoot\SonarQube\SonarQubeRunner\sonar-runner-dist-2.3\sonar-runner-2.3SonarQubeRunner2.3Java1.7.0_45OracleCorporation(64-bit)Windows76.1amd64INFO:Runnerconfigurationfile:C:\myRoot\SonarQube\SonarQu

linux - Windows 和 Linux 上的 maven-antrun-plugin

我正在尝试让我的Maven项目在Windows7和ubuntu13.04上运行。在pom.xml文件中,我使用maven-antrun-plugin来调用scons我已经安装在我的linux和windows机器上。在这两个操作系统上,我已经验证我可以从shell/cmd运行scons,所以它在PATH上。pom看起来像这样:maven-antrun-pluginrun-sconsgenerate-resourcesrun但是当我在windows7上构建时,我得到:[ERROR]Failedtoexecutegoalorg.apache.maven.plugins:maven-antru

javascript - jQuery Validation Plugin : Invoke errorPlacement function when onfocusout, 键入并单击

我正在使用jquery验证插件,并希望使用errorPlacement函数将错误消息添加到字段标题属性,并在字段旁边仅显示一个✘。当使用提交按钮提交表单但触发以下任何事件时,这非常有效:-onfocusout-点击-onkeyup验证检查已运行,但它会跳过errorPlacement函数并在字段后添加完整的错误消息,就像默认行为一样。我正在使用以下代码:$("#send-mail").validate({debug:true,//setthisclasstoerror-labelstoindicatevalidfieldssuccess:function(label){//settex

idea创建maven项目 [超详细]

一、背景。IDEA是用于java语言开发的集成环境,并且经常用于maven、spring、MyBatis等项目的开发。今天将为大家介绍如何在IDEA中创建Maven项目。二、idea创建maven项目。1.首先打开IDEA后点击file->settings,然后在VMOptions内添加-DarchetypeCatalog=internal运行参数 (ps:不做上面操作的话会导致maven骨架生成速度缓慢到令人发指)2.点击file->New->Project3.选择maven,如图所示:4.groupid表示项目的包名,artifactid表示项目名,Location是项目地址5.选择mav