Skip to content
Advertisement

Tag: maven

multi-pom in intellijIDEA. Error adding module to project: null

I wanted to make a multi-pom project in Intellij (2020.3.4). In one Maven project, I right-click ->New -> Module -> Maven. select parent to “my project”. However, even if parent is not specified, I get the error: Error adding module to project: null. (at the same time, it adds a regular folder with the module name and an empty pom.xml

Could not find maven-metadata.xml in local during release

I have a local Eclipse RCP project on my Windows machine. One of my remote repositories is used for development and the other for staging during release. The tools used during build and release are Maven, Git, SSH and GitHub. I can build and run tests without any issues: but when I perform a release prepare: I end up with

Maven: library module

I’m working on a project with a library module that has about 10 submodules. For the application project the developer asked us to find a way so that they can import only one dependency, instead of the requested 10. Let’s use as an example the dependency of log4j: I need only to include one not all the sub-dependencies. How can

Download multiple artifacts using com.googlecode.maven-download-plugin

I’d like to download several artifacts from a Maven repository using download-maven-plugin I can download one artifact fine, but when I add a second it is ignored: I think the problem is that the configuration should be specified for each execution and the plugin declared only once, but this doesn’t compile: Failed to execute goal com.googlecode.maven-download-plugin:download-maven-plugin:1.6.8:artifact (default-cli) on project libdownloader:

How can i set browser language in Selenide using Java?

Hello guys please how can i do it?When i run not headless mode browser is in english and everything works fine, but when i run headless mode language is changed to my native language. I am using this for headless mode. Answer Selenide Configuration class contains public static MutableCapabilities browserCapabilities which used within the driver startup if provided. For Chrome:

Getting Below Jackson exception while building the project

Getting Below build exception while migrating the Springboot project from spring 1.1.1 release to 2.3.12 release . Please help here. Answer This issue seems to be related to a version mismatch. This method was removed some time ago. There is a closed issue for this on swagger plug-in https://github.com/swagger-api/swagger-core/issues/3554 Migrating this difference in versions, I think spring is now shipped

MapStruct dependency scope in a Maven project

MapStruct generates code at compile-time and it should not require any runtime dependencies: How is MapStruct different from other bean mapping tools? Unlike most other bean mapping tools, MapStruct doesn’t work at runtime but is a compile-time code generator. Generating mapping code at build time has many advantages: Excellent performance, as no reflection or byte code generation at runtime is

Advertisement