Questions tagged as 'maven'

1
answer

org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 24; Attribute "singleton" must be declared for element type "bean"

I am updating an (old) project for newer libraries, like Spring (from version 3.2.4.FINAL to version 4.3.11.FINAL). One of the errors that appears in Tomcat 6 is: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Config...
asked by 17.11.2016 / 14:23
2
answers

Error making Build at Jenkins

I have a problem setting up the build in jenkins follows errors: This happens in the configuration of the job "in the build step", where I choose the maven version and then I need to configure the goals, but this step I can not solve. Foll...
asked by 25.07.2014 / 15:36
1
answer

Error compiling a modular maven project with modular java 10

I am adapting the exercise of the book "Java 9 - Interactive, reactive and modularized - author Rodrigo Turini" for a modular maven project with modular java 10. But this is giving error when compiling the second module (http) msartor@msartor-...
asked by 20.05.2018 / 21:37
1
answer

Maven - How to add a directory in build?

I'm having trouble adding a directory from my project into the * .jar file. I've added the following code to my pom.xml : <resource> <directory>migration/</directory> <i...
asked by 12.03.2018 / 21:09
1
answer

'mvn clean compile package' run the phase compiler 2 times?

Once I run mvn clean package I know that all phases of maven's lifecycle default prior to package (compile, test, package) , So I wonder is: mvn clean compile package mvn clean compile package The reason for the question is because...
asked by 03.08.2018 / 21:57
1
answer

Spring Loaded is not working

I have a Spring 3.1.4 project I'm setting the spring-loaded below the image below: Tomcat runs right but spring-loaded is not working any changes I have to raise tomcat again.     
asked by 22.03.2016 / 17:31
2
answers

Problem creating Maven project in Eclipse Mars

I was using Maven in Eclipse Luna normally, I tried to test the new version of Eclipse and when I create a project Maven some exceptions are thrown:    Description Resource Path Location Type Failure to transfer   org.apa...
asked by 11.08.2015 / 14:16
1
answer

I can not include the artifacts by Maven

I have little experience with Java programming and I'm having a hard time including libraries by Maven, and I do not know if it's really necessary to create a local Maven repository on my computer, as shown in the video below: link I'm f...
asked by 13.08.2014 / 13:45
1
answer

Spring Framework in modular design by Apache Maven

I created a modular web project using Apache Maven with the following structure: proj-build |--- proj-utils |--- proj-persistence |--- proj-services |--- proj-web '--- proj-ear Description proj-build : This groups the modules only to...
asked by 29.06.2014 / 07:45
1
answer

Put local Maven project as dependency on Gradle project

I have this Maven project that has all application domain classes and logic. From there I created an external Gradle test project where I do system tests with Selenium WebDriver. To not need to add all the domain classes in my gradle project,...
asked by 13.06.2018 / 21:08