hi,
I am using Intellij 12 but I guess it is general problem. My project is made of few smaller maven projects, where each maven generates a jar. one of those jars (module A) is creating weld-se container and starts the application.
like this
\project
-\subprojectA
|-\moduleA
|-\src\main\resources\META-INF\beans.xml
|-\pom.xml
|-\moduleB
|-\src\main\resources\META-INF\beans.xml
|-\pom.xml
|-\pom.xml
-\subprojectC
|-\moduleC
|-\src\main\resources\META-INF\beans.xml
|-\pom.xml
module A depends on B and C. on the classpath idea adds moduleX/target/classes and weld-se gets crazy and fails to load beans from module B and C.
a workaround is to tell (project structure->modules->moduleA->dependencies) module A to depend on concrete moduleB.jar and moduleC.jar and everything works fine but I lose proper development experience.
is this Intellij problem or is this an issue with weld?
I hope my explanation makes sense and thanks for help!