maven 2 - Eclipse org.eclipse.wst.common.component file re-written during 'mvn clean' -
I have manually configured my org.eclipse.wst.common in my project's Alleppe WTP target directory (hence my Deployment involves the result of JSP pre-compilation).
But now every time I run in the "MVN Clean" build (Command line or M2 Eclipse, the file changes to the previous state. Anybody know why this is happening? < / P>
thanks
OK, got my settings / org.eclipse.wst. Common looked like this:
& Lt; wb-resource deploy-path = "/" source-path = "/ target / dss-sample-webapp" /> & lt; / wb-module & gt;
< P> Every time I deleted the E target / dss-sample-webapp directory (such as 'with MVN Clean' build), the related line in the file has disappeared automatically:
< Pre> & lt; wb-resource deploy-path = "/" source-path = "/ target / dss-sample-webapp" /> Removing the leading '/' problem I can remove the target directory for my heart's content, and the settings / org.eclipse.wst.commoncomponent file will be unaffected. So, the fully functioning settings / org.eclipse.wst.common .component is as follows:
& lt ;? XML version = "1.0" encoding = "UTF-8"? & Gt; & Lt ;! - That's right - & gt; & Lt; Project-module id = "moduleCoreId" project-version = "1.5.0" & gt; & Lt; Wb-module employed -name = "dss-sample-webapp" & gt; & Lt; Property Name = "Reference-Root" Value = "dss-sample-webapp" /> & Lt; Wb-resource deploy-path = "/" source-path = "target / dss-sample-webapp" / & gt; & Lt; / West Bengal module & gt;
Comments
Post a Comment