Questions tagged [maven]
Apache Maven is a build automation and project management tool used primarily for Java projects. This tag is for questions that don't relate to a specific Maven version. Use the gradle tag instead for questions relating to Gradle.
maven
34,172
questions with no upvoted or accepted answers
27
votes
3
answers
3k
views
eclipse (kepler): maven plugin (m2e, 1.4.0):
I just downloaded and installed the "Eclipse IDE for Java EE Developers", a package solution coming with - among other plugins - the m2e plugin.
When trying to rebuild the index for the maven central ...
17
votes
3
answers
3k
views
Problem with compilation for maven project
I have two maven projects - a library and a small program. They are in different folders and use different pom.xml and the library's jar files are included in the small program's pom.xml using the ...
17
votes
2
answers
4k
views
How to execute maven plugin _after_ all module builds finish
Specifically I am trying to run maven-javadoc-plugin but whenever I change the version numbers on the parent/aggregator pom and all of the children, the first time I run the build it fails because ...
15
votes
0
answers
2k
views
What is the proper way to use openapi-generator for generating ktor server stubs
When trying to generate server-side stubs for ktor from openapi, the output to me does not really look very usable.
I set up an example project on Github, where the setup can be reviewed. As I need ...
15
votes
1
answer
832
views
Cordova Android build broken after gradle dependencies update issue
JAVA_HOME=C:\Program Files\Java\jdk1.8.0_111
TargetSDKVersion:25
Cordova Android build broken after gradle dependencies update: Execution failed for task ‘:processDebugResources’. > com.android.ide....
14
votes
1
answer
2k
views
How to set formatting setting for Maven POM Editor in Eclipse?
When I open up pom.xml with Maven POM Editor and try to format using default shortcut ctrl + shift + f I expect the file to be formatted as any other .xml with rules that are configured in Preferences ...
14
votes
2
answers
3k
views
Cache busting mechanism for Java/SpringMVC/Maven project
A little background about the app that I'm working in: Spring MVC, Java EE Web application, Maven.
Basically, what I'm looking for is a mechanism to refresh all JS and CSS files upon each deployment ...
12
votes
2
answers
3k
views
Google Cloud Artifact Registry for Gradle plugins
I have successfully published to Artifact Registry, and I can use artifacts from there in "normal" use: dependencies { implementation("mygroup:myartifact:myversion") }.
My issue is ...
12
votes
0
answers
4k
views
Gradle --dry-run equivalent in maven
Is there an equivalent to ./gradlew build --dry-run which will show me all the tasks that will be executed when I run ./gradlew build?
12
votes
1
answer
875
views
How do I get readyapi (formerly soapui) to respect the values I specify in pom.xml?
My pom.xml looks like this
<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 ...
12
votes
0
answers
3k
views
Merging plugin configuration from profile
I have a configuration entry for exec-maven-plugin
<configuration>
<executable>compass</executable>
<arguments&...
12
votes
2
answers
2k
views
Cannot find the class from library project's jar when maven build my project
I have downloaded an 3rd party Android library project, the project contains no java class file but an jar file under libs/ folder:
libs/
- CustomService.jar
res/
-…
pom.xml
This library ...
12
votes
1
answer
4k
views
Does using activeByDefault go against maven best practices?
I wish to find out whether Never use <activeByDefault> is a maven best practice?
The advice here around this seems pretty sound, but do you think it's absolute or if there are some cases in which ...
12
votes
1
answer
871
views
Intellij code inspection maven plugin
It's actully two questions in one:
1. Is IntelliJ code analyzer open source?
2. Is there a maven plugin to run it during the build?
11
votes
1
answer
8k
views
Getting javax.validation.NoProviderFoundException exception even after adding the dependencies
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.com/...