Category "maven"

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

'react-scripts' is not recognized as an internal or external command

I've got a maven project, within which is JavaScript project cloned as a git sub-module. So the directory structure looks like mavenapp/src/main/javascript/[npm

mvn clean test is failing for Mule Munit test cases

I am running mvn clean test command on Mule Mnuit test cases. I end up with an API incompatibility error: [ERROR] Failed to execute goal com.mulesoft.munit.too

Exception class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader

I don't understand how to fix it, first time i see mistake like this. i downland this from github https://github.com/nikishubin/Notebook but its does not work O

Maven - /test/classes isn't directory - Error

I'm trying to make mvn clean package in a project that has this pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.or

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: <