Unable to use gwt-maven-plugin 1.3-SNAPSHOT
-------------------------------------------
Key: MNG-4817
URL: http://jira.codehaus.org/browse/MNG-4817
Project: Maven 2 & 3
Issue Type: Bug
Components: POM
Affects Versions: 3.0
Environment: Ubuntu 10.10
Reporter: Jacek Furmankiewicz
Tried to create a project using the gwt-maven plugin. After generating the
archetype using the current 1.2 version I attempted to update it to 1.3-SNAPSHOT
{code:xml}
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.3-SNAPSHOT</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
<goal>generateAsync</goal>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<runTarget>com.rp.portal.campaign.Application/Application.html</runTarget>
</configuration>
</plugin>
{code}
Added the repo for the plugin:
{code:xml}
<pluginRepositories>
<pluginRepository>
<id>Codehaus</id>
<name>Codehaus Maven Plugin Repository</name>
<url>http://repository.codehaus.org/org/codehaus/mojo</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
[code}
Got this repeatedly:
{code}
jac...@jacekf:~/src/tmp/portal-campaign$ mvn eclipse:eclipse
[INFO] Scanning for projects...
[WARNING] Failed to retrieve plugin descriptor for
org.codehaus.mojo:gwt-maven-plugin:1.3-SNAPSHOT: Failed to parse plugin
descriptor for org.codehaus.mojo:gwt-maven-plugin:1.3-SNAPSHOT
(/home/jacekf/.m2/repository/org/codehaus/mojo/gwt-maven-plugin/1.3-SNAPSHOT/gwt-maven-plugin-1.3-SNAPSHOT.jar):
error in opening zip file
[WARNING] Error reading plugin group metadata: end tag name </body> must match
start tag name <hr> from line 7 (position: TEXT seen ...</address>\n</body>...
@9:8)
Downloading:
http://repository.codehaus.org/org/codehaus/mojo/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml
Downloaded:
http://repository.codehaus.org/org/codehaus/mojo/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata.xml
(437 B at 1.6 KB/sec)
[WARNING] Failed to read metadata
/home/jacekf/.m2/repository/org/apache/maven/plugins/maven-eclipse-plugin/maven-metadata-Codehaus.xml:
end tag name </body> must match start tag name <hr> from line 7 (position:
TEXT seen ...</address>\n</body>... @9:8)
{code}
--
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