I am trying to simplify Maven to use one POM to do both a 64 bit build and a 32 bit build. I have tried to separate the build into two separate executions however I am required to set the compilerExecutable tag specified by the maven-native-plugin to point to either the 32 bit cl.exe or the 64 bit cl.exe.

Has anyone every done this before or know of a way to build two architectures in one project?

I have solved this using modules with a super POM. If anyone ever runs into this problem replies will be forwarded to my mailbox.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.