Details

Description

Hi, in the CXF JAX-RS (REST) plugin, if I switch from the Codehaus Tomcat plugin to the Tomcat6 plugin (not Tomcat7 because this 2.6.x branch of CXF needs to be Java 5 compatible) and run "mvn clean install" on a project generated from the archetype it fails with a strange error of "Document base /media/work1/opensource/testrest/target/${project.build.finalName" not being available. Note there's no ending "}" in that error message; also my generated project make no reference to a project.build.finalName anywhere.

2.) Create a new project using this archetype. Run "mvn clean install" on the new project and you'll see the above error.

Note I see either of two potential errors occurring here:
1.) My archetype pom is incorrect as a result of switching to the new Apache plugin, there's something else I must now configure within the pom. (Please inform me if you know what.) If so, the error message given "${project.build.finalName does not exist or is not a readable directory" should be make more relevant and informative, if possible, about what I'm doing wrong

or

2.) There's just an internal bug within the Tomcat6 plugin that needs fixing for this error to go away.

Attachments

Issue Links

duplicates

MTOMCAT-175warDirectory property has wrong standard value in release version 2.0