Hi,

I would like to know how to add a dependency (such as a jar) into the
project's list of compile time dependencies programmatically within a Mojo.

I require to do this programmatically because the user set a dependency of
type "aar"(1) which itself contains a jar.
This jar needs to be known by the compile phase (in order to succeed)
Note: the compile phase knows about the aar dependency.




(1) Aar format:
http://tools.android.com/tech-docs/new-build-system/aar-format

Other conversations:
About AAR & the included JAR:
https://groups.google.com/forum/#!topic/maven-android-developers/bPK3EnbKH2M

Programmatically adding dependencies to a MavenProject: (this conversation
led to a hacky solution)
http://maven.40175.n5.nabble.com/Programmatically-adding-dependencies-to-a-MavenProject-td215077i20.html#a5773302



--
View this message in context: 
http://maven.40175.n5.nabble.com/How-to-add-a-dependency-programmatically-for-the-compile-phase-tp5778827.html
Sent from the Maven Developers mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to