Maven 2.x Eclipse Plugin

aspectj libraries do not get included anymore with 2.6

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Not A Bug
  • Affects Version/s: 2.6
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Environment:
    Eclipse 3.4.2
  • Number of attachments :
    1

Description

I included 2 aspectj libraries in a pom as per:
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjrt</artifactId>
<version>1.6.2</version>
</dependency>
<dependency>
<groupId>org.aspectj</groupId>
<artifactId>aspectjweaver</artifactId>
<version>1.6.2</version>
</dependency>
Since upgrading to the 2.6 version of t he plugin, these libraries are now missing from my classpath. I can reproduce this with a very simple pom attached. Change the version from 2.5.1 to 2.6 and check the .classpath.

Issue Links

Activity

Hide
Alexander Hachmann added a comment - - edited

This has been bugfixed by the linked bug MECLIPSE-200.

Show
Alexander Hachmann added a comment - - edited This has been bugfixed by the linked bug MECLIPSE-200.
Hide
Eric Berry added a comment - - edited

In the configuration of the eclipse plugin add <ajdtVersion>none</ajdtVersion>. This should fix the problem.

There is hidden documentation here http://maven.apache.org/plugins/maven-eclipse-plugin/examples/ajdt-projects.html that describes how to use the ajdt plugin.

Show
Eric Berry added a comment - - edited In the configuration of the eclipse plugin add <ajdtVersion>none</ajdtVersion>. This should fix the problem. There is hidden documentation here http://maven.apache.org/plugins/maven-eclipse-plugin/examples/ajdt-projects.html that describes how to use the ajdt plugin.
Hide
Alan Stewart added a comment -

Your suggestion works OK. Thanks for the information - appreciated

Show
Alan Stewart added a comment - Your suggestion works OK. Thanks for the information - appreciated

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: