Questions tagged as 'maven'

3
answers

How to generate an executable .jar using Maven?

Is it necessary to do some extra configuration to generate an executable .jar by Maven? As I've never used this technology in development desktop I'm a bit lost. When I build the project (the logs show that I built it successfully) and try...
asked by 11.06.2015 / 23:20
3
answers

Maven Module vs Java 9 Module

In addition to the fact that Maven works with jars and Java 9 with "modules", what is the difference between the modularization system of the two? Why would I fail to modularize my systems with Maven to modularize with Java 9?     
asked by 04.08.2017 / 16:20
1
answer

What is Maven for?

I often find large projects that have the pom.xml file, but I never understood the utility of it, I just discovered that it is something related to maven. Anyway: What is Maven for? What is the pom.xml file for?
asked by 20.04.2015 / 05:19
1
answer

Automatic Deploy after Git Push

I use OpenShift daily to create and host applications in the clouds. One interesting thing I notice is the deploy process of the applications hosted on this platform. Deploy is preceded by the git push command. A single, simple comman...
asked by 25.08.2015 / 16:45
2
answers

Creating JAR with Dependencies in Maven

I want to use Maven to generate the JAR with its dependencies in .jar format, the solutions I found are not valid. Eclipse has three ways to generate an executable JAR. Extract required libraries into gerenated JAR Package...
asked by 06.03.2014 / 13:08
2
answers

Build build in the Maven project

I would like to generate a Java build using Maven, where the generated .jar file name was the same as the last revision number of the SVN repository.    Example: My last generated build has the following numbering:   1.0.0.51. And during the...
asked by 22.01.2014 / 21:08
1
answer

What would MOJO be in Maven?

I use Maven awhile together with other tools, and I always see something related to Mojo in>, what would really be a Mojo ?     
asked by 17.07.2017 / 21:28
1
answer

Is there any property in Maven to access the directory value of "resources"?

   Based on the question link I know I can use ${project.build.sourceDirectory} to access my source files directory. If I want to access the resource files directory, the resources , how do I? ${project.build.resources.resource...
asked by 26.06.2018 / 11:25
2
answers

Which tool to use to generate releases in Java?

I am developing my first project in Java, the application is an API using several libraries, among them: Jetty, Hibernate, HttpClient, JasperReport ... In this project I use the Maven framework, I would like to know which tools to use to gene...
asked by 13.12.2013 / 12:36
1
answer

Control module version with Maven

I have a Java multi-module project with Maven. I currently control the version of each module manually by editing the <version> element of the pom.xml of each module that undergoes updates. I believe this is not the correct /...
asked by 14.01.2014 / 17:28