Hi Rahul,
You have a typo in your command. The command you need to run is:
mvn package -DskipTests
But that is not the cause of your error. It looks like the pom file of
some plugin that you need is corrupted. Maven fetches these dependencies
from repositories on the web automatically using an HTTP connection. Do
you need to use a proxy when connecting to the internet from where you
are? If proxies are not configured correctly, that could be a reason for
the corruption. Look at
http://maven.apache.org/guides/mini/guide-proxies.html if you need to
setup a proxy.
Before you try to run maven again, please delete the .m2 folder in your
home folder.
Vinayak
On 9/21/13 12:56 PM, rahul dev parashar wrote:
> Thanks for the reply
> *
> when i run mvn, i am getting this error message*
>
> [ERROR] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
>
> You must specify at least one goal or lifecycle phase to perform build
> steps.
> The following list illustrates some commonly used build commands:
>
> mvn clean
> Deletes any build output (e.g. class files or JARs).
> mvn test
> Runs the unit tests for the project.
> mvn install
> Copies the project artifacts into your local repository.
> mvn deploy
> Copies the project artifacts into the remote repository.
> mvn site
> Creates project documentation (e.g. reports or Javadoc).
>
> Please see
>
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
> for a complete description of available lifecycle phases.
>
>
>
>
> ******When i am running "mvn package -DiskTests=true" , i am getting this
> error message
>
> *[ERROR] BUILD ERROR