Hi all, I have the need to impose a specific ordering of compilation of some source code I have. I need to achieve the following: 1 - compile some Java 2 - translate SQLJ (dependent on above compilation) 3 - compile some further Java (dependent on translated SQLJ) To translate the SQLJ I have created my own plugin which is attached to the validate-sources phase of the build. All of my java code is not building until the compile phase, and thus the build is breaking because some of the code needs to have been built before the SQLJ translation. I am looking at building the initial java code in a separate module, then importing it and unpacking it as a dependency and then continuing with the build as previously designed, packing everything up in a single JAR at the end. The reason for the mail is that I would like to avoid creating another module if possible, and was wondering if anyone had found a way in which the compilation plugin could be attached to a different phase of the build (as opposed to compile). I am also open to other suggestions as to how I may solve my problem. Feedback would be greatly appreciated. Regards, Matt
The content of this e-mail is confidential and may be privileged. It may be read, copied and used only by the intended recipient and may not be disclosed, copied or distributed. If you received this email in error, please contact the sender immediately by return e-mail or by telephoning +44 20 7260 2000, delete it and do not disclose its contents to any person. You should take full responsibility for checking this email for viruses. Markit reserves the right to monitor all e-mail communications through its network. Markit and its affiliated companies make no warranty as to the accuracy or completeness of any information contained in this message and hereby exclude any liability of any kind for the information contained herein. Any opinions expressed in this message are those of the author and do not necessarily reflect the opinions of Markit. For full details about Markit, its offerings and legal terms and conditions, please see Markit's website at http://www.markit.com <http://www.markit.com/> .