Hi,
I think your groupId is wrong.
>From my surefire pom, here is the groupId:
...
  <groupId>org.apache.maven.surefire</groupId>
  <artifactId>surefire</artifactId>
  <packaging>pom</packaging>
...
You have an extra 'plugins' there.

Rather than trying downloading as a dependency, see if you can get it into
your local repo usign mvn install:install-file goal with this groupId.
HTH
Pankaj



Ramesh Babu Pokala - TLS, Chennai wrote:
> 
> Hi,
> 
> 
> The following is my POM.xml content
> 
> <project xmlns="http://maven.apache.org/POM/4.0.0";
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
> http://maven.apache.org/xsd/settings-1.0.0.xsd";>
>   
> <modelVersion>4.0.0</modelVersion> 
> <groupId>main.java</groupId> 
> <artifactId>SampleProject1</artifactId> 
> <packaging>jar</packaging> 
> <name>Simple Demo</name> 
> <version>1.0-SNAPSHOT</version> 
> <description>CIA Tool RCP Simple Demo</description> 
> 
> <dependencies>
> 
>       <!--dependency>
> 
>       <groupId>org.apache.maven.plugins</groupId>
>       <artifactId>maven-surefire-plugin</artifactId>
>       <version>2.3</version>
>       </dependency-->
> 
> 
>     <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>ui.workbench</artifactId>
>       <version>3.2.0.I20060605-1400</version>
>      </dependency>
> 
>      <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>core.commands</artifactId>
>       <version>3.2.0.I20060605-1400</version>
>       </dependency>
> 
>      <dependency>
> 
>       <groupId>org.eclipse</groupId>
>       <artifactId>swt</artifactId>
>       <version>3.2.0.v3232o</version>
>       </dependency>
> 
>      <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>ui</artifactId>
>       <version>3.2.0.I20060605-1400</version>
>       </dependency>
> 
>      <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>core.contenttype</artifactId>
>       <version>3.2.0.v20060603</version>
>       </dependency>
> 
>      <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>swt.win32.win32</artifactId>
>       <version>x86_3.2.0.v3232m</version>
>       </dependency>
> 
>      <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>osgi</artifactId>
>       <version>3.2.0.v20060601</version>
>       </dependency>
> 
>      <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>jface</artifactId>
>       <version>3.2.0.I20060605-1400</version>
>       </dependency>
> 
>      <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>equinox.registry</artifactId>
>       <version>3.2.0.v20060601</version>
>       </dependency>
> 
>      <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>core.jobs</artifactId>
>       <version>3.2.0.v20060603</version>
>       </dependency>
> 
>      <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>equinox.common</artifactId>
>       <version>3.2.0.v20060603</version>
>       </dependency>
> 
>      <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>equinox.preferences</artifactId>
>       <version>3.2.0.v20060601</version>
>       </dependency>
> 
>       <dependency>
>       <groupId>org.eclipse</groupId>
>       <artifactId>core.runtime</artifactId>
>       <version>3.2.0.v20060603</version>
>      
>     </dependency>
> 
>   </dependencies>
> 
> 
> <build> 
> <plugins> 
> <plugin> 
> <groupId>org.codehaus.mojo</groupId> 
> <artifactId>pde-maven-plugin</artifactId> 
> <extensions>true</extensions> 
> <configuration> 
> <eclipseInstall>D:\eclipse</eclipseInstall> 
> </configuration> 
> </plugin> 
> </plugins> 
> </build> 
> 
> </project>
> 
> 
>  
> 
> 
> Thanks & Regards 
> Ramesh Babu.P 
>   
> HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 1232
> * [EMAIL PROTECTED] 
>  
> 
> -----Original Message-----
> From: Pankaj Tandon [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, April 18, 2007 8:00 PM
> To: [email protected]
> Subject: Re: maven-surefire-plugin problem
> 
> 
> Hi,
> It may help if you posted the pom.xml of your project.
> Also I noticed that you have a project in your home folder.. not a big
> deal and it should not break anything but it's just a bit strange :).
> The repository is a peer to your project. Typically you will want to use
> the 'install' goal to get your project into the repository.
> 
> Pankaj
> 
> 
> Ramesh Babu Pokala - TLS, Chennai wrote:
>> 
>> 
>> Hi,
>>  
>>   I have installed maven-surefire-plugin version 2.3 in maven's local 
>> repository.
>>  
>>   But still i am getting the following error/.
>>  
>>   Can anyone help me in this issue...?
>>  
>>  
>> C:\Documents and Settings\bpra\.m2\SampleProject1>mvn -e package
>> + Error stacktraces are turned on.
>> [INFO] Scanning for projects...
>> [INFO]
>> ----------------------------------------------------------------------
>> --
>> ----
>> [INFO] Building Simple Demo
>> [INFO]    task-segment: [package]
>> [INFO]
>> ----------------------------------------------------------------------
>> --
>> ----
>> [INFO]
>> ----------------------------------------------------------------------
>> --
>> [ERROR] BUILD ERROR
>> [INFO]
>> ----------------------------------------------------------------------
>> -- [INFO] The plugin 'org.apache.maven.plugins:maven-surefire-plugin' 
>> does not exist or no valid version could be found [INFO]
>> ----------------------------------------------------------------------
>> --
>> [INFO] Trace
>> org.apache.maven.lifecycle.LifecycleExecutionException: The plugin 
>> 'org.apache.maven.plugins:maven-surefire-plugin' does not exis t or no
> 
>> valid version could be found
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defau
>> lt
>> LifecycleExecutor.java:1286)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.getMojoDescriptor(
>> De
>> faultLifecycleExecutor.java:1522)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindLifecycleForPa
>> ck
>> aging(DefaultLifecycleExecutor.java:1016)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycle
>> Ma
>> ppings(DefaultLifecycleExecutor.java:980)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defaul
>> tL
>> ifecycleExecutor.java:458)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
>> le
>> Failures(DefaultLifecycleExecutor.java:311)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
>> s(
>> DefaultLifecycleExecutor.java:278)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLif
>> ec
>> ycleExecutor.java:143)
>>         at
>> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)
>>         at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>         at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j
>> av
>> a:39)
>>         at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
>> or
>> Impl.java:25)
>>         at java.lang.reflect.Method.invoke(Method.java:597)
>>         at
>> org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>>         at
>> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>>         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
>> Caused by:
>> org.apache.maven.plugin.version.PluginVersionNotFoundException: The 
>> plugin 'org.apache.maven.plugins:maven-surefire-pl
>> ugin' does not exist or no valid version could be found
>>         at
>> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlu
>> gi
>> nVersion(DefaultPluginVersionManager.java:228)
>>  
>>         at
>> org.apache.maven.plugin.version.DefaultPluginVersionManager.resolvePlu
>> gi
>> nVersion(DefaultPluginVersionManager.java:90)
>>         at
>> org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPlugi
>> nM
>> anager.java:166)
>>         at
>> org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(Defau
>> lt
>> LifecycleExecutor.java:1257)
>>         ... 18 more
>> [INFO]
>> ----------------------------------------------------------------------
>> --
>> [INFO] Total time: < 1 second
>> [INFO] Finished at: Wed Apr 18 19:15:03 IST 2007 [INFO] Final Memory: 
>> 2M/4M [INFO]
>> ----------------------------------------------------------------------
>> --
>>  
>> C:\Documents and Settings\bpra\.m2\SampleProject1>
>> 
>> Thanks & Regards
>> Ramesh Babu.P
>>   
>> HCL Technologies - Chennai ( +91-9884506300 ' +9144-23728366 Extn: 
>> 1232
>> * [EMAIL PROTECTED] <mailto::[EMAIL PROTECTED]>
>> 
>>  
>> 
>>  
>> 
>> 
>> DISCLAIMER:
>> ----------------------------------------------------------------------
>> -------------------------------------------------
>> 
>> The contents of this e-mail and any attachment(s) are confidential and
> 
>> intended for the named recipient(s) only.
>> It shall not attach any liability on the originator or HCL or its 
>> affiliates. Any views or opinions presented in this email are solely 
>> those of the author and may not necessarily reflect the opinions of 
>> HCL or its affiliates.
>> Any form of reproduction, dissemination, copying, disclosure, 
>> modification, distribution and / or publication of this message 
>> without the prior written consent of the author of this e-mail is 
>> strictly prohibited. If you have received this email in error please 
>> delete it and notify the sender immediately. Before opening any mail 
>> and attachments please check them for viruses and defect.
>> 
>> ----------------------------------------------------------------------
>> -------------------------------------------------
>> 
> 
> --
> View this message in context:
> http://www.nabble.com/maven-surefire-plugin-problem-tf3601119s177.html#a
> 10059405
> Sent from the Maven - Users mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/maven-surefire-plugin-problem-tf3601119s177.html#a10062221
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to