Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Running a custom plugin before BuildQualifierMojo

I need to update a pom so that a goal from a custom plugin is run before BuildQualifierMojo. This new goal will determine the proper version qualifier, and then update build.properties setting “forceContextQualifier” so that BuildQualifierMojo will assign the specified qualifier.

 

My problem is that since BuildQualifierMojo is assigned to the validate phase, I have not been able to find any way to insert a goal in the processing stream before it. Validate is the first phase, and as I read the documentation, goals assigned in the packaging run before those configured in the pom. The techniques that I have seen for adding a parallel lifecycle do not help, since the parallel lifecycle needs to have a defining goal inserted in the lifecycle.

 

Is it possible to define a custom goal that will be run before the packaging specific goals in the “validate” phase?

 

Thanks in advance

Rich

 

Confidentiality Notice: This electronic message transmission, including any attachment(s), may contain confidential, proprietary, or privileged information from Chemical Abstracts Service (“CAS”), a division of the American Chemical Society (“ACS”). If you have received this transmission in error, be advised that any disclosure, copying, distribution, or use of the contents of this information is strictly prohibited. Please destroy all copies of the message and contact the sender immediately by either replying to this message or calling 614-447-3600.


Back to the top