You are viewing a plain text version of this content. The canonical link for it is here.
Posted to photark-dev@incubator.apache.org by Avdhesh Yadav <av...@avdheshyadav.com> on 2010/09/19 13:13:33 UTC

Build Failure

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

Re: Build Failure

Posted by Luciano Resende <lu...@gmail.com>.
On Sun, Sep 19, 2010 at 6:26 AM, Avdhesh Yadav <av...@avdheshyadav.com> wrote:
> 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.
>
>

Don't need to comment it out, just set a version so it does not get a
SNAPSHOT version of the plugin.
I have just committed a fix for this issue.



-- 
Luciano Resende
http://people.apache.org/~lresende
http://twitter.com/lresende1975
http://lresende.blogspot.com/

Re: Build Failure

Posted by Avdhesh Yadav <av...@avdheshyadav.com>.
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 <av...@avdheshyadav.com> 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
>