Friday, 15 August 2014

Maven: how to pass profile argument down to submodules in POM -



Maven: how to pass profile argument down to submodules in POM -

i inherited code base of operations colleague , looking @ optimising things.

1) 1 of issues generates codes using wsdl fine on itself. not has dev, test , prod folder contain actual module wsdl files differing. first thing popped in mind create 1 module , add together 3 profiles contains configuration cxf-codegen-plugin plugin.

2) brings additional issue fix, first build submodule installed .m2 repository, , builds rest using root pom (which not define wsdl module module not build). prepare it, when clean install on root pom actual classes generated again. not quite how accomplish , couldn't find way accomplish this.

3) or resolve issue 1, , skip 2?

maven

No comments:

Post a Comment