On 22/12/15 11:07, Joerg Schoenfisch wrote:
So, apparently there is some code in the method setGlobalReplacements()
in the schemagen class that should prevent this error. However, it does
not seem to work.
I tried to do some debugging, but when cloning the repository and
importing the Maven projects in Eclipse I get a lot of errors because of
references to the missing import org.apache.jena.ext
which is in jena-shaded-guava
Any hints on how to resolve that missing import? Should I report that
Windows problem as a bug?
What might be happening is that it can't find the snapshot build.
jena-shaded-guava does confuse Eclipse sometime. It is more stable to
build it outside Eclipse.
Either:
1/
Run "mvn install -Pdev" and it should build and install the modules locally.
Or:
2/
(avoids building it locally but needs maven setup magic):
Add the Apache snapshot repo to your maven settings.xml:
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Snapshot Repository</name>
<url>https://repository.apache.org/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
and do
mvn dependencies:resolve dependency:sources
Then you should be able to:
Import the project modules you want.
Do not import jena-shaded-guava
Andy