The following comment has been added to this issue:

     Author: Andreas Guther
    Created: Sun, 24 Oct 2004 1:05 PM
       Body:
I am missing the additional aspectSourceDirectory generated classpath entry as well.

It seems that the classpath entry could be manually configured via the 
maven.eclipse.classpath.include property.  However, it would be nice to have that 
generated automatically once the aspectSourceDirectory entry is present and has a 
value without the need to add it to the properties.  

>From reading the issue history I have the impression that the problem cannot be 
>reproduced.  This should be easy by just following the steps described at 
>http://maven.apache.org/reference/plugins/aspectj/.

The following entry needs to be added to the project.xml:

<build>
        <sourceDirectory>src/java</sourceDirectory>
        <aspectSourceDirectory>src/aspectj</aspectSourceDirectory>
    </build>

This should result in an additional entry in the .classpath file.

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPECLIPSE-2?page=comments#action_25752

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPECLIPSE-2

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPECLIPSE-2
    Summary: maven-eclipse-plugin does not generate all artifacts one could expect
       Type: Improvement

     Status: Closed
   Priority: Minor
 Resolution: CANNOT REPRODUCE

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-eclipse-plugin
   Fix Fors:
             1.8

   Assignee: 
   Reporter: gilles dodinet

    Created: Mon, 30 Jun 2003 1:43 AM
    Updated: Sun, 24 Oct 2004 1:05 PM

Description:
eclipse plugin doesnot generate all expected artifacts. for instance :
    * if build/aspectSourceDirectory is present in the pom, a source folder 
corresponding to this source directory should be added to the project AND aspectj 
nature should be attached to the eclipse project (assuming aspectj plugin has been 
installed)
    * if build/resource(s) are declared in the pom, a source folder should be created 
in the eclipse project for every unique resource folder. same goes for 
unitTest/resources (and perhaps integrationUnitTest ? never used it so im not sure of 
whats declared in the pom)


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to