Richard van Nieuwenhoven-2 wrote:
> 
> Hi,
> 
> i also had this problem, and yes Jason is right don't do it! You will 
> have all sorts of follow up problems (like some other plugins not 
> working). It will work for the normal stuff, but be sure to start your 
> plugin in the validate phase.
> 
> Now i use a custom repository layout / repository to enable me to add 
> maven dependencies to those jars (that works also with maven 3 and all 
> other plugins keep working ;-).  But you could also try Tycho.
> 
> http://docs.codehaus.org/display/M2ECLIPSE/Tycho+project+overview
> 
> I am thinking of creating a sourceforge project for the repository 
> layout, if there people willing to help (like adding your needed feature 
> of embedded jars).
> 
> regards,
> Richard van Nieuwenhoven
> 
Tycho being alpha certainly does not inspire confidence.

My main problem right now is that OSGi > Maven (in terms of complexity). I
know that Maven developers know this and are trying to solve it, but I have
a problem to solve too, and waiting for the indefinite future isn't really
an option.

The solution will probably be the other way around: run something before the
build to add the dependencies to the pom.xml. A more visible workaround, if
you may.

Regards,
Costin.
-- 
View this message in context: 
http://www.nabble.com/Programmatically-adding-dependencies-to-a-MavenProject-tp21173440p21681478.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