I have a case when I develop a simple stand-alone application built from 3 cans (A, B, C) built by maven. each of these cans is a separate module in the intellectual idea.
jar A is dependent on cans B and C. jar A launches a container for welding and loads beans from itself and from other cans.
Now this works great when all banks are built and running with maven / cmd. but if I run it from intellij, the weld command will not be able to find the beans from another module, even if the beans.xml are correctly placed in META-INF and META-INF is copied to the target directory.
the problem arises because IDEA sets the target / classes (for each managed module) on the class path when the application starts, and not on the built-in jars (therefore, any source updates immediately appear after the project is created).
Is there any work to develop with this configuration in IDEA ??? I use IDEA 12, but I donβt think it matters.
I know that assembling artifacts for a military archive is sometimes difficult, and I had to exclude modules and force inetllij to load banks in the archive. but i can't do it here.
any help appreciated!
source
share