run POM with Maven

I am running pom through maven and am getting the following error. Pom looks okay. It built successfully when run with testng. Could someone help me with this. T E S T S ------------------------------------------------------- Running TestSuite Result

Importing internal packages into OSGI

I have recently begun converting existing maven projects to OSGI bundles and am confused about what all I need to list in the <Import-Packages> tags in the POM file. Initially I put an asterisk to see everything OSGI thought is need and was surprise

Error after updating my hibernation 3 to 4

In the attempt to add Hibernate Search feature to my existing project, I edited my pom.xml file, specifically changed hibernate version from 3 to 4. And the following error arised ERROR: org.springframework.web.context.ContextLoader - Context initial

Pass a property by Maven from Jenkins to pom.xml

I was searching over the web for a solution to my problem and I almost tried everything I found but I still didn't get the right one. Here is my problem shortly : In my pom.xml file I have a user property in properties section like this : <properties

Webdriver - Page Object Model and Maven Can not Find Class

The first my directory look like: +- pom.xml +- src/ +- test/ +- java/ +- dms.config/ +- config.java +- dms.util/ +- generatedata.java +- dms.pages/ +- LoginPage.java +- dms.testcase/ +- LoginTest.java My testng.xml look like: <?xml version="1.0&q

How can I build my pom Maven in Eclipse?

I have a project that uses UI4J, and instead of using external jar I decided to go for maven, I am going to distribute it via git, so I guessed that this is a much better approach. This is my pom.xml: <project xmlns="http://maven.apache.org/POM/4.

Warnings Running a Maven Project (Spring MVC)

I have the following warnings when I run Maven project with goals of jetty:run for Spring MVC like below: [WARNING] Failed startup of context org.mortbay.jetty.plugin.Jetty6PluginWebAppContext@7dd712e8{/dfaMusicStore,C:\Users\Tony Do\Desktop\Eclipse\

maven submodule and test the parent

I am a maven newbie. My test project depends on module project (extended-java-client). I need to run "mvn clean package" on the module path which gives me extended-java-client-Jar. Then, I need to run "mvn clean install test" to run th

Jersey Maven configuration

I am trying to setup a Jersey RESTful service, the problem is that I am getting the following error when trying to do GET request to the following API: http://localhost:8080/GroupAppServer/api/status: com.sun.jersey.api.container.ContainerException:

How to add the Maven dependency jar file from the lib folder

I am trying to add a jar file to the Maven dependency in my project. The settings.xml is configured to set the repository to a public repository. But this particular jar is not present in that repo. As i have the jar in my lib folder, how can i confi

Maven project aggregation and variables

Agregate Project 1: <groupId>com.mycompany</groupId> <artifactId>builder</artifactId> <version>1.0.0</version> <packaging>pom</packaging> <modules> <module>../module-1</module> <module&g

How to run multiple cmd commands using maven?

I want to run multiple CMD commands in maven using single pom.xml. May I know how can I do that? for example <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>1.2.1</ve

How to configure the TestNG test method group in pom.xml

I'm able to run all my tests but i don't know how to configure group in pom.xml and run the test group using maven. I'm using TestNG frame work but nothing added like testing.xml in pom.xml. can anyone please help me to make group in pom.xml using te

GWT Maven: The 'xxx' module may need to be (re) compiled

Problem: Keep getting "module 'xxx' may need to be (re)compiled". Steps: Importing a sample GWT-Maven project into eclipse ("MobileWebApp" - from the GWT SDK). GWT|compile the project. Running in production mode (without the codesvr pa

.m2, settings.xml in Ubuntu

This question already has an answer here: Where is Maven Installed on Ubuntu 6 answers in the windows environment you will have .m2 folder in C:\Users\user_name location and you will copy your settings.xml file to it in order to setup your proxy sett

Modern models Maven Pom

Every time I make a new proper project using Maven hosted on Github I have to go look at either one of my own old projects and copy the pom file or I go find a project that I think does a good job and copy there POM file. Then I have to go search and

Java Maven MOJO - Get POM Project Information

I am working on a maven plugin. I seem to have a hard time figuring out, what would be a good way to get POM information from project in which you execute the MOJO ? For instance if I execute my mojo in another maven project I would like to get proje

Depends on the module in maven

I have a following tree structure of maven project: Root/pom.xml Root/moduleA/pom.xml Root/moduleA/src/main/java/moduleA/MyClass.java and i want to use a class moduleA.MyClass in Root pom.xml via exec-maven plugin. The problem is: if i define ModuleA

Maven and ibiblio

I searched a lot in apache documentation and ibiblio.org and I could not find a decent straight answer. My questions: When I download a jar using maven dependency (setup in pom), how can I be sure that the file does not change on the remote repositor

Adding the POM dependency using m2eclipse, impossible to solve

I am trying to add Hector dependencies to my POM. My IDE is Eclipse, and I am also using m2eclipse. Adding dependencies of JAR type is not a problem, but this dependency is of type POM. I have tried almost everything usual including cleaning, buildin

search for updates Maven outbuildings / rest

this far i've been working on projects without using any build manager, i've used Maven just once before and found it pretty useful, so i'd like to start implementing it on my new projects. I'm starting a Web application that uses Hibernate, JPA, Str