[
https://issues.apache.org/jira/browse/STANBOL-957?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13586932#comment-13586932
]
Rupert Westenthaler commented on STANBOL-957:
---------------------------------------------
Hi Oak
looks like that there are a lot more things are broken with Windows 8 ...
The error indicates that the data used by the unit test are not successfully
copied from 'src/test/resources/testConfigs' to 'target/test-files/testConfigs'
and therefore the
'target/test-files/testConfigs/{test-name}/indexing/resources/rdfdata' folder
should be empty on your machine. If this is the case than I would the test fail
with exactly the message as in the attached surefire-report.
I had already a look at the source and I found some potential problems with the
initialization of the default configuration on Windows (related with the use of
'\' when loading resources from JAR files). However I do not think that this is
the cause for your problem as the failing tests do provide their own
configuration and do not need this feature.
With revision 1450067 I committed those changes and I also improved logging for
the unit tests. So please svn up and than go to
'{trunk}/entityhub/indexing/source/jenatdb' and run
mvn clean install
If the test still fails please attach the command line loggings to this issue
(on linux I would use 'mvn clean install > jenatdb-build.log' to generate this
file).
thx for all your help
best
Rupert
> 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
> Attachments:
> org.apache.stanbol.entityhub.indexing.source.jenatdb.RdfIndexingSourceTest.txt
>
>
> 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