Category "maven"

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

POI - ZIP entry size is too large

I use JXLS to create my woorkbook. JXLS uses POI underneath. To create a workbook JXLS either need a File or an input stream. With file object I get my desired

Maven Could not resolve dependencies (Return code is: 409 , ReasonPhrase:Conflict)

Failed to execute goal on project lcms.web: Could not resolve dependencies for project lcms:lcms.web:war:0.0.1-SNAPSHOT: Failed to collect depende

Failed to load or instantiate TagExtraInfo class: org.apache.struts.taglib.bean.CookieTei

I am trying to build struts 1 web project using maven in eclipse. I am getting the following error: My pom.xml is below: <project xmlns="http://maven.apa

Maven Install on Mac OS X

I'm trying to install maven through the terminal by following these instructions. So far I got this: export M2_HOME=/user/apple/apache-maven-3.0.3 export M2=$M2