That works great! Thanks a lot. Now I'm running into the next
The output I get now is:
[ERROR] Failed to execute goal
on project org.eclipse.m2e.wtp: Compilation failure: Compilation failure:
[ERROR] import org.apache.maven.plugin.war.util.MappingUtils;
[ERROR] The import org.apache.maven.plugin.war cannot be resolved
[ERROR] return MappingUtils.evaluateFileNameMapping(pattern, artifact);
[ERROR] MappingUtils cannot be resolved
However I have added a "BuildRequires:
mvn(org.apache.maven.plugins:maven-war-plugin:pom:)" and the JAR from
this package (maven-war-plugin) does include this package & class.
The only thing I see is that the POM refers to version 2.2 but Fedora
has 2.4, but I understood that that would be fixed automatically (like
with the Tycho version differences). The class structure hasn't changed
either. I suspect I'm missing something silly. I've attached my spec
file. What could be going wrong?
It appears that MappingUtils has been removed in 2.5 (it was present in
2.4). See :
I haven't looked into it but you may need to find a document that either
explains how to migrate, or figure out what MappingUtils did and how the
functionality is provided in 2.5+ .