pom.xml Questions
1
I have spent too many hours on Google and on the Pentaho forums looking for a simple example for what I would think would be common use case. I am asking fellow SE folks to help answer this questio...
1
Solved
First of all, probably my question is not well asked or is too easy or too simple but I'm a little bit novice and Vaadin and I can't figure what is happening.
When I try to update the maven project...
Walhalla asked 26/1, 2023 at 12:7
1
I am trying to build my office project where I've upgraded from java 11 to 17.
I've updated my maven according to the compatible java version and after getting a a lot of help on the rest of the er...
Shipshape asked 11/1, 2023 at 7:32
5
Solved
What is the correct way of specifying Java 11 as the version to be used in Spring (or Spring Boot) pom.xml file?
I.e., what value do I need to put in the java.version property of the pom?
For Jav...
Gamut asked 31/1, 2019 at 18:44
5
Solved
This is a snippet of my pom file.
...
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<ve...
Goffer asked 7/5, 2012 at 13:43
4
Solved
E.g.:
<parent>
<groupId>mycompany.trade.com</groupId>
<artifactId>mycompany.trade.</artifactId>
<version>1.1.1.0-SNAPSHOT</version>
</parent>
D...
Leash asked 6/11, 2011 at 10:28
3
Solved
Hi I am not able to resolve the error while using rest assured 4.1.1. library in my Eclipse IDE.
I have added the rest assured library in my pom.xml file still the error is not resolved.
I tried r...
Corrida asked 23/10, 2019 at 4:53
6
I added a Maven dependency to my project and my project compiles locally, while it doesn't compile on server. It can not resolve the newly added dependency.
This is my pom.xml file:
<reposi...
Adhere asked 3/2, 2015 at 10:6
4
I have a question about Maven, the maven-release-plugin, git integration, pom.xml's, and having pom.xml's in subdirectories of the repo's local copy rather than in the root.
Here's the setup:
I ...
Futurity asked 21/5, 2012 at 23:58
15
Solved
I am trying to build a Hudson plugin I've modified and it requires jdk1.6. This is fine, but I don't see how I can tell maven where the different jdk is. I've found few mentions on the internet but...
1
We want to publish a Maven POM that is useful to serve as the parent POM for various projects. Some of the projects that use the POM will be open source, but some will not be. To designate our pare...
12
I am following the tutorial at spring.io to build a spring app using spring boot.
I can get the program to run perfectly on one computer.
When I try on a different computer I get the following err...
Labrie asked 17/10, 2016 at 12:20
3
Solved
I have tried to generate effective pom on sample application using mvn help:effective-pom command.
http://books.sonatype.com/mvnref-book/reference/pom-relationships-sect-pom.html
at this article i...
4
Solved
I've a parent-pom and a integration-pom:
integration pom
<dependencies>
<dependency>
<groupId>org.json</groupId>
<artifactId>json</artifactId>
</dependen...
4
Solved
As the title suggests, I'm trying to generate an HTML report of the JUnit results when my maven project executes. I was told to check out maven-surefire-report plugin by another person and it looks...
Aspic asked 27/9, 2016 at 16:47
3
I would like to execute git describe as part of a maven build and use the resulting output in the manifest for building a .jar package.
I know how to do this in ant via the <exec> task with ...
Nursery asked 11/12, 2015 at 21:26
10
Solved
I use maven 3.0.3 and have tried to generate pom for third-party jar like this:
mvn install:install-file -Dfile=cobra.jar -DgroupId=com.cobra
-DartifactId=cobra -Dversion=0.98.4 -Dpackaging=jar...
12
I'm trying to compile my maven project using Java 10 but I'm having trouble. In my IDE (IntelliJ IDEA) everything compiles and runs just fine under Java 10. I installed the latest maven version 3.5...
5
I just downloaded Intellij on a laptop and I imported a Maven project and the problem is that Intellij do not found any dependency in pom.xml. For example if I try to import hibernate-core or any o...
Pheidippides asked 16/8, 2019 at 7:26
9
I am using maven 3 to run the application but I am getting the following error:
[ERROR] The build could not read 1 project -> [Help 1]
org.apache.maven.project.ProjectBuildingException: Some pr...
Addition asked 6/4, 2016 at 12:9
5
Solved
I am getting this exception on running an Appium test. The test fails at PageFactory with the exception below.
My POM:
<?xml version="1.0" encoding="UTF-8"?>
<project x...
Ariannaarianne asked 9/4, 2021 at 11:56
1
In the below code FieldSetter.SetField was used for the test case but now as I have up upgraded to mockito-core 4.3.1. This no longer works. Can you please suggest to me what can I replace it with?...
Davis asked 9/3, 2022 at 6:3
15
Solved
What is the difference between dependencyManagement and dependencies?
I have seen the docs at Apache Maven web site.
It seems that a dependency defined under the dependencyManagement can be used in...
Anarthria asked 12/4, 2010 at 2:43
16
Solved
Im' getting an error when deploying an artifact in my own repository in a Nexus server: "Failed to deploy artifacts: Could not transfer artifact" "Failed to transfer file http:///my_artifact. Retur...
Poundfoolish asked 6/9, 2013 at 3:38
4
When building a jar file with maven, it will create a manifest file in META-INF/MANIFEST.MF. Its contents currently are:
Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Built-By: <my u...
Prophetic asked 2/8, 2014 at 18:47
© 2022 - 2024 — McMap. All rights reserved.