Andy Seaborne wrote:
>> svn co
>> http://svn.apache.org/repos/asf/incubator/jena/Jena2/Fuseki/trunk/ Fuseki
>> cd Fuseki/
>> mvn eclipse:eclipse
>
> Anything wrong with .classpath and .project?
I edited the pom.xml to remove/add a dependency (FreeMarker-->Velocity switch).
Then I run mvn eclipse:eclipse to update the .classpath file for Eclipse.
> m2e?
>
>> It is probably something related to:
>>
>> <resources>
>> <!-- Order of resource elements matters -->
>> <resource>
>> <filtering>false</filtering>
>> <directory>src/main/resources</directory>
>> </resource>
>> <resource>
>> <filtering>true</filtering>
>> <directory>src/main/resources</directory>
>> <includes>
>> <include>org/apache/jena/fuseki/fuseki-properties.xml</include>
>> </includes>
>> </resource>
>> </resources>
>
> It's written like that so the files under META-INF do not get processed.
>
> Otherwise I get (started after adding src/main/resources/META-INF/ to
> get proper LICENSE, NOTICE and DEPENDENCIES files)
>
> maven2:
> [INFO] [remote-resources:process {execution: default}]
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error rendering velocity resource.
>
> maven3;
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-remote-resources-plugin:1.2.1:process
> (default) on project jena-fuseki: Error rendering velocity resource.
> NullPointerException -> [Help 1]
Ok, you see my issue/problem.
How do you update .classpath file when a dependency in the pom.xml file
changes?
Paolo
>
>
>
>>
>> ... having two<resource>s pointing to the same<directory> somehow is
>> confusing my Maven and/or is there a bug in
>> maven-remote-resources-plugin!?
>> Is this causing problems to someone else?
>>
>> This seems to fix the problem I am experiencing:
>
> ....