Skip to content
Advertisement

Tag: maven

Maven Jetty spams warning “scanned from multiple locations”

I’ve found a similar question here , but it points to a plugin that I’m not using (maven-failsafe-plugin), and the configuration that solution is referring to is not applicable for me. The problem is that since I’ve updated my jetty plugin from to <version>9.4.11.v20180605</version> , it started to spam hundreds of warnings like I’ve searched everywhere but I can’t understand

Can a maven plugin configuration be aggregated from parent to child project

I have 3 maven projects, the parent, the middle, and the child project: Then I have 2 annotation processor dependencies. The parent project defines maven-compiler-plugin as a managed plugin and configures annotation processor 1 on the annotationProcessorPath. The middle project does likewise and configures annotation processor 2 on the annotationProcessorPath. The compile of child project then fails because its missing

java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.createDirectoryWithMode0

I cannot solve this exception, I’ve read the hadoop docu and all related stackoverflow questions that I could find. My fileSystem.mkdirs(***) throws: I am including the following dependencies in my app (via maven pom.xml), all in version 2.6.0-cdh5.13.0: hadoop-common, hadoop-hdfs, hadoop-client, hadoop-minicluster My filesystem variable is a valid (hadoop-common) FileSystem (org.apache.hadoop.fs.FileSystem). I downloaded the hadoop files from https://github.com/steveloughran/winutils/tree/master/hadoop-2.6.0/bin. I stored

Failed to create parent directories for tracking file .lastUpdated

I’ve added com.spotify:dockerfile-maven-plugin:1.4.3 to my POM and it s unable to complete because of the following u [INFO] — dockerfile-maven-plugin:1.4.3:build (default) @ server-api — Downloading: https://repo.maven.apache.org/maven2/com/fasterxml/jackson/module/jackson-modules-base/2.9.4/jackson-modules-base-2.9.4.pom [WARNING] Failed to create parent directories for tracking file /home/alex/.m2/repository/com/fasterxml/jackson/module/jackson-modules-base/2.9.4/jackson-modules-base-2.9.4.pom.lastUpdated Which, in turn, causes: [ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.3:build (default) on project server-api: Execution default of goal com.spotify:dockerfile-maven-plugin:1.4.3:build failed: Plugin com.spotify:dockerfile-maven-plugin:1.4.3 or one

Maven Failsafe fails with java.lang.NoClassDefFoundError

I’ve started a new project: PostfixSQLConfig. It’s a simple Spring Boot application that is essentialy supposed to provide CRUD access for 4 simple databse tables. I wrote the the repository for the first table and some basic integration tests for said repository. Since this particular table should not provide update functionality, I implemented update function as: where NotUpdatableException is my

How to bypass corporate firewall/proxy for Maven

I have been trying to create a new Maven Project in Eclipse (I am using Windows 10), however when the project is created, it shows: When looking at the POM.xml, it shows.. I tried deleting the .m2 folder and Right-click project -> Maven -> Update Project.. It shows me.. In one solution from another SO post, it mentions the possibility

Advertisement