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.

First of all, as this is a corp environment I strongly suggest you
talk to the guys managing things (I assume you have a repo manager).
It should be so much easier for them to help you than us doing things
remote. Also, if you have problems with the corp environment, they
should hear about this and fix things so the next person/team doesn't
face the same issues. It might be something as simple as a wiki page.

Having said that, I would check that .m2/settings.xml in your user
profile contains the correct settings. m2e uses this, but m2e does NOT
use any global settings.xml for your Maven CLI installation
(%MAVEN_HOME%/conf/settings.xml).

If this looks ok, you could try doing a Maven -> Update Project... .
Be sure to check "Force Update of Snapshots/Releases".

/Anders

On Wed, Sep 5, 2012 at 9:35 AM,  <usha.dasika@xxxxxxxxxxxxx> wrote:
> Hi,
>
> My team is also facing the same issue. How do I identify the proxy settings in my profile.Actually the jar file is already present in the local repository.Any help.
>
> -----Original Message-----
> From: m2e-users-bounces@xxxxxxxxxxx [mailto:m2e-users-bounces@xxxxxxxxxxx] On Behalf Of Anders Hammar
> Sent: Wednesday, September 05, 2012 12:19 PM
> To: Maven Integration for Eclipse users mailing list
> Subject: Re: [m2e-users] FW: M2E build process fails through eclipse.
>
> Strange as you can build from command line. Most likely there's something in your setup. Maybe the proxy/mirror config is in the global settings.xml and not the one in your profile.
> Looking at your mail address I assume this is a corporate environment?
> You would probably get better help talking to someone there; does it work for your team mates?
>
> /Anders
>
> On Wed, Sep 5, 2012 at 8:28 AM,  <usha.dasika@xxxxxxxxxxxxx> wrote:
>> 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
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> m2e-users mailing list
> m2e-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top