Henri, "proxy in Internet Preferences" is something that only used by the WTP tools and nothing else. Unfortunately there is no global proxy settings in Eclipse, so we have to use settings from Maven.

 regards,
 Eugene


Henri Gomez wrote:
Thanks Eugene,

The problem was with my proxy support.

In Eclipse, I set the proxy in Internet Preferences, but when maven2
is called for tasks, it didn't use the proxy settings from Eclipse
(may be it could be added in command line) and as such failed.

Adding the required proxy info in ~/.m2/settings.xml solve the problem.

Thanks for you help

2007/2/6, Eugene Kuleshov <[EMAIL PROTECTED]>:

  It is not really a requirement. But it helps to investigate issues, so
you could verify if your build runs from the command line.

  regards,
  Eugene


Ben Tatham wrote:
> Yes, you must install maven2 as well.
> http://maven.apache.org/download.html
>
> -Ben
>
> Henri Gomez wrote:
>> Hi to all,
>>
>> I'm evaluating m2eclipse with Eclipse 3.2.1.
>>
>> I get the latest plugin version 0.0.10 and created a sample maven2
>> project via the wizard.
>>
>> I could add dependencies and see them grabbed to C:\Documents and
>> Settings\henri\.m2\repository.
>>
>> When I try to make a build (or clean) maven 2 command I got the
>> following error :
>>
>> [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
>> and Settings\henri\.m2\plugin-registry.xml'
>> [DEBUG] Building Maven user-level plugin registry from: 'C:\Documents
>> and Settings\henri\.m2\plugin-registry.xml'
>> [INFO] Scanning for projects...
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [INFO] Building aven Test Project
>> [INFO]    task-segment: [clean]
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [DEBUG] maven-clean-plugin: using locally installed snapshot
>> [DEBUG] Artifact not found - using stub model: Unable to determine the
>> latest version
>>
>>  org.apache.maven.plugins:maven-clean-plugin:pom:LATEST
>>
>>
>> [DEBUG] Using defaults for missing POM
>> org.apache.maven.plugins:maven-clean-plugin:pom:LATEST
>> [DEBUG] maven-clean-plugin: using locally installed snapshot
>> [DEBUG] Artifact not found - using stub model: Unable to determine the
>> release version
>>
>>  org.apache.maven.plugins:maven-clean-plugin:pom:RELEASE
>>
>>
>> [DEBUG] Using defaults for missing POM
>> org.apache.maven.plugins:maven-clean-plugin:pom:RELEASE
>> [ERROR] project-execute : com.test.ymaven2:ymaven2:jar:1.0.0 (
>> task-segment: [clean] )
>> Diagnosis: The plugin 'org.apache.maven.plugins:maven-clean-plugin'
>> does not exist or no valid version could be found
>> FATAL ERROR: Error executing Maven for a project
>> [ERROR] reactor-execute : C:\eclipse32\workspace\ymaven2
>> Diagnosis: The plugin 'org.apache.maven.plugins:maven-clean-plugin'
>> does not exist or no valid version could be found
>> FATAL ERROR: Error executing Maven for a project
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] BUILD ERROR
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does
>> not exist or no valid version could be found
>> [INFO]
>> ------------------------------------------------------------------------ >> [DEBUG] Trace The plugin 'org.apache.maven.plugins:maven-clean-plugin'
>> does not exist or no valid version could be found
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: < 1 second
>> [INFO] Finished at: Tue Feb 06 16:08:53 CET 2007
>> [INFO] Final Memory: 1M/2M
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Error for project: Maven Test Project (during clean)
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] The plugin 'org.apache.maven.plugins:maven-clean-plugin' does
>> not exist or no valid version could be found
>> [INFO]
>> ------------------------------------------------------------------------ >> [DEBUG] Trace The plugin 'org.apache.maven.plugins:maven-clean-plugin'
>> does not exist or no valid version could be found
>> [INFO]
>> ------------------------------------------------------------------------
>> [ERROR] reactor-execute : C:\eclipse32\workspace\ymaven2
>> FATAL ERROR: Error executing Maven for a project
>> [INFO] BUILD ERRORS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: < 1 second
>> [INFO] Finished at: Tue Feb 06 16:08:53 CET 2007
>> [INFO] Final Memory: 1M/2M
>> [INFO]
>> ------------------------------------------------------------------------
>>
>>
>> What's the problem ?
>>
>> Should I have also maven 2 installed ?
>>
>> Regards and thanks for you help.
>>


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email



---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to