maven

Maven failsafe plugin doesn't run parallel Test

别说谁变了你拦得住时间么 提交于 2021-02-07 07:18:22
问题 I have a Maven POM file and when I provide parallel execution options, I dont see any signs of parallel execution in the logs. And XML debugging is driving me nuts. Any thoughts what is wrong here? <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId

Request timeout in Gatling

不打扰是莪最后的温柔 提交于 2021-02-07 06:45:06
问题 I am using maven to run my Gatling (Scala) performance test. It gives me request timeout issue when I increase user from 100 to 150. If I set the number of user to 300, then I get following error in simulation log. // Gatling scenario injection val scn = scenario("UATEnvironmentTest") .exec(http("AdminLoginRequest") .post("/authorization_microservice/oauth/token") .headers(headers_1).body(RawFileBody("Login.txt")) .check(jsonPath("$.access_token") .saveAs("auth_token"))) .pause(2) setUp(scn

How is default maven plugin version decided?

时光怂恿深爱的人放手 提交于 2021-02-07 06:36:08
问题 I wonder when I did not specify a plugin version in some module's pom.xml like in: <build> ... <plugin> <groudId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.8.0</version> </plugin> ... </build> What is the default plugin version used when I run "mvn compile"? I have tried it and see actually it is using maven-compiler-plugin version "3.1" with above plugin element commented, my maven version is 3.6.3. I have spent 1 hour to google thru Maven's

IDEA 查看maven 项目依赖

六月ゝ 毕业季﹏ 提交于 2021-02-07 06:35:42
在maven项目中找到pom.xml,打开。 <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId> <exclusions> <exclusion> <artifactId>guava</artifactId> <groupId>com.google.guava</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.cloud</groupId>

Repository for maven jasperreports-functions-6.1.1

时间秒杀一切 提交于 2021-02-07 06:26:51
问题 Obviously <dependency> <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>6.1.1</version> </dependency> depends on jasperreports-functions, but I cannot find this in any repository. I see the jar file in Tibco Jasper Studio, I found http://community.jaspersoft.com/project/jasperreports-library/releases link to download the library, however we use maven in corporate environment, so I would appreciate maven repository to download the artifact automatically.

Repository for maven jasperreports-functions-6.1.1

狂风中的少年 提交于 2021-02-07 06:26:03
问题 Obviously <dependency> <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>6.1.1</version> </dependency> depends on jasperreports-functions, but I cannot find this in any repository. I see the jar file in Tibco Jasper Studio, I found http://community.jaspersoft.com/project/jasperreports-library/releases link to download the library, however we use maven in corporate environment, so I would appreciate maven repository to download the artifact automatically.

Repository for maven jasperreports-functions-6.1.1

▼魔方 西西 提交于 2021-02-07 06:24:49
问题 Obviously <dependency> <groupId>net.sf.jasperreports</groupId> <artifactId>jasperreports</artifactId> <version>6.1.1</version> </dependency> depends on jasperreports-functions, but I cannot find this in any repository. I see the jar file in Tibco Jasper Studio, I found http://community.jaspersoft.com/project/jasperreports-library/releases link to download the library, however we use maven in corporate environment, so I would appreciate maven repository to download the artifact automatically.

CompilerMojo#execute() caused a linkage error (java.lang.NoSuchMethodError) and may be out-of-date

本秂侑毒 提交于 2021-02-07 05:52:05
问题 I've searched google and reviewed answers on StackOverflow, but cannot seem to resolve this problem. I recently joined this project and added a few things to the POM. Being a relative neophyte with Maven, I am not grasping the issue and the response I have seen have not been clarifying. I suspect it is the addition of Groovy to the project. I want to use Groovy & Spock for testing (and, hopefully, eventually for prod as well). [INFO] Using Groovy-Eclipse compiler to compile both Java and

Travis CI not using extra Maven repository provided in pom.xml

非 Y 不嫁゛ 提交于 2021-02-07 05:44:14
问题 I have a Java-based GitHub project, fitnessjiffy-spring (I'm currently focused on the "bootstrap" branch). It depends on a library built from another GitHib project, fitnessjiff-etl. I am trying to configure both of these to be built by Travis CI. Unfortunately, Travis is not as sophisticated as Jenkins or Hudson in dealing with Maven-based Java projects. Jenkins can easily handle dependencies between projects, but the same concept doesn't seem to exist with Travis. If one project depends on

Travis CI not using extra Maven repository provided in pom.xml

心不动则不痛 提交于 2021-02-07 05:44:04
问题 I have a Java-based GitHub project, fitnessjiffy-spring (I'm currently focused on the "bootstrap" branch). It depends on a library built from another GitHib project, fitnessjiff-etl. I am trying to configure both of these to be built by Travis CI. Unfortunately, Travis is not as sophisticated as Jenkins or Hudson in dealing with Maven-based Java projects. Jenkins can easily handle dependencies between projects, but the same concept doesn't seem to exist with Travis. If one project depends on