Questions tagged as 'maven'

1
answer

JPA, Hibernate, Spring MVC, Maven - Definition

I have many doubts in definitions! My goal is to build an architecture of a system, but the definitions of JPA, HIBERNATE, SPRING MVC, MAVEN, are obscure. JPA: Nothing is more than a specification (ok) Hibernate: Persistence Provider,...
asked by 24.06.2016 / 01:57
1
answer

How to override variable defined in the POM with specific value at the time of mvn execution?

In an environment with multiple Web Container settings we sometimes need to correctly point to the application deploy directory that may be in different directories depending on the Operating System used and the package manager (apt-get on Ubunt...
asked by 09.03.2014 / 19:04
0
answers

MojoFailureException caused by charsetName in Maven Archetype [closed]

A WAR project that I'm trying to use base to run mvn archetype:create-from-project causes the following exception stack after trying to read one of the .java files: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-ar...
asked by 24.06.2016 / 19:40
2
answers

GET request is not answered correctly by the backend

The project is an Angular 6 front end, which connects to a Java back-end for communication with a SQL Server BD. The server that receives the file .war , containing the back as the front, is Tomcat 8.5.32. The structure for logging i...
asked by 17.08.2018 / 18:19
3
answers

Is it possible to test only specific classes?

I have two test classes: class A { @Test public void fazAlgo(){ // ... } } class B { @Test public void fazAlgoMesmo(){ // ... } } My tests are taking a long time because all classes are being tested. Ther...
asked by 09.12.2015 / 19:42
2
answers

Maven how to set the JDK version?

Problem: When I create a project maven the project always had the version JDK 1.5 , if I change the JDK version in the IDE when doing a Maven > Project Update it returns to JDK 1.5 . Is the setting.xml...
asked by 18.02.2014 / 20:54
1
answer

Apache Maven Scopes Usage Scenarios

The question is about the different values that can be assigned to the <scope> property of Apache Maven dependencies, and what criteria should I set for using each of them. Apache Maven has the following scopes: compile , impor...
asked by 29.06.2014 / 06:38
3
answers

Is there any way to run batch files during the build of a Maven project?

I have a .bat file that performs some prerequisites during the build of my Maven project. I want to run this .bat file automatically when I build the project I developed Is there any way to accomplish this task with Maven?     
asked by 18.02.2014 / 15:10
2
answers

Maven - Configuring MainClass

Problem: When I create a JAR by eclipse it works quietly, but I'm trying to take advantage of the JAR that Maven is creating and I noticed that it does not execute, because my main class is not in Manife...
asked by 05.03.2014 / 19:26
1
answer

Failed to execute goal org.apache.maven.plugins: maven-compiler-plugin: 2.5.1: compile (default-compile)

When I click on the install in any of my three MVC parts, it references the error quoted. ================================================================================ Scanning for projects... [INFO] [INFO] Using the builder org.ap...
asked by 19.05.2015 / 14:45