run mvn package

34 views
Skip to first unread message

rahul dev parashar

unread,
Sep 20, 2013, 10:59:34 AM9/20/13
to hyrack...@googlegroups.com
In quick start guide, can someone tell me what is step-3 run mvn package
i have installed maven2. but what to from hyracks folder.
i am also unable to plug mvn to eclipse from eclipse new software install...it giving some error
thanks

Vinayak Borkar

unread,
Sep 20, 2013, 11:25:45 AM9/20/13
to hyrack...@googlegroups.com
Hi Rahul,


You need to run "mvn package" from the command line while in the hyracks
folder. This will build the hyracks project.

Please paste any error you get so we can help you resolve your issues.

Thanks,
Vinayak

rahul dev parashar

unread,
Sep 21, 2013, 3:56:21 PM9/21/13
to hyrack...@googlegroups.com
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
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: org.apache.maven.plugins:maven-site-plugin
POM Location: /home/rahul/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.pom

Reason: Not a v4.0.0 POM. for project org.apache.maven.plugins:maven-site-plugin at /home/rahul/.m2/repository/org/apache/maven/plugins/maven-site-plugin/2.1/maven-site-plugin-2.1.pom

Vinayak Borkar

unread,
Sep 21, 2013, 6:58:43 PM9/21/13
to hyrack...@googlegroups.com
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
Reply all
Reply to author
Forward
0 new messages