May be question is asked before but i found very strange kind of error. When I run mvn –version command from bin its gives the version and the other information. However when I run outside bin it gives exception. Both the result mention below Also i set JAVA_HOME in user variable and M2_HOME, M2 in system environment variable. The output
Tag: maven-3
Invalid packaging for parent pom.xml, must be “pom” but is “ear”
Could anybody suggest me an solution with the following exception. I am going to create a multi-module project. Parent Project name is LOGICBACKEND child project name is DBAccess I need to have ear file of LOGICBACKEND which should contain DBAccess prjoects jar file. I am getting following exception when i run mav clean install -P Developer. This is how part
maven error: package org.junit does not exist
I’m trying to create the javadoc with maven and it fails. It also fails when doing the verify. I get the following error: In my pom.xml file I have the following lines: and my local repository contains the junit jar file: The code is fine because in my laptop, which I have no access now, I van run: with no
Maven error: Not authorized, ReasonPhrase:Unauthorized
I checked out my code from the Nexus repository repository. I changed the password for my account and set it correctly inside my settings.xml file. While executing mvn install clean I get the error saying Not authorized, ReasonPhrase:Unauthorized when it tries to download files from that repository. Any idea how to solve this error? I am using Windows 7 with