Skip to content
Advertisement

Tag: maven

I want to use GraphViz in Maven project, but it fails: “class path contains multiple SLF4J providers” [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 2 months ago. Improve this question I want to use grahpViz with Maven but got this exception: ` my

Is there a way I can bundle a jre in a Launch4j .exe file?

I would like to bundle a jre folder into my generated launch4j .exe file via maven pom.xml (For some reason, I don’t want an installer, just a click to run Java application that has its own embedded jre). Is it possible? I have read through several posts and I don’t get a maven automated one. I don’t want to do

Fail to generate allure-results directory based on JUnit 4

I failed to generate the directory allure-results in my project. I have tried many methods from google(create src/test/resources/allure.properties, set <resultsDirectory>${project.build.directory}/allure-results</resultsDirectory> in pom.xml, etc.), but all setting seems not to take effect. I also failed to redirect the result to other directories. It always said “[ERROR] Directory <project_path>/target/allure-results not found”. My command to generate report is My pom.xml is like: Answer

How to run helloWorld using Maven californium – Java

I am new to Java environment, I’m trying to run a Coap server using Californium https://github.com/eclipse-californium/californium I cloned the git repo. then ran mvn clean install in the repo folder. I now want to run the hello world demo in californium/demo-apps/cf-helloworld-server/ what is the next step? I opened the folder cd demo-apps/cf-helloworld-server then ran mvn clean install mvn compile it

Using Maven to deploy release build to Artifactory results in 403 Forbidden but works for snapshots

I’m having an issue deploying my Spring Boot JARs to the company’s internal libs-release-local repository. When I run the mvn deploy:deploy-file command with the appropriate arguments, it deploys successfully from my workstation: The above repositoryId is defined in my home directory’s settings.xml. When I run the same command in GitLab CI, I get the following: Both myself and our service

AbstractGoogleClientRequest and GoogleClientRequestInitializer class not found in com.google.api-client:google-api-client-android:2.0.0

My Android app with Cloud Endpoints says these classes do not exist when using any version higher than 1.31.0 of the following import The latest version is 2.0.0 but even 1.32.1 has the issue. Anything that is 1.31.0 or lower works. This is what my code looks like (taken from this link): Is there a different way to be doing

Build war files for services when modules are modified

I have a monorepo with the following structure: My end goal here is to deploy the application’s war files to aws via GitHub actions. I am able to deploy individual services whenever there are changes in them, with the command mvn clean install -Dmaven.clean.failOnError=false -f services/foo/pom.xml. However, I am not sure how to update the services whenever a module it

Advertisement