[jbdevstudio-users] Developer Studio does not regognize all Maven Dependencies

Hans-Michael Rupp jbdevstudio-users at lists.jboss.org
Sat Apr 12 12:33:52 EDT 2014


Hello,

Developer Studio 7.1.1 GA under Windows 7
I have setup a project using jboss-javaee6-webapp archetype
as described in Schießer, Schmollinger: Workshop Java EE 7
One of the programming problems in the book involves sending Java Mail.
Looking at the effective POM in the IDE I see 
<dependency>
        <groupId>javax.mail</groupId>
        <artifactId>mail</artifactId>
        <version>1.4.4</version>
      </dependency>
(although Java Mail is not part of the JEE web profile ?)
So I tried to use classes form javax.mail, but these classes are not included by the IDE in the classpath.
When I manually add the imports and run mvn clean package the project is build from the console, although the IDE still shows errors.
I have tried cleaning the project and mvn eclipse:eclipse.

What's wrong?

Posted by forums
Original post: https://community.jboss.org/message/868255#868255



More information about the jbdevstudio-users mailing list