You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Michele Mostarda (Commented) (JIRA)" <ji...@apache.org> on 2012/01/15 11:16:39 UTC

[jira] [Commented] (ANY23-34) Plugin Integration Test Fails

    [ https://issues.apache.org/jira/browse/ANY23-34?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13186466#comment-13186466 ] 

Michele Mostarda commented on ANY23-34:
---------------------------------------

The mvn assembly:assembly goal works fine from the current plugin dir: 
{code}
trunk/plugins/html-scraper$ mvn clean assembly:assembly 
{code}
works fine, but when called by the integration test it fails because the ${basedir} is different, it declares 
{code}
  <files>
    <file>
      <source>${basedir}/../../LICENSE.txt</source>
      <filtered>true</filtered>
      <outputDirectory>/</outputDirectory>
      <fileMode>666</fileMode>
    </file>
   [omitted]
  </files>
{code}

But it would be:

{code}
  <files>
    <file>
      <source>${basedir}/../../../../LICENSE.txt</source>
      <filtered>true</filtered>
      <outputDirectory>/</outputDirectory>
      <fileMode>666</fileMode>
    </file>
   [omitted]
  </files>
{code}

                
> Plugin Integration Test Fails
> -----------------------------
>
>                 Key: ANY23-34
>                 URL: https://issues.apache.org/jira/browse/ANY23-34
>             Project: Apache Any23
>          Issue Type: Bug
>            Reporter: Michele Mostarda
>            Assignee: Michele Mostarda
>
> If performing mvn clean install the Plugin Integration Test module fails with the following message:
> {code}
> [INFO] --- maven-invoker-plugin:1.5:run (default) @ any23-integration-test ---
> [INFO] Building: basic-crawler/pom.xml
> [INFO] ..FAILED (36.2 s)
> [INFO]   The build exited with code 1. See /home/hudson/hudson-slave/workspace/Any23-trunk/plugins/integration-test/target/plugins-build/basic-crawler/build.log for details.
> [INFO] Building: office-scraper/pom.xml
> [INFO] ..FAILED (8.7 s)
> [INFO]   The build exited with code 1. See /home/hudson/hudson-slave/workspace/Any23-trunk/plugins/integration-test/target/plugins-build/office-scraper/build.log for details.
> [INFO] Building: html-scraper/pom.xml
> [INFO] ..FAILED (7.5 s)
> [INFO]   The build exited with code 1. See /home/hudson/hudson-slave/workspace/Any23-trunk/plugins/integration-test/target/plugins-build/html-scraper/build.log for details.
> {code}
> The content of  /home/hudson/hudson-slave/workspace/Any23-trunk/plugins/integration-test/target/plugins-build/*/build.log files report the following error:
> {code}
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 11.195s
> [INFO] Finished at: Sun Jan 15 10:53:22 CET 2012
> [INFO] Final Memory: 23M/81M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.2.2:single (assembly) on project any23-office-scraper: Failed to create assembly: Error filtering file '<PATH/TO/TRUNK>/plugins/integration-test/target/plugins-build/office-scraper/./../../LICENSE.txt': <PATH/TO/TRUNK>/plugins/integration-test/target/plugins-build/office-scraper/./../../LICENSE.txt (No such file or directory) -> [Help 1]
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira