Category "maven"

What is the way around this error "java.lang.RuntimeException: PowerMock internal error: Should never throw exception at this level"

java.lang.RuntimeException: PowerMock internal error: Should never throw exception at this level at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44R

Repeatedly getting "PKIX path building failed" and "unable to find valid certification path to requested target"

I have been facing this annoying issue of certificate during mvn clean install execution. PS C:\Users\milan\service> mvn clean install [INFO] Scanning for pr

IntelliJ Ultimate 2019.3 find usages not working

if i use maven propertie dynamic generation version in multi-module, find usages not working. projecdt structure: -parent-project --api --service parent: <pr

IntelliJ Ultimate 2019.3 find usages not working

if i use maven propertie dynamic generation version in multi-module, find usages not working. projecdt structure: -parent-project --api --service parent: <pr

Eclipse Terminal Not Updating / Weird Behaviour

I am using Eclipse (Theme = DevStyle) for Development of Java Maven Projects. When working within Eclipse with a Windows Terminal there's very weird behaviour,

"no main manifest attribute" in .jar Netbeans 13

I recently just started toying around with Maven in java. Time comes to test my project, it works fine in the NetBeans window, running the main class found in A

While running build on Teamcity getting below error base dir does not exist

java.lang.IllegalStateException basedir does not exist. While packaging the application using maven

Moving dependencies from pom to properties file

is there any way to moving dependencies from pom.xml to application.properties file? <dependency> <groupId>org.postgresql</groupId>

Spring Boot - nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type '' available

I'm trying to add the following statement to a Spring Boot service: @Autowired private ApELDatabasePublisherService eventPublisher; The dependency for eventPu

How to suppress Kotlin unused parameter warning in all test classes?

In parameterized tests I use hint parameter to clarify test case naming. From the static analyzer point of view this parameter is never used, so this warning fr

how to instruct apache maven to drop corrupted jar and download them again?

When I run mvn site, I found that the doxia library is corrupted: [WARNING] Error injecting: org.apache.maven.report.projectinfo.CiManagementReport java.lang.No

How to get an auth code from Keycloak(OAuth2 standard flow) in a JEE-Maven project?

I need to secure a web-app, the backend will be Java Rest API, meanwhile I'll use Angular for my front. I am using Keycloak to authenticate into my webapp, but

Error while running cucumber feature file via testng

Below is the error i get: [RemoteTestNG] detected TestNG version 7.5.0 [main] INFO org.testng.internal.Utils - [Utils] MethodGroupsHelper.collectMethodsByGroup(

All maven surefire reports are zero! How could this happen?

I have a scala project configured with maven surefire plugin: <plugin> <groupId>org.apache.maven.plugins</groupId> <a

Java slenium wont getProperty when i use switch case

here is my simple code for getting a browser public WebDriver initializeDriver() { WebDriver driver; String browser = System.getProperty("bro

How to use maven repositories instead of p2 update sites to provision plugins in Eclipse IDE?

In my region it will be much faster using a maven repository instead of a p2 update site to provision plugins in Eclipse IDE and I'm craving for a solution. Has

"no main manifest attribute, in server.war" not using a main class

What I'm trying to do is have Docker run a TomEE 8.0.0 application with Maven. However when compiling the application, it gives me the error from the title no m

Fixing vulnerability of maven-core

I am receiving critical vulnerability on maven-core package https://nvd.nist.gov/vuln/detail/CVE-2021-26291. Need to upgrade maven-core to 3.8.1+. Here ${sprin

How to "require" module "gwt.user" On Java, JDK17, "module-info.java", Netbeans, Maven

I am trying to keep up with the new changes in Java, one step a time. I am updating my old libraries with module-info.java files. I have a very simple project n

Exclude version pattern from renovate

There are several standard Java dependencies that have forks with the same maven coordinates and a "redhat-xxx" suffix in their version number, for example comm