I found a workaround for this.
After commenting out the tomcat-maven-plugin
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>tomcat-maven-plugin</artifactId>
<configuration>
<!-- Key used for configuring access to server in
settings.xml-->
<server>tomcat</server>
<!-- context for the webapp, as finalName is not being
honored -->
<path>/photark</path>
</configuration>
</plugin>
Its building fine.
On Sun, Sep 19, 2010 at 6:43 PM, Avdhesh Yadav <[email protected]> wrote:
> Hi,
>
>
> I am running into Build Failure of trunk ..Can anyone confirm this
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building Apache PhotArk Web Application
> [INFO] task-segment: [clean, install]
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.codehaus.mojo:tomcat-maven-plugin
>
> Reason: Error getting POM for 'org.codehaus.mojo:tomcat-maven-plugin' from
> the repository: Unable to read local copy of metadata: Cannot read metadata
> from
> '/root/.m2/repository/org/codehaus/mojo/tomcat-maven-plugin/maven-metadata-codehaus-snapshot.xml':
> end tag name </body> must match start tag name <hr> from line 7 (position:
> TEXT seen ...</address>\n</body>... @9:8)
> org.codehaus.mojo:tomcat-maven-plugin:pom:LATEST
>
>
> for project org.codehaus.mojo:tomcat-maven-plugin
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 21 seconds
> [INFO] Finished at: Sun Sep 19 18:42:32 IST 2010
> [INFO] Final Memory: 60M/144M
>
> --
> Avdhesh Yadav
> http://www.avdheshyadav.com
> http://twitter.com/yadavavdhesh
>