Another way I thought of is to have a standard property that is used in the 
compiler plugin config and the Android Maven Plugin just reads it as well in 
the mojo. If its defined as a user property I think we wont even have to write 
any code to read it.

Would that work? 

Manfred



Manfred Moser wrote on 2016-09-30 09:08:

> Hi,
> 
> We have some ongoing work on the Android Maven Plugin that will introduce a 
> new
> compiler (https://source.android.com/source/jack.html).
> The compiler is set in the compilerId of the Maven Compiler Plugin. 
> 
> Now we would like the Android Maven Plugin to automatically know if this is 
> set
> and hence use its related mojo as well. Is there a standard way to access the
> compilerId configuration of the current project? 
> 
> Or do we basically have to write the code to create the effective pom, access
> the compiler plugin config and check for the compilerId being set to "jack" or
> whatever. 
> 
> Any hints appreciated..
> 
> Manfred
> 
> References:
> 
> https://github.com/simpligility/android-maven-plugin/issues/536
> https://issues.jboss.org/browse/FH-2743
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to