You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by "Oak Ninja (JIRA)" <ji...@apache.org> on 2013/02/25 00:44:13 UTC

[jira] [Reopened] (STANBOL-957) Cannot build Stanbol (Trunk) on Windows 8 / Maven 3.0.4

     [ https://issues.apache.org/jira/browse/STANBOL-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oak Ninja reopened STANBOL-957:
-------------------------------


Got a new build error:

[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 18:57.347s
[INFO] Finished at: Mon Feb 25 00:11:21 CET 2013
[INFO] Final Memory: 356M/718M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
11:test (default-test) on project org.apache.stanbol.enhancer.engine.topic: Ther
e are test failures.
[ERROR]
[ERROR] Please refer to C:\Dev\Project\Stanbol\enhancement-engines\topic\engine\
target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :org.apache.stanbol.enhancer.engine.topic
C:\Dev\Project\Stanbol>
                
> Cannot build Stanbol (Trunk) on Windows 8 / Maven 3.0.4
> -------------------------------------------------------
>
>                 Key: STANBOL-957
>                 URL: https://issues.apache.org/jira/browse/STANBOL-957
>             Project: Stanbol
>          Issue Type: Bug
>          Components: Build
>         Environment: Windows 8, Maven 3.0.4, 
>            Reporter: Oak Ninja
>            Priority: Blocker
>
> Hi!
> Following the Getting Started guide at http://stanbol.apache.org/docs/trunk/tutorial.html, my build fails with the following error:
> C:\lib\stanbol>mvn clean install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project org.apache.stanbol:apache-stanbol-enhancement-engines:0.10
> .1-SNAPSHOT (C:\lib\stanbol\enhancement-engines\pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact org.apache.stanbo
> l:stanbol-parent:pom:4-SNAPSHOT and 'parent.relativePath' points at wrong local
> POM @ line 21, column 11 -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
> ch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please rea
> d the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildin
> gException
> [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableMo
> delException
> C:\lib\stanbol>
> So i tried resolving it by changing the relative path in the affected pom from 
>   <parent>
>     <groupId>org.apache.stanbol</groupId>
>     <artifactId>stanbol-parent</artifactId>
>     <version>4-SNAPSHOT</version>
>   </parent>
> to
>   <parent>
>     <groupId>org.apache.stanbol</groupId>
>     <artifactId>stanbol-parent</artifactId>
>     <version>4-SNAPSHOT</version>
> 	<relativePath>../parent/pom.xml</relativePath>
>   </parent>
> and that resolved the specific error, but the next build attempt were followed by the same error in the following pom and i'm thinking i'm missing something trivial here - all the project's paths cannot be erronous, right?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira