Category "maven"

Error resolving version for plugin 'org.codehaus.mojo:maven-war-plugin' from the repositories

I am using eclipse Indigo Service Release 2 with JBoss tools installed and created a Seam Web project with Maven integration selected. After the project is crea

How to fail when maven profile does not exist?

I have a few maven profiles in my pom.xml. I have jenkins configured to run nightly tests for each of these profiles. I figured today that there was a spelling

How to install a tagged version (i.e. not a snapshot) of your project locally and not to the maven central?

So I have done mvn release:clean and mvn release:prepare. As a result I have a clean tag on my subversion with the latest version 1.3.3 of my artifact. Now I

how to Use system properties to pass parameters to the runner/maven build

I want to run my test in three different preset resolution: 768x1024, 360x740, 1920x1024 using the existing framework. And I have to use system properties to pa

unable to start embedded Tomcat when running Eureka Server

I am just starting with microservices and I want to creat a simple Eureka Server to do my Serviceregistry. For now I just want to run the server on localhost an

Spring maven dependency issue

I have a problem that my pom.xml throw an error ArtifactTransferException: Failure to transfer org.springframework:spring-tx:jar:3.2.4.RELEASE from http:

vaadin 23 reporting debug mode when built for production

I've built my vaadin 23 app in production mode via: mvn clean package -Pproduction -DskipTests -U My pom.xml contains the necessary profile: <!-- vaadin pro

unable to install playwright as a maven dependancy

I'm trying to build my automation framework using playwright with java, however I'm running into below issue when running the tests. Please advice! Failed to in

Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException

Run my Spring Boot application (sample program to post jason to Spring RESTful webservice) in Eclipse successfully. However, when I use the mvn package command

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.

I have been trying from a couple of days to resolve the following error but I am unable to resolve it :( My module's pom.xml file is: <project xmlns="htt

GeoLite2 database gets corrupt when added to war

Like the question GeoLite2 database gets corrupt when added to jar, I got the error from the WAR file with the following steps: mvn package to copy GeoLite2-C

How to find/remove unused dependencies in Gradle

I wanted to find unused dependencies in my project. Is there a feature for this in Gradle, like in Maven?

How to clean or clean build my Maven project in IntelliJ IDEA?

I'm using Apache Maven in my Java project. in NetBeans there are build and clean build icons but there aren't in IntellIJ IDEA. How can I clean or clean build m

aspose email with java 11

I am trying to upgrade the aspose email version to 20.7 and I am using java 11 for my project, but I get these exceptions. The aspose email jar is in the classp

NullPointerException - find resource file

I have a maven project where i'm trying to read a javascript file but it can't find it and get a NullPointerException. This is a followup question on THIS POST

Ignore maven execution block which uses toolchain if ~/.m2/toolchains.xml is not present

I'm working on an open-source library which must work correctly on jre7. Since java 9 has been released, we decided to provide our modules with module-info.java

Could not download Node.js from: https://nodejs.org/dist/v6.11.3/x64/node.exe: Got error code 404 from the server

When i tried build and clean my project pom.xml <configuration> <nodeVersion>v6.11.3</nodeVersion> <npmVersion>3.10.10</npm

How to run Maven Checkstyle plugin on modified files only

I am running Maven Checkstyle plugin through pre-commit githook written in python (I think that the same question applies to running it directly from terminal).

"Cannot find symbol" error when creating an instance of an object

I'm new to using maven and have a Project where I'm trying to create an instance of an object but keep getting the error: error: cannot find symbol Comm

Error:Plugin with id 'com.github.dcendents.android-maven' not found

I'm using this library in my Android app. (https://github.com/yazeed44/MultiImagePicker) Before now, I was adding it to my project this way: compile 'net.yazeed