Category "maven"

Read property file of one java project in another java project

Here is my problem statement: I have a project A which is built in spring and is a maven project. there is project B(not using any framework) which I am develo

Gradle: Override transitive dependency by version classifier

One of the dependencies declared in my project has a transitive dependency on 'com.google.guava:guava:15.0'. But my application deployed on WAS/Weblogic doesn't

Error:Unknown host 'maven.fabric.io'. You may need to adjust the proxy settings in Gradle

I am trying to use the fabric io plugin and have to use the below maven repo : maven { url 'https://maven.fabric.io/public' } but it gives me error while syn

Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved

I have install maven in my machine. I have properly set the class-path and maven home folder. Every time I execute mvn clean install, it gives me exception. I h

Getting IntelliJ to import shaded dependencies in a multi-module maven project

I have two modules, Component and Application. The Component module is shaded due to a dependency conflict (google protocol buffers) later in the build process.

How do I resolve "Failed to collect dependencies" error in Maven?

I'm using Maven 3 in my project. It's been sitting on the shelf for a while, but we recently started working on it again. When I try to build it I'm getting t

My tests were running and then I clicked "Run as --> Maven clean" and now when I click "Run as --> Maven test" it doesn't work anymore

My project worked after right-clicking on the pom.xml file in Eclipse and selecting: "Run as --> Maven install" and then "Run as --> Maven test". I start

Creating a jar from a maven project in intellij

I created a new maven project in IntelliJ and set packaging to jar but when I build it, the target folder does not contain a jar. I'm sure its something really

Kotlin + Java 9 modules (Java 11 in use) + maven

I've created a simple project with Java and Kotlin code, and I'm trying to compile it as Java 9 module. Here is my pom.xml: <?xml version="1.0" encoding="UT

Automation Test executed by Runner works fine, but when execute this by command mvn, it gets error in test that already works fine

I am a QA and created a framework(JAVA) to execute my tests. Everything is going fine running the tests by Runners. All those tests works fine and got the PASSE

MapStruct - Cannot find implementation

Using latest Springboot and MapStruct versions and building with Maven, I am trying to implement the "Start Here" example given in the official MapStruct site

Bad type on operand stack error when using hibernate

I am getting an error when using the hibernate. This is the stack trace:- java.lang.VerifyError: Bad type on operand stack Exception Details: Location: o

how to solve the warning Unrecognised tag: 'snapshotPolicy'?

When maven build there is a warning: [WARNING] Unrecognised tag: 'snapshotPolicy' (position: START_TAG seen ...</url>\n <snapshotPolicy>..

no mssql-jdbc_auth-8.2.1.x64 in java.library.path

I'm trying to connect to SQL DB in my Maven project, but keep getting following exception: "com.microsoft.sqlserver.jdbc.SQLServerException: This driver is no

Limiting a transitive dependency to runtime scope in Maven

I've got 2 projects using Maven. The first one is a library containing utility classes and methods. The second project is an actual application that has the lib

Could not exec java with Spring+Maven exit code 1

I am new to Spring/Maven, and am following this tutorial: Serving Web Content with Spring MVC. Everytime I run mvn spring-boot:run, I get this error: Fail

Missing JUNIT Jar Exception while building project using Maven

I am in the beginning phase of Maven. I created a project and was trying to use the command. what is missing at my end? I am trying to compile and run a TestSui

Got error when deploy adapter in mfpdev

I am working on IBM MobileFirst platform 8.0 when i deploy the created adapter i get some error.I am new here.Please help me. this is the error i got.I can crea

How to disable Maven auto import automatically in IntelliJ IDEA?

I believe this setting might be causing IntelliJ IDEA to behave slowly. I used to get a popup and finally clicked 'do this automatically', and now it is on, but

Maven svn: E215004: Authentication failed and interactive prompting is disabled; see the --force-interactive option

When I try to do a mvn release: perform, I get this error [ERROR] Provider message: [ERROR] The svn command failed. [ERROR] Command output: [ERROR] svn: E2150