pom.xml Questions

2

I switched my java version from java 8 to java 11 , and it seems that in java 11 javah is removed from JDK bin folder, before I was executing the javah command in my pom.xml like below <executi...
Toby asked 3/1, 2019 at 10:19

5

Solved

i'm building java application and suddenly i found problem with compilation: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on projec...
Barbary asked 29/12, 2011 at 12:3

1

I am trying to migrate few services from one spring boot project to another, there were ofcourse many issues but all were resolved except am stuck at this Correct the classpath of your application ...
Crispy asked 31/3, 2022 at 6:20

1

I'm currently using the Apache CXF codegen plugin (version 3.1.1) for Maven to generate sources from our client-provided WSDL. I have the wsdl2java goal specified, and I want to generate code for m...
Ayah asked 31/8, 2015 at 18:17

5

Solved

I have a Gradle project and I need all its dependencies to be transferred and used with another Maven project. In other words how can I generate (or can I generate) the pom.xml from the build.gradl...
Fragile asked 15/10, 2012 at 2:20

3

I'm with this error on third day already and I can't resolved. There is something that I can't grasp on and no matter what I do the error still persists. I'm reading a book called "Jenkins a defin...
Bounden asked 28/5, 2015 at 1:9

21

Solved

Getting unknown error at Line 1 in pom.xml in Eclipse IDE. It was working fine till yesterday, but all of a sudden after updating my project from master and after fixing merge conflicts getting "Un...
Moment asked 15/5, 2019 at 5:37

1

Solved

I made a very simple application in Spring Boot. I have used very few features offered by the framework and despite everything I have problems updating my application to the most recent versions of...
Eggbeater asked 11/3, 2022 at 23:25

2

I get a "could not process schema files" error on the <exception> line when I try to add the JAXB2 plugin... pom.xml <plugins> <!-- JAXB2 Maven Plugin --> <!-- XSD Source...
Thoroughwort asked 18/4, 2019 at 18:48

17

Solved

I am trying to build my project but I get this: Non-resolvable parent POM: Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.3.0.M3 from/to spring-snapshots (ht...
Tanika asked 20/8, 2015 at 17:50

7

Solved

How do I add the servlets API to my project's pom.xml mvnrepository.com has lots of servlet api and similarly named projects, that I don't know which is the right one. Or are all of them ok?
Godfearing asked 2/9, 2009 at 22:9

12

Solved

Using IntelliJ 12, I have a java project and I use maven with a pom.xml. My project is using java8, but it seems the default project language level has been set to 6 while importing the project. I...
Impedimenta asked 20/11, 2014 at 10:48

4

Let's say I have a custom property in my pom.xml set like this: <properties> <app>com.myProject.app</app> </properties> How can I access it in my jenkinsfile? This: d...
Cater asked 16/11, 2017 at 7:6

2

Solved

I am trying to define the directory for my schema in my pom.xml. I keep getting an error saying "Element schemaDirectory is not allowed here". I am guessing this element is not supported in this ve...
Barbican asked 28/2, 2019 at 19:43

6

Solved

We have a Maven multi module project consisting of a parent (HelloWorld) and different children (HelloWorldServices and HelloWorldPresentation) and use Jenkins to build. The error after running th...
Rameau asked 30/3, 2016 at 9:30

11

Solved

When I open a POM file and click on the "Dependency Hierarchy" tab at the bottom, it gives me the error, "Project read error". It works with other projects in the same workspace, just not with this...
Kelleykelli asked 21/6, 2011 at 14:44

3

Solved

I try to generate a .zip file with maven (mvn package) and want to have a MANIFEST file in the zip too. The jar file itself does work. I tried to generate a MANIFEST file with maven jar plugin, but...
Fontana asked 5/5, 2017 at 20:19

10

I'm pretty new to maven and I want to run my test classes using maven. I have generated the testng.xml and I have created the POM.xml file also. But when you run the mvn install, it generates this ...
Except asked 3/12, 2013 at 7:40

6

Solved

I want a single Maven module (parent POM) configured, that shows all of the child modules underneath it, but this does not seem to work correctly in Eclipse. For example, the open type (ctrl+shift+...
Mudstone asked 10/2, 2012 at 14:53

9

I wanna make web project using the Maven to import automatically all libraries that I need, so I chose "maven-archetype-webpp" after that I got this error on pom.xml file : Description Resource ...
Worrell asked 22/8, 2014 at 12:56

1

Solved

I am trying to remove all the vulnerable log4j dependencies from my maven project. I am using log4j 2.16 dependency in my pom and have added exclusions for log4j and sl4j in other dependencies. Sti...
Brady asked 24/12, 2021 at 14:15

5

Solved

I've just create a new spring boot projet and i have a probleme in the pom.xml and i have no idea how to resolve it, please some help, thanks for all. the error in the the pom.xml it in the paren...
Amianthus asked 4/4, 2018 at 15:15

6

Solved

The maven-dependency-plugin identifies what it believes to be unused dependencies when you compile by producing warnings at compile time. [WARNING] Unused declared dependencies found: [WARNING] or...
Thoughtless asked 12/4, 2016 at 12:37

4

Solved

I cannot figure this out for the life of me. Seems like not a hard issue at all. POM: Line underlined in red in the error line.
Flutist asked 26/7, 2016 at 15:21

3

Solved

I have a typical pom.xml, and want to print the groupId, artifactId and version, separated by colon. I think that XMLStarlet is the right tool for that. I tried several ways, but I always get an em...
Paapanen asked 26/1, 2012 at 21:19

© 2022 - 2024 — McMap. All rights reserved.