[ 
http://jira.codehaus.org/browse/MGWT-85?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=181625#action_181625
 ] 

nicolas de loof commented on MGWT-85:
-------------------------------------

If you have the gwt-maven-plugin open in eclipse as a project, this is a known 
limitation of m2celipse to NOT be able to run such plugins (as they are 
resolved as project reference by m2eclipse, and this breaks maven)

Simply closing the project will fix this.

If this is not your current layout please ask the m2eclipse user list ;)

> Maven cannot calculate your build plan (with Maven Integration for Eclipse)
> ---------------------------------------------------------------------------
>
>                 Key: MGWT-85
>                 URL: http://jira.codehaus.org/browse/MGWT-85
>             Project: Maven 2.x GWT Plugin
>          Issue Type: Bug
>    Affects Versions: 1.1
>         Environment: Windows XP / Maven 2.1.0 / Eclipse Ganymede 3.4.2 / 
> Eclipse plugin: Maven Integration for Eclipse / Maven 2 GWT Plugin 
> 1.1-SNAPSHOT
>            Reporter: Jerry Adriane Goncalves
>         Attachments: stock-watcher-all.rar
>
>
> Hi.
> When I not have the artifacts of M2 GWT Plugin (1.1-SNAPSHOT) in my local 
> repository and try clean and install (both goals at same time) using Maven 
> Integration for Eclipse I got the following error:
> Maven cannot calculate your build plan, given the following information:
> Tasks:
> - clean
> - install
> Error message: Failed to load plugin descriptor for: 
> org.codehaus.mojo:gwt-maven-plugin:1.1-SNAPSHOT:compile. Cannot discover it's 
> default phase, specified in its plugin descriptor.
> Root error message: Unable to download the artifact from any repository
> Using same project (pom.xml) executing Maven from command prompt (mvn clean 
> install) the artifacts are downloaded from remote repository and installed 
> into my local repository and build done successfully. After that then I get 
> success running it into Eclipse too.
> In my pom.xml I have configured
>   <!-- Repositories -->
>   <repositories>
>     <repository>
>       <id>mojo_snapshots</id>
>       <url>http://snapshots.repository.codehaus.org</url>
>       <snapshots>
>         <enabled/>
>       </snapshots>
>     </repository>
>   </repositories>
>   
>       <!-- include the GWT-Maven repo as plugin, and as standard -->
>       <pluginRepositories>
>               <pluginRepository>
>                       <id>mojo-plugins-snapshots</id>
>                       <url>http://snapshots.repository.codehaus.org</url>
>               </pluginRepository>
>               <pluginRepository>
>                       <id>gwt-maven</id>
>                       <url>
>                               
> http://gwt-maven.googlecode.com/svn/trunk/mavenrepo
>                       </url>
>               </pluginRepository>
>       </pluginRepositories>  
> and I´ve configured the plugin in build session:
>     <plugins>
>       <!-- GWT Maven Plugin -->
>       <plugin>
>         <groupId>org.codehaus.mojo</groupId>
>         <artifactId>gwt-maven-plugin</artifactId>
>         <version>${gwt.plugin.version}</version>
>         <executions>
>           <execution>
>             <goals>
>               <goal>compile</goal>
>               <!-- <goal>generateAsync</goal> -->
>               <!-- <goal>test</goal>  -->
>             </goals>
>           </execution>
>         </executions>
>       </plugin>
>       <!-- Maven Compiler Plugin -->
>       <plugin>
>         <artifactId>maven-compiler-plugin</artifactId>
>         <version>${maven.compiler.version}</version>
>         <configuration>
>           <source>${maven.compiler.source}</source>
>           <target>${maven.compiler.target}</target>
>         </configuration>
>       </plugin>
>     </plugins>
> More a detail: My GWT project is a module from a parent project.
> I have added a .rar file containing the entire project.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



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

    http://xircles.codehaus.org/manage_email


Reply via email to