Skip to main content

Questions tagged [maven]

Maven is a plug-in based software project management tool which core features are automation of your software build, dependency management, and generating of reports and documentation.

1 vote
2 answers
351 views

I'm confused how to structure my pom.xml when both Parent and Child modules are being developed simultaneously

Let's say I have the following maven projects. UtilsLibrary -- A maven project containing utils. AppA -- A maven project that depends on UtilsLibrary. AppB -- A maven project that depends on ...
davidalayachew's user avatar
0 votes
1 answer
86 views

Versioning for a set of plugin libraries that supports foundational concepts within various toolsets

I have a foundational metamodel which I have implemented using Java interfaces which I can easily version using major.minor.bugfix. I also have plugins that utilize these libraries to implement these ...
Proud Papa's user avatar
-2 votes
1 answer
201 views

Spring/Java multiple shared modules for different databases

I'm implementing a software based on the micro-service architecture using Spring/Java. Each micro-service connects to either a PostgreSQL or a MongoDB database. Is it standard practice to have a ...
Amirhosein Al's user avatar
2 votes
2 answers
278 views

What's the value in exposing the dependencies you used for your tests?

In Java, there's the fairly ubiquitous notion of a POM file which provides the dependencies of your modules. For example https://repo1.maven.org/maven2/org/typelevel/cats-core_2.13/2.12.0/cats-core_2....
daniel purdew's user avatar
1 vote
0 answers
141 views

Package-by-feature within maven multi module package-by-layer project

As a consultant working for multiple companies that are using maven multi modules I have made the same discovery with all of them that I find strange. Lets say they want to build a webapp for a ...
olimtrail's user avatar
0 votes
1 answer
2k views

Handling OpenAPI Generated code in a Project's repository

In my company, we are would like to recommend OpenAPI and using the design first approach to API development. We would also like to use the OpenAPI Generator to generated server stubs and DTOs from ...
Nullbeans's user avatar
  • 139
-1 votes
1 answer
62 views

How to use versions-maven-plugin with shared contracts?

Context: We have Java maven Multi Microservices Project. The structure for each microservice is a contracts package and a service package. When we update a version of a specific microservice the ...
shanif's user avatar
  • 101
1 vote
1 answer
370 views

Gradle/Maven project splitting: interfaces and implementation

Assume we have a single large JVM project (the example is in Kotlin), containing code. As part of a refactoring effort, we are decoupling pieces of the code by splitting the code into multiple modules,...
Hidde's user avatar
  • 170
1 vote
1 answer
373 views

Extract common code into own module

I'm finding myself in a situation where I need to define common behaviour and implement it depending on the environment (minecraft server or javafx runtime). The simple graph below describes my idea. ...
wand555's user avatar
  • 21
1 vote
2 answers
432 views

Standard Maven approach for large, non-Java dependencies needed for build?

I'm interested in modernizing an existing codebase for a commercial software package written in Java, in part by moving it to Maven. The primary motivator here is to shrink our git repo, which is ...
AgentOddball's user avatar
1 vote
4 answers
5k views

Should test resource files be stored inside the Java class source directories?

In a TDD (Test-Driven Development)-based Java project built by maven, lots of classes needs to be tested with text-based input files such as .csv. At the beginning, I put them into the src/test/...
Rui's user avatar
  • 1,935
1 vote
1 answer
1k views

What is the better way to save swagger code gen plugin generated model classes in spring boot maven application?

I am working on a spring boot maven project in Eclipse IDE. And here is my pom.xml. <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/...
happytohelp's user avatar
1 vote
1 answer
5k views

May I and should I include my dependencies in the jar i publish online?

I'm developing a java project that I'd eventually like to publish and make open source. To make a executable jar file I use the maven-assembly-plugin. This includes my dependencies in the jar, which ...
Jojomatik's user avatar
1 vote
0 answers
98 views

Maven dependencies with versions [0.0.0,999.999.999)

I have this situation where we have a couple of maven repositories. Some are frontend..ish (JSP, Spring Controllers etc.) meant to be deployed as war files and others are for the hibernate mappings ...
Shell Code's user avatar
-4 votes
1 answer
128 views

How to setup $JAVA_HOME, because Maven is 1.6, and you are using Java 1.7 or higher?

I have a configuration problem, from this code, https://github.com/plum-umd/java-sketch. Here, I must set $JAVA_HOME, because: "One possible issue you may encounter while building sketch-frontend ...
tom's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
8