maven Questions
3
When opening the pom.xml in Eclipse using the "Maven Pom Editor" and switching to the tab pom.xml I cannot format the file.
Hitting Ctrl+Shift+F in an totally non-formatted file does not do anytin...
3
Solved
Typically, a maven built jar artifact will have it's pom included under META-INF. I recently noticed that the Spring jars don't have this. So, that causes me to wonder about the purpose of that pom...
4
Solved
I'm trying to integrate my maven project with SonarQube but when I try to run
mvn sonar:sonar -Dsonar.host.url=http://localhost:9000 -X
I'm getting this error
[DEBUG] 13:09:55.647 Create: /User...
Basrhin asked 4/12, 2019 at 6:0
4
I'm trying to publish artifacts to AWS CodeArtifact using sbt, but I'm having some troubles;
Given an sbt project, running the command sbt publish the package is uploaded to the repo but It remains...
Unscathed asked 31/10, 2020 at 10:17
3
Solved
(Rephrasing the question to give a better understanding)
To elaborate on my issue which wasn't detailed enough, these are the following cases I encountered:
projects: A and B. The root pom of A is ...
2
Solved
I want to taste the newest Java 19 feature, also do not change the default Java Home( Java 17).
So I create a toolchains.xml in the ~/.m2, and define a jdk type toolchain like this.
<?xml versio...
Catercorner asked 23/9, 2022 at 16:20
3
I want to run a HelloWorld JavaFX 11 application using Maven from IntelliJ IDEA using a run/debug configuration to be able to debug the application.
I've created a Maven project in IntelliJ IDEA w...
Unstop asked 9/10, 2018 at 15:46
4
Solved
I'm a bit lost about this, because it usually works out of the box. I'm making a small java spring-boot rest api, and to get a nice API desc and test page, I use Swagger. Except this time it doesn'...
Tullius asked 30/3, 2021 at 8:40
3
I am currently developping a Java server app that connect to another server with SOAP, retrieve some data and store it into a DB.
I work on Eclipse Photon, Maven project.
My Soap client worked per...
5
I've started getting a rather cryptic error in one of my tests. Surefire report is as follows:
-------------------------------------------------------------------------------
Test set: de.systel.st...
Lenticularis asked 26/6, 2020 at 8:18
3
Solved
I am trying my hands on the Akka Pi java tutorials
I am trying to creaate a maven project as stated in the tutorial
but any time I enter the command to create a maven project I get an error.
Be...
9
Solved
I am trying to upload an Application on the Google Play store. I am building the .apk and signing it using Maven. I have used maven-jarsigner-plugin to sign the .apk file. I am using the key that I...
Nicolettenicoli asked 21/5, 2013 at 23:42
7
How do i deploy only the sub-modules of the project?
i have a project as;
ProjectA
- Submodule B
- Submodlue C
- Submodule D
The submodules are packaged as jar and is deployed to maven repo....
Fecundity asked 16/9, 2011 at 14:59
3
Solved
I'm getting this error when attempting to start a bundle:
org.osgi.framework.BundleException:
Unable to resolve com.example.test [7](R 7.0):
missing requirement [com.example.test [7](R 7.0)] osg...
Marcellusmarcelo asked 3/1, 2019 at 10:47
4
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/ma...
4
Solved
As you know, starting from 15 January 2020 Maven central repo requires HTTPS-only access. One of our projects is using Ant and Maven Ant Tasks (dependency management only). Yes, I know it's depreca...
3
I'm migrating an app to use ehcache 3.10.0 but getting a build error: Could not find artifact javax.xml.bind:jaxb-api:pom:2.3.0-b161121.1438 in central (https://repo1.maven.org/maven2)
I see the fi...
5
Solved
I am working through examples in Restful Java with JAX-RS by Bill Burke. I'm using intellij and created a Maven project to make a "Hello World" web service. I understand that JAX-RS is a ...
8
For some of my modules Intellij IDEA is not importing the dependencies and plugins. Just the
live cycle is imported.
The poms are valid as I compile on the command line. I have deleted the modul...
Cragsman asked 18/3, 2015 at 13:45
2
I am new to Java and maven. I might be missing something obvious, but I am not able to figure it out.
I was trying to add javax validations to my project following the link :
https://www.baeldung.c...
Swaziland asked 29/11, 2020 at 15:16
3
When I execute mvn install -DskipTests Maven gives me an error related to virtual threads
[ERROR] /E:/mycode/javaproject/rms/rms-parse/src/main/java/com/example/config/AsyncConfig.java:[19,49] 鎵句笉鍒...
Guerrero asked 15/10, 2023 at 3:44
3
Currently working on a work training on Maven. I've never used it before and the training is very limited. One of the assessments is asking me to do the following using command line.
Create a new...
3
We have a system (Power TAC) that has been building successfully for several years on multiple versions of Linux, Windows, and MacOS. Under Pop!_OS 22.04 (Ubuntu 22.04 with a slightly different app...
Clymer asked 4/6, 2022 at 1:31
2
I have maven project.
My ear archive consist from jar and war. And he builds without error.
Problems began when i try to add .sar package to project. And he more not building. He throws exception.
...
6
Solved
I try to compile maven web project with
<dependency>
<groupId>org.springframework.ws</groupId>
<artifactId>spring-ws</artifactId>
<version>3.0.5-FINAL</v...
Nanci asked 28/11, 2011 at 11:56
1 Next >
© 2022 - 2024 — McMap. All rights reserved.