Maven dependency on a file not artifact -


Disclaimer: New and Maven documents for Maven skimmed

How to see files from Maven Configure for what happens in a step?

I am using the CFF-Codenamed-plugin to generate sources. This is working correctly when I remove .java files and execute mvn clean generate-sources . However, when I update the WSDL / Schema that is used to generate the cxf code, the formulas are not rebuilt. I do not want to remember to delete java files

Thank you for taking the time to consider my question.

The following are the points related to my pom.

  & lt; Plugin & gt; & Lt; Plugin & gt; & Lt; Group & gt; Org.apache.cxf & lt; / Group & gt; & Lt; ArtifactId & gt; CXF-codegen-plugin & lt; / ArtifactId> & Lt; Version & gt; $ {Cxf.version} & lt; / Edition & gt; & Lt; Hanging & gt; & Lt; Execution & gt; & Lt; ID & gt; CXF-Java & lt; / Id & gt; & Lt; Step & gt; Collection & lt; / Step & gt; & Lt; Configuration & gt; & Lt; SourceRoot & gt; $ {Basedir} / src / main / CXF-generated & lt; / SourceRoot & gt; & Lt; WsdlOptions & gt; & Lt; WsdlOption & gt; & Lt; Wsdl & gt; $ {Basedir} /src/main/resources/wsdl/DCMotor.wsdl</wsdl> & Lt; / WsdlOption & gt; & Lt; / WsdlOptions & gt; & Lt; VmArgs & gt; & Lt; VmArg & gt; -Djavax.xml.accessExternalSchema = All & lt; / VmArg & gt; & Lt; / VmArgs & gt; & Lt; / Configuration & gt; & Lt; Goals & gt; & Lt; Goal & gt; Wsdl2java & lt; / Target & gt; & Lt; / Targets & gt; & Lt; / Execution & gt; & Lt; / Hanging & gt; & Lt; Dependency & gt; & Lt; Dependency & gt; & Lt; Group & gt; Xerces & lt; / Group & gt; & Lt; ArtifactId & gt; XercesImpl & lt; / ArtifactId> & Lt; Version & gt; 2.9.1 & lt; / Edition & gt; & Lt; / Dependencies & gt; & Lt; / Dependencies & gt; & Lt; / Plugin & gt; & Lt; / Plugins & gt;  


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -