0 Replies Latest reply on Apr 12, 2014 12:33 PM by marcusdidiusfalco

    Developer Studio does not regognize all Maven Dependencies

    marcusdidiusfalco

      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?