Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] FW: M2E build process fails through eclipse.

Hi,

When I select Run As -> Maven install it gives me the below error.
 [ERROR] Plugin org.apache.maven.plugins:maven-surefire-plugin:2.10 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-surefire-plugin:jar:2.10: The repository system is offline but the artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.10 is not available in the local repository. -> [Help 1]

-----Original Message-----
From: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of Anders Hammar
Sent: Wednesday, September 05, 2012 11:54 AM
To: Maven Integration for Eclipse users mailing list
Subject: Re: [m2e-users] FW: M2E build process fails through eclipse.

I just right-click on the project, select "Run As" -> "Maven install"
or whatever you want. Normally works fine, but there are a few Maven plugins that don't work well here. maven-invoker-plugin is one. So if that one is bound to the lifecycle you'll get some error.
If you want to do "mvn clean install" you can create a customized run configuration as well.

/Anders

On Wed, Sep 5, 2012 at 7:36 AM,  <usha.dasika@xxxxxxxxxxxxx> wrote:
> Hi,
>
>
>
> I am able to clean,build and create a war file using command prompt
> using maven however through eclipse it fails with the following error.
>
>
>
> [ERROR] No goals have been specified for this build. You must specify
> a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal>
> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>.
> Available lifecycle phases are: validate, initialize,
> generate-sources, process-sources, generate-resources,
> process-resources, compile, process-classes, generate-test-sources,
> process-test-sources, generate-test-resources, process-test-resources,
> test-compile, process-test-classes, test, prepare-package, package,
> pre-integration-test, integration-test, post-integration-test, verify,
> install, deploy, pre-site, site, post-site, site-deploy, pre-clean,
> clean, post-clean. -> [Help 1]
>
>
>
>
>
> Can you please help me on the same. It is urgent.Appreciate your quick
> reply.
>
>
>
> Regards,
>
> Usha
>
>
>
>
> ________________________________
> Subject to local law, communications with Accenture and its affiliates
> including telephone calls and emails (including content), may be
> monitored by our systems for the purposes of security and the
> assessment of internal compliance with Accenture policy.
> ______________________________________________________________________
> ________________
>
> www.accenture.com
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users
>
_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com



Back to the top