Category "maven"

Maven is not using Java 11 - Fatal error compiling: invalid target release: 11

I am trying to compile my project with Java 11. When I try to run the application with Java 8 as the Java version in pom.xml, it works fine. But when I try to r

In Maven, how can I exclude all transitive dependencies from a particular dependency?

I want to exclude all transitive dependencies from one dependency. In some places I've seen it suggested to use a wildcard for that <dependency> <gr

Unable to Verify that GCS bucket and PKIX path building failed Errors in Creating and staging GCP Dataflow template

I am creating and staging gcp dataflow template in cloud storage with following command: mvn -X compile exec:java -Dexec.mainClass=main.java.TemplatePipeline -D

Determine JDK home from Maven toolchain

I have a Maven build configured to use maven-toolchains-plugin, with ~/.m2/toolchains.xml simply configured for multiple JDKs: <?xml version="1.0" encoding=

Could not connect to http-remoting - Maven-Wildfly plugin

I am attempting to employ the functionality of Deploying to Wildfly 9 in my build process with the Wildfly-Maven plugin. I am unable to deploy the application,

Debugging maven tests with IntelliJ

I've read multiple variants of this question (sorry for adding another), but none have offered a working solution. I am trying to debug a failing test in the a

Maven compilation issue with Java 9

Trying to compile a Maven project using JDK 9.0.1 I'm facing this stacktrace without much of an explanation: Exception in thread "main" java.lang.AssertionErro

Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1 from/to central (http://repo1.maven.org/maven2)

I have created a new maven project in SpringSource Tool Suite. I am getting this error in my new maven project. Failure to transfer org.apache.maven.plugi

Append the value of argLine param in maven-surefire-plugin

I am using maven-surefire-plugin + Sonar together and I would like to add some extra value to argLine parameter of the maven-surefire-plugin. So I did it: <

Unable to update Maven configuration Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5

From inside eclipse when i am doing Maven -> Update Project i am getting following issue Unable to update Maven configuration Could not calculate build

Unable to pass java compiler parameters using maven

As the title says I am unable to pass command line parameters to the java compiler using maven, I am using the maven-compiler-plugin to do it, and accordingly t

wsimport fail with maven

I'm trying to create an ssl webservice client using maven and netbeans(7.2). The webservice is perfectly working and I test it using an ant project. When I try

Unable to update Maven configuration Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.5

From inside eclipse when i am doing Maven -> Update Project i am getting following issue Unable to update Maven configuration Could not calculate build

wsimport fail with maven

I'm trying to create an ssl webservice client using maven and netbeans(7.2). The webservice is perfectly working and I test it using an ant project. When I try

spring-boot-starter-data-jpa dependency error

I am using new version of Spring boot - 1.5.7. But , when I create new spring starter project with jpa dependency, I got strange error: Caused by: org.spr

Eclipse plugin cannot handle Maven toolchain plugin

When I have the Maven toolchain plugin in my pom.xml: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-to

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