Hi Anvar, as you can see in the output of dependency:tree your artifact is listed with scope "provided". So I think it's normal, it should be brought by your application server (at least that's what I can imagine, I haven't used an application server in Eclipse for a long time).
*- - - - -François Marot* On Sat, 15 Sep 2018 at 08:45, anvar cassam-chenaï <ecass...@hotmail.com> wrote: > Good Morning! > I try to import a simple maven project in Eclipse Photon 4.8.0 - JEE, > but I can not work with it because of the following error: > The transitive dependencies of the 'javax.enterprise:cdi-api:2.0' > artifact are not added to the classpath. > Besides if I have a look at the 'Dependency Hierarchy' view of the pom > editor, they do not appear either. > > But If use the 'mvn dependency:tree' command, everything works perfectly: > ... > [INFO] > [INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ > mvn-dependency-pb --- > [INFO] test.bug:mvn-dependency-pb:war:1.0 > [INFO] +- javax.faces:javax.faces-api:jar:2.3-pfd:provided > [INFO] \- javax.enterprise:cdi-api:jar:2.0:provided > [INFO] +- javax.el:javax.el-api:jar:3.0.0:provided > [INFO] +- javax.interceptor:javax.interceptor-api:jar:1.2:provided > [INFO] \- javax.inject:javax.inject:jar:1:provided > > Concerning my configuration, I use maven v3.3.9 and the JDK8 on a > Windows 10 PC. > Thank you in advance for any answer. > > _______________________________________________ > m2e-users mailing list > m2e-users@eclipse.org > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________ m2e-users mailing list m2e-users@eclipse.org To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users